Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I'm creating a dynamically changing table using the below SUMMARIZE expression . How can i filter the summarized table uisng one of the aggregated columns within it.
My reqquirement is to count the no. of records with Total > 1.
SUMMARIZE('Table1',[Loc],[TypeID],[CtgyID],"Total", sum([CtgyCount]))
Solved! Go to Solution.
Hi @Anonymous
Assuming the dynamic table you show is built correctly, you can just do that by :
Measure = COUNTROWS ( FILTER ( SUMMARIZE ( 'Table1', [Loc], [TypeID], [CtgyID], "Total", SUM ( [CtgyCount] ) ), [Total] > 1 ) )
If I have understood you correctly , you have did a grouping of the Count column , to get the total, and you need to do the filtering of records on above this grouped value.
If so , try the below this may work.
measure= COUNTROWS(FILTER (
SUMMARIZE('Table1',[Loc],[TypeID],[CtgyID],"Total", sum([CtgyCount])) ,
[Total]> 1)
)
Dont forget a thumbs up if this resolves your issue.
If I have understood you correctly , you have did a grouping of the Count column , to get the total, and you need to do the filtering of records on above this grouped value.
If so , try the below this may work.
measure= COUNTROWS(FILTER (
SUMMARIZE('Table1',[Loc],[TypeID],[CtgyID],"Total", sum([CtgyCount])) ,
[Total]> 1)
)
Dont forget a thumbs up if this resolves your issue.
Hi @Anonymous
Assuming the dynamic table you show is built correctly, you can just do that by :
Measure = COUNTROWS ( FILTER ( SUMMARIZE ( 'Table1', [Loc], [TypeID], [CtgyID], "Total", SUM ( [CtgyCount] ) ), [Total] > 1 ) )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |