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
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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.