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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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