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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
EugenioProlog
New Member

How can I hide the line part with no data?

Hello! I have this bar and line chart and I want it to not show the line part on months where there is no data. (Note that I dont want to hide the month, just want it to not create a fake trend line between the months). How can i do that?

EugenioProlog_0-1738762867216.png

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

I don't know of a way to hide the 0 values but keep the line between the months with amounts but, you could turn on markers and set the line to transparent which changes the view to look like the 2nd chart.

jdbuchanan71_0-1738767782556.png

jdbuchanan71_1-1738767796093.png

 

 

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User
Super User

I don't know of a way to hide the 0 values but keep the line between the months with amounts but, you could turn on markers and set the line to transparent which changes the view to look like the 2nd chart.

jdbuchanan71_0-1738767782556.png

jdbuchanan71_1-1738767796093.png

 

 

MFelix
Super User
Super User

Hi @EugenioProlog ,

 

Since you are using the date this uses a continuous axis to achieve what you want you need to add teh UYear / month as an hierarchy on the axis and select the  show items with no data:

MFelix_0-1738767376570.png

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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