Syntax
ALLEXCEPT(<table>,<column>[,<column>[,…]])
Tutorial with example
In this tutorial we go through the ALL and ALLSELECT functions.
Video Keynotes:
01:14 ALL function
06:20 ALLEXCEPT function
Download example file:
To get the files:
1. Go to Curbal Download Center > Dax Fridays
2. Get File #7
Example 2: Difference between 2 dates in the same column
Do you know how to calculate the difference between dates when both are in the same column?
One example of when this is needed is when you are working with subscription based services. If you want to calculate how many dates go between users changing subscriptions, this DAX measure will help you.
Download example file:
To get the files:
1. Go to Curbal Download Center > Dax Fridays
2. Get File #85
Example 3: Calculate the max value of a category
In todays video we will calculate the Max value by category using ALLSELECT function.
Remarks
This function is not used by itself, but serves as an intermediate function that can be used to change the set of results over which some other calculation is performed.
Leave a Reply