Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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 ) )