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
DevBI99
New Member

Connect Line Chart Line

Hello there,I have this dashboard and I want to investigate for an issue that relates to Line Chart according to the below photo:

DevBI99_2-1716874835429.png

 

The lines charts are seems seperated from each others, and I want to tie them together as you see the bottem left lines and the top right lines. The tie for each one of them color per color.

 

Thanks,

 

1 ACCEPTED SOLUTION
Anand24
Super User
Super User

Hi @DevBI99 ,
Those disconnected lines are due to the value being blank/null for those X-Axis category values. 
You will need to convert those blanks/nulls to 0 so that the lines get connected.

Here's a sample DAX for new calculated measure:

New_Value1 = IF(ISBLANK(SUM('Table'[Value1])), 0, SUM('Table'[Value1]))

 

Here's the result (Bottom Line chart is with new values😞

Anand24_0-1716877163192.png

 

View solution in original post

2 REPLIES 2
Anand24
Super User
Super User

Hi @DevBI99 ,
Those disconnected lines are due to the value being blank/null for those X-Axis category values. 
You will need to convert those blanks/nulls to 0 so that the lines get connected.

Here's a sample DAX for new calculated measure:

New_Value1 = IF(ISBLANK(SUM('Table'[Value1])), 0, SUM('Table'[Value1]))

 

Here's the result (Bottom Line chart is with new values😞

Anand24_0-1716877163192.png

 

rajendraongole1
Super User
Super User

Hi @DevBI99 - can you please share the same with dummy data?

 

By structuring your data correctly and using the Line Chart visualization in Power BI, you can achieve continuous lines of the same color. 

 

 





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

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.