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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Analitika
Post Prodigy
Post Prodigy

Hide item with no data in visual in the Power BI

Hi,

 

I would like to ask how I could hide some elements in visual if some contains zero data. For example, I have line and clustured column chart. Lines are in y axis, so I can't change options for it.

Here is a visual:

Analitika_0-1682404837301.png

Here I market Sales / h (2021) it contains null data. So I need to hide it, but I can't do it. How I can solve it? Main point to avoid not neccessary items in legend.

8 REPLIES 8
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi, 

 

could you add a filter to the visual where the value is greater than 0?

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

When I filter value > 0 then visual became empty. No, that not helped.

Can you show me the filter pane and fields used? or are you able to share the PBI file?

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

I can't share PBIX file, filter pane looks like this:

Analitika_0-1682409206039.png

Visual:

Analitika_1-1682409326604.png

 

Sorry, can i see all the fields used in this visual?

Visual:

Analitika_0-1682410142714.png

 

Fields:

Analitika_1-1682410159153.png

 

 

 

It's quite difficult to determine all the calculations involved without the PBI file, but i think if you created a duplicate of the table and unpivot the fields used in the visual then joined that table to the the current one.

 

You could potentially use the value field in the unpivoted table as a filter in the visual to remove anything that is not greater than 0.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

I have no created a duplicate. Measures are created based on same table.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors