Forum Discussion
RNightscape
7 years agoFrequent Visitor
Count a Measure
Hi all.
Please, anyone could help?
On my matrix I have some results (green, red) created by a measure.
I would like to count the number of "green" for each depart.
Thanks
Sample data would help. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
That being said, you could do something like:
Measure = COUNTROWS(FILTER(SUMMARIZE('Table',[Product],[Category],"__Measure",[Measure]),[__Measure]="GREEN"))
2 Replies
- Greg_DecklerCommunity Champion
Sample data would help. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
That being said, you could do something like:
Measure = COUNTROWS(FILTER(SUMMARIZE('Table',[Product],[Category],"__Measure",[Measure]),[__Measure]="GREEN"))- RNightscapeFrequent Visitor
Thank you very much by your help!