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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Conditional Formatting Line Graphs

I have a line chart in my dashboard.  On the line graph, each line represents one well.  This is how I want the data to be segmented.  However, I would like to not color each well individually, but to color the wells by operator (i.e. All wells by one operator are one color).  Is there a way to tell Power BI to do this?

4 REPLIES 4
Icey
Community Support
Community Support

Hi @Anonymous ,

I don't quite understand what you want. Please give me a concrete example.

 

Best Regards,

Icey

 

Anonymous
Not applicable

Line graph of production by well.  (Each well is a different color).  I want to instead to color by a variable I have called "Operator".  So essentially I want to keep the well level data graphed, but I want all wells within 1 operator to be the same color.  That way the user can visually see the differences in well performance by operator.Capture.PNG

Icey
Community Support
Community Support

Hi @Anonymous ,

I create an example:

OperatorWellValueDate
O1W111/1/2019
O1W122/1/2019
O1W133/1/2019
O1W251/1/2019
O1W242/1/2019
O1W263/1/2019
O1W331/1/2019
O1W342/1/2019
O1W353/1/2019
O2W461/1/2019
O2W432/1/2019
O2W453/1/2019
O2W571/1/2019
O2W592/1/2019
O2W553/1/2019
O2W641/1/2019
O2W662/1/2019
O2W623/1/2019

OP.PNG

If I don't misunderstand, in this example, what you want to do is to divide the 6 lines into two groups by Operator and lines in each group has the same color. However, I'm afraid that Power BI doesn't support it now.

Maybe you can use Slicer to filter by operators.

op2.gif

And here is a similar idea and you can vote it.

 

Best Regards,

Icey

 

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

Anonymous
Not applicable

Unfortunately I have a slicer on already, and that isn't sufficient.  I want users to be able to select multiple operators and be able to visually compare the wells between them.  I thought there was way to do this with conditional formatting in the newest version of Power BI, but this option appears to be missing.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.