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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

EnhancedScatter Legend and Shape Inputs

I am trying to build a scatter plot using EnchancedScatter visualization in PBI that I was able to import from Microsoft App Source. I want to have the data points be the same color based on the same Legend value and the same shape based on the same value of the input to the Shape field. How can I do that? Is there any other way of doing this, ie plot the data on scatter plot using a legend for colors and another legend for the shapes? For example: Plot "Sales" and "Product" on the X and Y axes and then split the data by "Country" for colors and "Quarter" for shapes (such as triangles, circles, squares, etc.)

3 REPLIES 3
Anonymous
Not applicable

Thanks a lot for responding to my question. I am attaching a sample data. It has 4 columns "Product", "Sales", "Country" and "Quarter". I need to plot the raw values of "Product" and "Sales" on the X and Y axes of the scatter plot respectively, then color code all the scatter points with the same country as the same color. Within each color, I want to symbol-code the data in the same quarter as the same symbol (within each color-coded country).

 

I am having several issues though. Firstly, EnhancedScatter does not allow me to choose the raw X, Y value as such. I do not want to use any of the statistics as follows:

id47_0-1717784232907.png

How can I choose the X, Y raw values?

Secondly, I chose the Legend as "Country" and Shape as "Quarter". However, it doesn't simply choose the value of the "Quarter" but gives me the following options, none of which work:

id47_1-1717784802857.png

The graph that I am looking for, is as follows:

id47_2-1717784934461.png

Is it possible to generate a graph like this in Power BI?

Thanks again!

 

Anonymous
Not applicable

I am unable to attach the data, so pasting an image here:

id47_0-1717788696793.png

 

Anonymous
Not applicable

Hi  @Anonymous ,

 

You can download the sample data and related videos for Enhanced Scatter from the link below, which can help you customize colors and use shapes correctly. 

In the visual, you can set the colors for each category in the Legend under Data colors; whatever color you set, that color will be displayed.

vyangliumsft_0-1717729723373.png

You may also consider adding a color column and placing it into Customized Color to display the corresponding color.

vyangliumsft_1-1717729723374.png

vyangliumsft_2-1717729743059.png

Place the created [Shape] column into Shape.

vyangliumsft_3-1717729752880.png

Refer to:

Enhanced Scatter (microsoft.com)

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.