Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I am trying to add an if statement to the code below. The if needs to be "if less than 40, make the output = to 40". Here is the code:
Solved! Go to Solution.
Hello @cpatton10
you can try using variable (direct conditional if should be worked as well but the DAX line would be quite long).
Hello @cpatton10
you can try using variable (direct conditional if should be worked as well but the DAX line would be quite long).
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |