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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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