0% found this document useful (0 votes)
17 views

DAX function shortcuts in Power BI Some commonly used

Uploaded by

ponsee9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

DAX function shortcuts in Power BI Some commonly used

Uploaded by

ponsee9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Some commonly used DAX function shortcuts in Power BI!

1. SUMX: Calculates the sum of an expression for all the rows in a table.
Shortcut: SUMX(Table, Expression)

2. AVERAGEX: Calculates the average of an expression for all the rows in a table.
Shortcut: AVERAGEX(Table, Expression)

3. MAXX: Returns the maximum value of an expression for all the rows in a table.
Shortcut: MAXX(Table, Expression)

4. MINX: Returns the minimum value of an expression for all the rows in a table.
Shortcut: MINX(Table, Expression)

5. COUNTROWS: Counts the number of rows in a table.


Shortcut: COUNTROWS(Table)

6. RELATED: Retrieves a related value from another table.


Shortcut: RELATED(Column)

7. RELATEDTABLE: Returns a table that contains related records from another table.
Shortcut: RELATEDTABLE(Table)

8. FILTER: Returns a table that has been filtered.


Shortcut: FILTER(Table, Condition)

9. CALCULATE: Modifies the filter context or evaluates an expression in a context


modified by filters.
Shortcut: CALCULATE(Expression, Filter1, Filter2, ...)

10. ALL: Returns all the rows in a table, or all the values in a column, ignoring
any filters that might have been applied.
Shortcut: ALL(Table/Column)

11. SELECTEDVALUE: Returns the value if there's only one value in the specified
column in the current context; otherwise, returns a blank.
Shortcut: SELECTEDVALUE(Column)

12, VALUES: Returns a single column table of unique values from a column, removing
any duplicates.
Shortcut: VALUES(Column)

13. BLANK: Returns a blank value.


Shortcut: BLANK()

14. IF: Returns one value if a condition is true and another value if it's false.
Shortcut: IF(Condition, TrueValue, FalseValue)

15. SWITCH: Evaluates an expression against a list of values and returns the result
corresponding to the first matching value.
Shortcut: SWITCH(Value, Value1, Result1, Value2, Result2, ...)

16. DATEDIFF: Returns the count of interval boundaries crossed between two dates.
Shortcut: DATEDIFF(StartDateTime, EndDateTime, Interval)

17. CONCATENATEX: Concatenates the result of an expression evaluated for each row
in a table, using a specified delimiter.
Shortcut: CONCATENATEX(Table, Expression, Delimiter)
18. LASTDATE: Returns the last date in the current context for the specified column
of dates.
Shortcut: LASTDATE(DateColumn)

19. EARLIER: Returns the value of the specified column from a previous row in the
context.
Shortcut: EARLIER(Column)

20. RELATEDTABLE: Returns a table that contains related records from another table.
Shortcut: RELATEDTABLE(Table)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy