Forum Discussion
JessA
2 years agoFrequent Visitor
Calculation Groups - Problems when using selectedmeasure twice in a calculation item
Hi Everyone, I've been exploring Calculation groups recently and love how they've let me clean up my measures. I've just run across a strange issue with only one of the calculation items in my ca...
amitchandak
2 years agoSuper User
JessA , I created a calculation group
Divide1 = divide(CALCULATE(SELECTEDMEASURE(), 'Item'[Brand] = "Brand 1"), CALCULATE(SELECTEDMEASURE(), 'Item'[Brand] = "Brand 2"))
and that is working
For conditional formatting, you should consider measure-based conditional formatting
Please let me know what is exactly you wanted to achieve