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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

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.