You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: query-languages/dax/info-functions-dax.md
+32-7Lines changed: 32 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,35 @@
1
1
---
2
2
title: "INFO functions (DAX)"
3
-
description: "Learn more about: INFO functions"
3
+
description: "Learn more about: INFO DAX functions"
4
+
author: DataZoeMS
5
+
ms.author: zoedouglas
6
+
ms.date: 03/13/2025
7
+
ms.topic: overview
8
+
ms.service: powerbi
9
+
ms.subservice: dax
4
10
---
5
11
# INFO functions
6
12
7
-
Data Analysis Expressions (DAX) includes a set of INFO functions based on the library of [Dynamic Management Views (DMVs) in Analysis Services](/analysis-services/instances/use-dynamic-management-views-dmvs-to-monitor-analysis-services), which have been modified to work as DAX functions. INFO DAX functions output as a table data type. As tables they can be used with other DAX functions such as FiLTER, SELECTCOLUMNS, ADDCOLUMNS, and others. This section describes INFO functions available in the DAX language.
13
+
Data Analysis Expressions (DAX) includes a set of INFO functions based on the library of [Dynamic Management Views (DMVs) in Analysis Services](/analysis-services/instances/use-dynamic-management-views-dmvs-to-monitor-analysis-services), which have been modified to work as DAX functions. INFO DAX functions output as a table data type. As tables they can be used with other DAX functions such as FILTER, SELECTCOLUMNS, ADDCOLUMNS, and others. This section describes INFO functions available in the DAX language.
8
14
9
15
For Power BI semantic models, just like DMVs, the INFO DAX functions require semantic model admin permissions. Some also require workspace admin permissions.
10
16
11
-
As DAX functions these INFO DAX functions go beyond the capability of the DMVs, which use a SQL like syntax and return a row set. As these new functions are DAX functions, they can be used like any table in a DAX query – further combined and structured in the DAX query.
17
+
As DAX functions these INFO functions go beyond the capability of the DMVs, which use a SQL-like syntax and return a row set. As these new functions are DAX functions, they can be used like any table in a DAX query – further combined and structured in the DAX query.
18
+
19
+
```dax
20
+
EVALUATE
21
+
ADDCOLUMNS(
22
+
SELECTCOLUMNS(
23
+
INFO.VIEW.MEASURES(),
24
+
"Measure", [Name],
25
+
[Description],
26
+
"DAX Formula", [Expression],
27
+
"State", [State]
28
+
),
29
+
"Model name", "My semantic model",
30
+
"As of date", NOW()
31
+
)
32
+
```
12
33
13
34
INFO functions are supported on Power BI semantic models but not on SQL Server Analysis Services models, Azure Analysis Services models, or PowerPivot models.
14
35
@@ -24,7 +45,8 @@ INFO.VIEW.TABLES contains information about the tables in the model, such as the
24
45
EVALUATE INFO.VIEW.TABLES()
25
46
```
26
47
27
-
This is an example of using this DAX function in [DAX query view](/power-bi/transform-model/dax-query-view). This is using **Regional Sales Sample** available from **Learn** in the Power BI service.
48
+
The following screenshot is an example of using this DAX function in [DAX query view](/power-bi/transform-model/dax-query-view) with the **Regional Sales Sample** available from **Learn** in the Power BI service.
49
+
28
50
:::image type="content" source="media/info-functions-dax/info-view-tables-dax-query.png" alt-text="Screenshot showing the output of INFO.VIEW.TABLES() DAX function in DAX query view." lightbox="media/info-functions-dax/info-view-tables-dax-query.png":::
29
51
30
52
### INFO.VIEW.COLUMNS
@@ -35,7 +57,8 @@ INFO.VIEW.COLUMNS contains information about the columns in a model, such as the
35
57
EVALUATE INFO.VIEW.COLUMNS()
36
58
```
37
59
38
-
This is an example of using this DAX function in [DAX query view](/power-bi/transform-model/dax-query-view). This is using **Regional Sales Sample** available from **Learn** in the Power BI service.
60
+
The following screenshot is an example of using this DAX function in [DAX query view](/power-bi/transform-model/dax-query-view) with the **Regional Sales Sample** available from **Learn** in the Power BI service.
61
+
39
62
:::image type="content" source="media/info-functions-dax/info-view-columns-dax-query.png" alt-text="Screenshot showing the output of INFO.VIEW.COLUMNS() DAX function in DAX query view." lightbox="media/info-functions-dax/info-view-columns-dax-query.png":::
40
63
41
64
### INFO.VIEW.MEASURES
@@ -46,7 +69,8 @@ INFO.VIEW.MEASURES contains information about the measures in the model, such as
46
69
EVALUATE INFO.VIEW.MEASURES()
47
70
```
48
71
49
-
This is an example of using this DAX function in [DAX query view](/power-bi/transform-model/dax-query-view). This is using **Regional Sales Sample** available from **Learn** in the Power BI service.
72
+
The following screenshot is an example of using this DAX function in [DAX query view](/power-bi/transform-model/dax-query-view) with the **Regional Sales Sample** available from **Learn** in the Power BI service.
73
+
50
74
:::image type="content" source="media/info-functions-dax/info-view-measures-dax-query.png" alt-text="Screenshot showing the output of INFO.VIEW.MEASURES() DAX function in DAX query view." lightbox="media/info-functions-dax/info-view-measures-dax-query.png":::
51
75
52
76
### INFO.VIEW.RELATIONSHIPS
@@ -57,7 +81,8 @@ INFO.VIEW.RELATIONSHIPS contains information about the relationships in the mode
57
81
EVALUATE INFO.VIEW.RELATIONSHIPS()
58
82
```
59
83
60
-
This is an example of using this DAX function in [DAX query view](/power-bi/transform-model/dax-query-view). This is using **Regional Sales Sample** available from **Learn** in the Power BI service.
84
+
The following screenshot is an example of using this DAX function in [DAX query view](/power-bi/transform-model/dax-query-view) with the **Regional Sales Sample** available from **Learn** in the Power BI service.
85
+
61
86
:::image type="content" source="media/info-functions-dax/info-view-relationships-dax-query.png" alt-text="Screenshot showing the output of INFO.VIEW.RELATIONSHIPS() DAX function in DAX query view." lightbox="media/info-functions-dax/info-view-relationships-dax-query.png":::
0 commit comments