Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
My english too bad hope can understand this.
I want my customers grouping by their sales. like this group is over 100M and this one is over 50M. like premium, gold, silver
how did you do that writing DAX or?
Solved! Go to Solution.
you can use SWITCH
https://learn.microsoft.com/en-us/dax/switch-function-dax?wt.mc_id=DP-MVP-5004616
Proud to be a Super User!
but like it's all of them comes together , i want to see them separated. likw this table only showes gold members. How can i calculate this?
gold members | sales |
a | 100 |
b | 110 |
c | 120 |
you can filter the data that you want
Proud to be a Super User!
Hi @Dk_bbr
You can try with calculated column
Group =SWITCH(TRUE(),Sales>10000000,"Premium",Sales>5000000,"Gold","Silver")
I hope this is what you are lookin!
you can use SWITCH
https://learn.microsoft.com/en-us/dax/switch-function-dax?wt.mc_id=DP-MVP-5004616
Proud to be a Super User!
but like it's all of them comes together , i want to see them separated. likw this table only showes gold members. How can i calculate this?
gold members | sales |
a | 100 |
b | 110 |
c | 120 |
you can filter the data that you want
Proud to be a Super User!
User | Count |
---|---|
80 | |
74 | |
62 | |
61 | |
45 |
User | Count |
---|---|
108 | |
97 | |
88 | |
81 | |
61 |