Forum Discussion
DAX help Re: calculated measure
- 10 years ago
Hi Rynoh17,
I usually will leverage a calculated column in this case and build a associated measure.
Sum of Extended = IF([Sales Amount]>100,1,0)
Count of Customers = CALCULATE(DISTINCTCOUNT('Power BI'[Customer ID]),FILTER('Power BI','Power BI'[Sum of Extended]=1))
Applying your different filter contexts should show at which branch your customers who meet that extend sales requirement fall.
Within the table/matrix you can also leverage conditional color formatting within the values tab to enforce color threshholds.
I hope this helps.
Anonymous
Please try the solutions provided by CahabaData and cosborn1231. If you still cannot get the expected result, maybe you can give some sample data and the expected output to us.
Best Regards,
Herbert
cosborn1231's method worked for me. Thanks for the help guys!
- cosborn123110 years ago
Resolver I
Anonymous Anytime!