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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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