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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Make selection without altering pivot table layout

I know the native response  is that if you have a dimension with four values in a pivot table and a filter is applied to select one of them, the entire pivot will change to only show that value within that dimension.  Is there a way to have this so the other dimension values would also remain but would just change to 0 or null in the measure?

 

For example, if you have Category (A,B,C,D) as your columns and you select category B in your slicer then only that one will show and the others will no longer be visible within the pivot. A requirement for an upcoming project is to have A,C, and D still remain but with 0's or null values. Thanks!

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

@Anonymous 

 

One way of doing it:

1) Create a duplicate of your dim table with no relationships with your fact table (in my case I'm duplicating "Channel Table")

Model.JPG

 

2) calculate the measures: (using a sum of forecast in this example)

 

Sum forecast disconnected calc = IF(MAX('Channel Table'[Channel]) 
                                 = SELECTEDVALUE('Channel Table (2)'[Channel]), 
                                  [Sum Forecast], 0)

 

and for the totals:

 

Total Disconnected = 
SUMX(SUMMARIZE('Channel Table', 'Channel Table'[Channel], 
            "Total Forecast", [Sum forecast disconnected calc]), 
                                [Total Forecast])

 

Use the disconnected Table as your slicer; in the visual, use the field from the DIM table connected to your fact table

and you get this

Result.JPG

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

1 REPLY 1
PaulDBrown
Community Champion
Community Champion

@Anonymous 

 

One way of doing it:

1) Create a duplicate of your dim table with no relationships with your fact table (in my case I'm duplicating "Channel Table")

Model.JPG

 

2) calculate the measures: (using a sum of forecast in this example)

 

Sum forecast disconnected calc = IF(MAX('Channel Table'[Channel]) 
                                 = SELECTEDVALUE('Channel Table (2)'[Channel]), 
                                  [Sum Forecast], 0)

 

and for the totals:

 

Total Disconnected = 
SUMX(SUMMARIZE('Channel Table', 'Channel Table'[Channel], 
            "Total Forecast", [Sum forecast disconnected calc]), 
                                [Total Forecast])

 

Use the disconnected Table as your slicer; in the visual, use the field from the DIM table connected to your fact table

and you get this

Result.JPG

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.