Forum Discussion
bryannvpwarrant
4 years agoFrequent Visitor
Switch statement not giving total
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 goo...
- 4 years ago
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..
Whitewater100
Solution Sage
4 years agoHi:
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..
- bryannvpwarrant4 years agoFrequent Visitor
Thank you that worked!!!
- Whitewater1004 years ago
Solution Sage
Great! Your welcome..