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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors