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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
common763
Helper III
Helper III

SUMMARIZE TABLE with specific conditions ?

I am actively researching but though to throw this out there while doing so.  A customer asked for a change to a control chart which has a summary table as the driver for it.  This time it has to have specific conditions.  How do I write an IF/IN statement into this for TAGNAME or something else that will summarize based off of specific conditions in TAGNAME?

 

They are asking if TAGNAME = AAA, BBB, CC, etc then summarize.  I tried using a formula for something else inside this but not working.  Again, not being lazy as I am looking online but most examples not specific to this.  Thanks. 

 

TOTAL =
SUMMARIZECOLUMNS(  
Report[Report Type],
Time[Month],
Tag[TagName],
Location[City],

"Total Findings", count(Report[Report ID])  
)
1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@common763,

 

See if you can adapt the examples in the link below. If the first four columns are the Group By, you should be able to add filter arguments between those and the Total Findings expression.

 

https://dax.guide/summarizecolumns/ 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
common763
Helper III
Helper III

Thanks for the feedback.  Saving this to favorites as this will help.  I ended up altering the summary table and it did what I needed, but this will be benenficial for future reference.  

DataInsights
Super User
Super User

@common763,

 

See if you can adapt the examples in the link below. If the first four columns are the Group By, you should be able to add filter arguments between those and the Total Findings expression.

 

https://dax.guide/summarizecolumns/ 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors