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 have a line chart and I want the line to have two colors, one for historical and one for forecasted data.


I have created a new column to have it added as a legend:


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


And it works, but the problem is that the line is not continuous anymore and it looks like this:


Any ideas?




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.