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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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