July 2018
Beginner
202 pages
5h 4m
English
Now that you have the customer's age, it's time to put each customer into an age bucket. For this example, there will be four separate age buckets:
The SWITCH function is preferable to the IF function when performing multiple logical tests in a single DAX formula. This is because the SWITCH function is easier to read and makes debugging code much easier.
With the Customer table selected, click New Column from the modeling ribbon. Type in the completed DAX formula for the following example:

The preceding formula is very readable and understandable. There are three ...
Read now
Unlock full access