Forum Discussion
Grouping values from measures
- 8 years ago
You should be able to do it like this:
Table = SUMMARIZE('TABLE','TABLE'[Column],"MyMeasure",[Measure])
So, you should be able to create a table using SUMMARIZE that includes this measure and do your grouping that way. Or create another table with your categories and do a count in that table that fit the defined criteria.
Hi Greg_Deckler,
Thank you for such a quick reply :)
When I try with SUMMARIZE I don't have an option to do it on the basis of a Measure - it looks like it is only available for table columns.
- Greg_Deckler8 years agoCommunity Champion
You should be able to do it like this:
Table = SUMMARIZE('TABLE','TABLE'[Column],"MyMeasure",[Measure])- RichardP8 years agoHelper I
Thank you so much, that's brilliant :)
When i'm creating the table, is it possible to add a filter inso that it only calculates the score where, say, the Visits column is > 5?
- Greg_Deckler8 years agoCommunity Champion
Sure can:
Table = FILTER(SUMMARIZE('TABLE','TABLE'[Column],"MyMeasure",[Measure]),<filter expression>)Is "Visits" your equivalent of "MyMeasure"?
If so, then it would be:
Table = FILTER(SUMMARIZE('TABLE','TABLE'[Column],"MyMeasure",[Measure]),[MyMeasure]=5)
- Anonymous5 years agoNot applicable
Thanks Derek. I had similar issue and your response was helpful.
Cheers - sharan