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
ruxandraalina
Helper I
Helper I

Exclude value from rows, but include in total

Hello!

I've been struggling with a Power BI issue and hopefully someone could help here 🙂 

 

I have some SLAs that are calculated per group category (highest hierarchy level), region, team and operator group (lowest hierarchy level). 

ruxandraalina_1-1661507683364.png

 

I have two operator groups (A, B) that should be hidden when it comes to their individual values, but should always be included in total values. For example, the below highlighted rows shouldn't be there, but any of the subtotals/totals should include all values. 

The point is to hide the groups' individual performance, but include their performance in the team/region/group category total. 

ruxandraalina_0-1661508503931.png

 

I cannot anonymize the names and conditional formating is not an option. 

Is there any way I could achieve this through DAX?

 

Thank you!

Ruxandra

 

1 ACCEPTED SOLUTION
PVO3
Impactful Individual
Impactful Individual

HI,

 

Try this

IF(
    SELECTEDVALUE('Table'[Operator group]) IN {"A","B"}, BLANK(),
    [Measure])
)

View solution in original post

2 REPLIES 2
PVO3
Impactful Individual
Impactful Individual

HI,

 

Try this

IF(
    SELECTEDVALUE('Table'[Operator group]) IN {"A","B"}, BLANK(),
    [Measure])
)

Hello, 

Yess, this worked. Thank you very much!

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!

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.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.