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! Learn more

Reply
adrianortuno
New Member

How to combine solid and dotted line from two different columns in one line plot

I have a time series with several columns that have gaps in the data, these gaps are filled in separate calculated columns. I'd like to plot a graph with several lines that are connected across with dotted lines where the data is missing. 

 

Already wronte the DAX function to calculate the filled columns, trying to figure out the plot. Thanks in advance.pbi question.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @adrianortuno ,

 

You can follow these steps to restore the view you expect:

(1)  Use custom visuals. Find the right app | Microsoft AppSource

(2) We can create two calculated column.

 

A_Column = IF('Table'[A]=BLANK(),'Table'[A_f],'Table'[A])
B_Column = IF('Table'[B]=BLANK(),'Table'[B_f],'Table'[B])

 

(3) Change the line format of [Value2] and [Value4] to [Dash] and then the result is as follows.

vtangjiemsft_0-1674033598305.png

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @adrianortuno ,

 

You can follow these steps to restore the view you expect:

(1)  Use custom visuals. Find the right app | Microsoft AppSource

(2) We can create two calculated column.

 

A_Column = IF('Table'[A]=BLANK(),'Table'[A_f],'Table'[A])
B_Column = IF('Table'[B]=BLANK(),'Table'[B_f],'Table'[B])

 

(3) Change the line format of [Value2] and [Value4] to [Dash] and then the result is as follows.

vtangjiemsft_0-1674033598305.png

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

 

amitchandak
Super User
Super User

@adrianortuno , Check some custom visual, I doubt that with standard visual

https://appsource.microsoft.com/en-us/marketplace/apps?product=power-bi-visuals

 

One option is Charticulator 

Charticulator Part 1 - Bar and Bar Matrix: https://youtu.be/tKgG0arMaOw

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
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