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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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