Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Filtering a dynamic Table created using SUMMARIZE.

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]))

2 ACCEPTED SOLUTIONS
AlB
Community Champion
Community Champion

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
    )
)

View solution in original post

Anonymous
Not applicable


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.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable


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.

AlB
Community Champion
Community Champion

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
    )
)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors