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

Line with two colors

I am trying to create a line graph that shows historical and forecasted data, and I want the color for the forecasted data to be lighter. I have created a new column to have it added as legend:

 

Quarter Color = if(Annual[Quarter]<DATE(2018,4,1),"Inflation","Inflation forecast")

 

But after doing that, the line is not continuous anymore and it looks like this:

 

https://imgur.com/a/5uLrbSl

 

Is there any alternative?

0 REPLIES 0

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors