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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Igotzepowerbi
Frequent Visitor

Removing empty fields rows

I have a question on the dashboard in powerbi. Is there a way to remove the product classes from summary and chart visuals when you don’t have them included in the filters? Here is an example where I have filtered to Product Manager: Phil Cascia. His classes are populated with data and move to the top of the summary but I still see all the other classes. Can those come out of the visual, so I only see Phil’s product classes?

 

Igotzepowerbi_0-1709229076198.png

 

 

Same thing on the chart. Can all the other classes be removed so it’s easier to see which colors in the bar chart are which product class?

 

Igotzepowerbi_1-1709229076215.png

 

 

1 REPLY 1
Anonymous
Not applicable

Hi  @Igotzepowerbi ,

You can utilize a combination of slicers and DAX measures to ensure that only the product classes with data associated with the selected Product Manager are displayed.

 

Have a try please.

Create a measure.

 

ProductClassValue = CALCULATE(SUM('YourDataTable'[YourValueColumn]), ALL('YourDataTable'[ProductClassColumn]))​

 

 Use the DAX measure you created as a filter on your summary and chart visuals. Set the filter to show items when 'ProductClassValue' is greater than 0. This will ensure that only product classes with data are displayed.

 

If I have misunderstood your meaning,please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.