Skip to main content
cancel
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

Reply
Anshenterprices
Helper IV
Helper IV

SCATTER PLOT LEGNED COLOUR SHOULD BE STATIC

HI TEAM 

 

SOURCE DATA

UniversitycodeCollegeNameCategorysubCategoryEduCategoryrevenuecostDate
A1Cape TownHigherEducationHigherEducationHigherEducation1204519/7/2021
A2Cape TownMastersMastersMasters1212319/7/2021
A3PretoriaHigherEducationHigherEducationHigherEducation1226619/7/2021
A4PretoriaMastersMastersMasters1235319/7/2021
A5WitwatersrandHigherHigherHigher1246719/7/2021
A6WitwatersrandMastersMastersMasters1253419/7/2021
A7Rhodes HigherEducationHigherEducationHigherEducation1265619/7/2021
A8Rhodes MastersMastersMasters1278619/7/2021
A9MansouraHigherEducationBachlersBachlers1287919/7/2021
A10MansouraHigherEducationPHDPHD1296919/7/2021
A1Cape TownMastersMastersMasters1206619/7/2021
A2Cape TownHigherEducationHigherEducationHigherEducation1235319/7/2021
A3PretoriaHigherEducationEcommerceEcommerce1246719/7/2021
A4PretoriaHigherEducationHigherEducationHigherEducation1253419/7/2021
A5WitwatersrandMastersMastersMasters1265619/7/2021
A6WitwatersrandHigherEducationHigherEducationHigherEducation1278619/7/2021
A7Rhodes MastersMedicalMedical1287919/7/2021
A8Rhodes HigherEducationHigherEducationHigherEducation1292319/7/2021
A9MansouraMastersMastersMasters1286619/7/2021
A10MansouraHigherEducationHotelmangmentHotelmangment1295319/7/2021


OUTPUT

SCATTER PLOT:- LEGEND- EduCategory
X Axis- cost
y axis - revenue
date slicer
university code slicer


once use selects any university code it shold change the scatter plot based on the legend

but user need green and red colour for the legends and it should be fix it means that if category value = educategory value then colour should be green else sub category value = educategory value then colour shouold be red


i am not able to set colour of legend power bi takes different after any other univerversity id selection



Thanks

3 REPLIES 3
amitchandak
Super User
Super User

@Anshenterprices , as of now we can not use conditional formatting once legend is used.

 

keep that on-axis and try conditional formatting, if they are more than one, use expand icon to expand

 

create a color measure and use that in conditional formatting using field value option

if( [category value] = "educategory", "green", "red")

 

refer if needed

How to do conditional formatting by measure and apply it on pie?: https://youtu.be/RqBb5eBf_I4

 

 

@amitchandak if possible please share pbix file?

@amitchandak  but there is no any option for conditional formatting

Anshenterprices_0-1626706439483.png

 

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

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.