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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
zeke101
Helper II
Helper II

Line Chart - Change color of line based on a give date

Hello,

I have 2 data sets - the first dataset contains the raw data that I want counted in the line chart.  The data contains multiple sites and we are trying to count the effectiveness of a new algorithm that was released on a certain date.  So my 2nd dataset contains the site and the date of the change of the algorithm.  I'm wanting the visual to show different colors on the trendline depending upon when the algorithm was deployed. 

Example: If site ABC123 had the new algorithm deployed on 10/15/2021 all the volume prior to 10/15/2021 would be black and everything on or after 10/15/2021 would be red. 

zeke101_0-1639174491567.png

 

3 REPLIES 3
zeke101
Helper II
Helper II

So I was able to figure out how to do a color change for one line........

zeke101_0-1639495663253.png

but when trying to add 2 lines, I lose the conditional formatting.

zeke101_1-1639495945048.png

Is there a way to do both lines? or just create some sort of indicator on that date with both lines (doesnt necessarily need to be a color change) ? 

VijayP
Super User
Super User

@zeke101 

Is this you want

VijayP_0-1639197580178.png

 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


@VijayP 

Yes, something similar --- each "Zone(Location)" has a date and so based on that date, I need the color of the graph to change similar to how you show in your screenshot. It needs to be dynamic as there are multiple dates for specific "Zone(Location)". 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.