Forum Discussion
ZachPLPI
6 years agoFrequent Visitor
Sales Stratification/Grouping
I have searched all over for this answer but I cannot find it. It seems this would be a pretty popular command, though and my lack of knowledge in this area is probably due to my experience with powe...
v-juanli-msft
6 years agoCommunity Support
Hi ZachPLPI
Create measures
Measure = CALCULATE(SUM('Table'[premium]),FILTER(ALLSELECTED('Table'),'Table'[client]=MAX('Table'[client])))
Measure 2 =
SWITCH (
TRUE (),
[Measure] < 500, "<500",
[Measure] >= 500
&& [Measure] < 2000, "500~2000",
[Measure] >= 2000
&& [Measure] < 10000, "2000~10000",
[Measure] > 10000, ">10000",
"other"
)
Best Regards
Maggie
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ZachPLPI
6 years agoFrequent Visitor
I plugged this in a while back and it was still pulling premiums that were more or less than there assigned measure. Might there be a typo?