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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

scatter chart conditional color code

Hello, 

I could not find any insight on how to have a scatter chat with conditional colour. 
My graph below needs to show the colour code of the data points as follows:
planned maintenance PV 30 over 30,000 red
planned maintenance PV 30 over 15,000 - 29,999 amber
planned maintenance PV 30 less than 15,000 green

 

Do I have to create a calculated column for this? I thought about creating a group but it's impossible given the number of unique values.

 

ROG_BI22_0-1649145044500.png

 

Many many thanks!

R

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Hi @Anonymous ,

 

You can create conditional formatting on the scatter chart by using Data Colors option under formatting.

Pragati11_0-1649146071117.png

Once you click on the function icon, a new window appears, where you can create your custom rules as defined above:

Pragati11_1-1649146150098.png

  • Format style choose Rules
  • what field should be used choose planned maintenance PV 30 along with an aggregation that you have on scatter chart
  • under Rules section, write all the rules that you mentioned above for colors

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

3 REPLIES 3
Pragati11
Super User
Super User

Hi @Anonymous ,

 

You can create conditional formatting on the scatter chart by using Data Colors option under formatting.

Pragati11_0-1649146071117.png

Once you click on the function icon, a new window appears, where you can create your custom rules as defined above:

Pragati11_1-1649146150098.png

  • Format style choose Rules
  • what field should be used choose planned maintenance PV 30 along with an aggregation that you have on scatter chart
  • under Rules section, write all the rules that you mentioned above for colors

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Thank you so much @Pragati11  I wasn't aware of that. 

Hi @Anonymous ,

 

Glad that the solution helped 🙂

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors