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

Enhanced Scatter Dynamic Colors not working

Hi everyone,

 

I have to create a scatter plot where the dots have different colors depending on a certain measure. Since the normal scatter plot does not allow this for my case, I had to add one called Enhanced Scatter which is apparetnly also from Microsoft. I have watched a short turorial on this and it seems like you can dynamically change the colors of the dots with a measure, which is exactly what I need to do.

The guy in the video creates a measure based on an existing column that stores the colors as values. The measure was just a FIRSTNONBLANK() function with the column in it. He then adds it to the Scatter Plot. Since in my case such a column wouldnt be dynamic , I needed to find another solution and came up with the idea of creating a measure that has basically a variable table with a column specifying the colors based on certain conditions. Problem is, it does not let me add it to the  "Customized Color" field, while the guy on the video could add his measure without any probelm. If I put my created measure into a table instead of the scatter plot, the colors appear just as I imagine. 

felipereyes__0-1705056028075.png

 

the video I am referring to is this one https://www.youtube.com/watch?v=y3D6DRX_XfE&t=10s and at min 14:10 he starts talking about adding colors.

 

What am I doing wrong? My measure seems correct but I cannot add it.

Thank you very much for your help!

1 ACCEPTED SOLUTION
v-xiandat-msft
Community Support
Community Support

Hi @felipereyes_ ,

The version in the video is from 7 years ago, when metrics could be placed in Customized Color, and some features have changed with Microsoft's current updates.So far I've tried it and I can put calculated columns in it and it works perfectly to achieve the desired result

vxiandatmsft_0-1705905550219.pngvxiandatmsft_1-1705905567843.png

Below is the link about Enhanced Scatter:

Power BI Custom Visuals - Enhanced Scatter (pragmaticworks.com)

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xiandat-msft
Community Support
Community Support

Hi @felipereyes_ ,

The version in the video is from 7 years ago, when metrics could be placed in Customized Color, and some features have changed with Microsoft's current updates.So far I've tried it and I can put calculated columns in it and it works perfectly to achieve the desired result

vxiandatmsft_0-1705905550219.pngvxiandatmsft_1-1705905567843.png

Below is the link about Enhanced Scatter:

Power BI Custom Visuals - Enhanced Scatter (pragmaticworks.com)

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.