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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
AnnaMagnusson
Helper I
Helper I

Discontinous line chart without using categorical x-axis

Hi!

 

Is there a way to use a continous x-axis (date) on a line chart but still get gaps where I don't have any values in my measure?

Or is it possible to use conditional formating to get dotted line when the values are blank?

 

I know I can just use the categorical axis but I want to see the whole visual and not have to scroll.

 

Thanks in advance!

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@AnnaMagnusson ,

Is there a way to use a continous x-axis (date) on a line chart but still get gaps where I don't have any values in my measure?

I think, No

Or is it possible to use conditional formatting to get a dotted line when the values are blank?

You can do conditional formatting on Bar and change it to the line. But that may not work on blank values unless there is option in conditional formatting for blank (Gradient has option for empty value)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@AnnaMagnusson ,

Is there a way to use a continous x-axis (date) on a line chart but still get gaps where I don't have any values in my measure?

I think, No

Or is it possible to use conditional formatting to get a dotted line when the values are blank?

You can do conditional formatting on Bar and change it to the line. But that may not work on blank values unless there is option in conditional formatting for blank (Gradient has option for empty value)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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