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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors