? 16 Dax Functions in Power BI
? 16 Dax Functions in Power BI
16 DAX
Functions
in PowerBI
I use on
daily basis
Swipe for more
@deepanshudumbre
1. ALL
2. MINX
3. MAXX
4. SUMX
5. FILTER
6. VALUES
7. SWITCH
8. IFERROR
9. ISBLANK
10. RELATED
11. DATEDIFF
12. AVERAGEX
13. CALCULATE
14. HASONEVALUE
15. DISTINCTCOUNT
16. USERELATIONSHIP
1.ALL
Removes all filters from a column or
table, often used to show totals
without filtering.
2.MINX
Returns the minimum value from an
expression evaluated over a table.
3.MAXX
Returns the maximum value from an
expression evaluated over a table.
4.SUMX
Calculates the sum of an expression
evaluated over a table.
5.FILTER
Returns a filtered table based on a
specific condition, often used within
functions like CALCULATE.
6.VALUES
Returns a one-column table with
distinct values from a column; useful
for filtering or checking unique
entries.
7.SWITCH
Evaluates an expression against
multiple conditions and returns
corresponding results, similar to a
case statement.
8.IFERROR
Returns an alternate result when an
expression results in an error, helpful
for error handling.
9.ISBLANK
Checks if a value is blank (null) and
returns TRUE if it is.
10.RELATED
Retrieves a related value from
another table in a relationship, similar
to a lookup.
11.DATEDIFF
Returns the difference between two
dates in specified intervals (e.g.,
days, months, years).
12.AVERAGEX
Calculates the average of an
expression evaluated over a table.
13.CALCULATE
Modifies the filter context for an
expression, enabling complex
aggregations.
14.HASONEVALUE
Checks if a column has only one
distinct value, returning TRUE if so,
useful for avoiding ambiguity.
15.DISTINCTCOUNT
Returns the number of unique values
in a column, excluding blanks.
16.USERELATIONSHIP
Activates a specific relationship
between tables in a calculation
without permanently changing it.
I hope you
find this
helpful
Thanks!