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

Line chart without zero values

Hi Power BI Community!

I have this line chart:

Beginner_2020_0-1620666552292.png
I have also a slicer to just show one of the line charts:

Beginner_2020_1-1620666776976.png


Is there a way to just show one chart with values? = No zero values.

I already tried Filter greater than 0 but then nothing is shown.

Thankx for your time.

 

1 ACCEPTED SOLUTION
dkaushik
Resolver II
Resolver II

Hi @Anonymous ,

 

You can right click on your filed under "Axis" and de-select "Show items with no data". That should eliminate your zero line.

 

It should work with a filter as well. Not sure what's happening there. Can you share a screenshot of your filter?

 

Thanks,

Dheeraj

View solution in original post

4 REPLIES 4
joshyT7
Frequent Visitor

For your slicer, is this affecting a filter or a measure? 

If you are using a measure, use an if statement with the result being BLANK() and this should remove the values from the chart. 

Let me know how you get on! 

Anonymous
Not applicable

@dkaushik Thanks for the reply but I already tried that:

Beginner_2020_0-1620667929945.png

 

Or this:
= No chart because if is zero than it filters everything also with other seetings on the filter

Beginner_2020_1-1620668046942.png

 

 




 

dkaushik
Resolver II
Resolver II

Hi @Anonymous ,

 

You can right click on your filed under "Axis" and de-select "Show items with no data". That should eliminate your zero line.

 

It should work with a filter as well. Not sure what's happening there. Can you share a screenshot of your filter?

 

Thanks,

Dheeraj

Anonymous
Not applicable

@dkaushik It is a measure and it has worked! Thanks 🙂

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.