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.
Hello - I have a switch statement for my customers based on total sales for example if they meet $20k in sales they get commission of 3k. So I wrote a switch statement see below. Everything looks good but it doesnt total in the table and when I tried to enter sumx in the switch statement I get error please assist.
"
Solved! Go to Solution.
Hi:
I can't see what your column is associated with the results. If it is customer and your table column in this visual is Customer[Name] you should be able to do a measure:
Fix Total = SUMX(VALUES(Customer[Name]), [Payout]))
I hope this solves your question..
Hi:
I can't see what your column is associated with the results. If it is customer and your table column in this visual is Customer[Name] you should be able to do a measure:
Fix Total = SUMX(VALUES(Customer[Name]), [Payout]))
I hope this solves your question..
Thank you that worked!!!
Great! Your welcome..
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |