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
Anonymous
Not applicable

How to remove blank values from a horizontal bar chart

Hello

I´m working on a project about servers and its errors. In my Y axis I see the name of the servers and in X the count of errors, I also organized them using a TOP 10 so I only see the servers with more errors. However, some cells are blank. and I used a horizontal bar chart to display this. My problem is that the highest number of errors don't have a server associated. I need to "hide" that blank bar and still display the other top 10 without it. 

Hope someone understands my terrible english and can help me.

 

 

I cannot use the actual data so here it is a sample I created with random values

 

Prata_Jose_0-1654521093669.png

 

 

Regards.

1 ACCEPTED SOLUTION

You can add the same field to the fitlers a second time! In this screenshot, I've added the rating field twice and you can use it to filter out the blanks and get the top 10

Syk_0-1654524111251.png

 

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

No... And to be honest I'm not really sure how to do it. I searched a bit but didn't understood how can I filter the blank items and also doing the top 10 at the same time.

Anonymous
Not applicable

Hello

 

Do you try the top with allnonblanks ?

Syk
Super User
Super User

You can use a visual level filter to remove the blanks (or nulls).

Just select the visual, find the y-axis value (names of servers) and under basic filtering deselect the blank (or null) value!

Anonymous
Not applicable

That would be an amazing answer but unfortunaly as I said im already using a filter there to get the top 10. I don't know why I cannot filter the "count of error" (probably because is a "count" 😕 ). There is anyother way?  

You can add the same field to the fitlers a second time! In this screenshot, I've added the rating field twice and you can use it to filter out the blanks and get the top 10

Syk_0-1654524111251.png

 

Anonymous
Not applicable

Ahhh that's exactly what I needed. Thank you very much 🙂

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