The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Good afternoon,
I am having problems trying to come up with a subtotal.
I have the following measure:
How could I get the sum of the values? It should be 12,48.
Thank you so much!
Yeah... Writing DAX the way you do... is a sure way to not understand what it does. DAX which is not correctly formatted is not DAX. Rules for DAX Code Formatting - SQLBI
By the way, using nested IF's is not elegant. There's a better way: SWITCH.
After two days nobody has even tried to reply to your post. Guess why.
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
28 | |
18 | |
12 | |
7 | |
5 |