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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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:


Is there any alternative?


Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.