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
victoria1701
Frequent Visitor

Scatter Chart colour code based on Selected Values

Hi! Im currently working in a dashboard which has the following behaviour:

In the first page, you select and filter data and then go to another page with drill through.


In that second page, I want to show the previously filtered data in a scatter chart which colour code is based on the distribution of the selection, i.e., i need to know the maximum value of the selection (this would be 100%) and calculate the colour code based on it.

 

In order to do this, Ive managed to obtain the maximum value of the selection in a measure, but its not possible to use it in a calculated column to recalculate the rest of the percentages.

 

Any idea on how to do this? Any help would be highly appreciated! Thanks

 

2 REPLIES 2
v-weiyan1-msft
Community Support
Community Support

Hi @victoria1701 ,

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and assist you.

 

Best Regards,
Yulia Yan

Hello,

Yes, find an example pbix without sensitive data here:

https://drive.google.com/file/d/1b91ITIKlsNrviT6N0aS_e-G0ViKOpUIH/view?usp=drive_link

 

Kind regards

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