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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors