Forum Discussion
LBarto90
3 years agoRegular Visitor
Summarize a measure
Hey Folks, I have a problem with a data table and cant figure out the problem. It would help me a lot if you have an idea on this issue. There is a data table like this Name date value ...
Greg_Deckler
Community Champion
3 years agoLBarto90 If I am understanding correctly, perhaps something like this:
Measure =
VAR __Category = MAX('CategoriesTable'[Category])
VAR __Table = SUMMARIZE('Table', [Name], "__Count", COUNTROWS('Table'))
VAR __One2Three = COUNTROWS(FILTER(__Table, [__Count]<4))
VAR __MoreThan4 = COUNTROWS(FILTER(__Table, [__Count]>3))
VAR __Result = IF(__Category = "1-3", __One2Three, __MoreThan4)
RETURN
__Result