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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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