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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

How to draw a line chart with gap as in Excel

Hi everyone,

I'm trying to draw a line chart with a gap as below, which I can do in Excel by giving a blank in selected cells. I tried to do the same in Power BI but failed. Can anyone help me with this? Thank you in advance 🙂

NgocNguyen01_0-1614097531074.png

 

1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @Anonymous ,

 

If you right-click on your axis dimension you can select 'Show items with no data'. This will give you gaps anywhere that there is a null value against that axis point. However, you may need to filter the axis dimension in another way to prevent too many axis points appearing, as this will show ALL available axis points.

BA_Pete_0-1614098251273.png

 

BA_Pete_1-1614098390925.png

 

BA_Pete_2-1614098458524.png

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

1 REPLY 1
BA_Pete
Super User
Super User

Hi @Anonymous ,

 

If you right-click on your axis dimension you can select 'Show items with no data'. This will give you gaps anywhere that there is a null value against that axis point. However, you may need to filter the axis dimension in another way to prevent too many axis points appearing, as this will show ALL available axis points.

BA_Pete_0-1614098251273.png

 

BA_Pete_1-1614098390925.png

 

BA_Pete_2-1614098458524.png

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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