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
jtomczyk
Helper I
Helper I

scatter chart

Hi,

Do you have any idea how to create a scatter chart for below data? The axis are not numerical.

I would like to present what is the most common pair of car's engine and car's color.

 

Scatter chart proposal

Presentation1.jpg

 

Data format

VINEngineColor
AAAZZZ011.2 CBZABlue
AAAZZZ021.2 CBZBGreen
AAAZZZ032.0 CBDCSilver
AAAZZZ042.0 CBAA Black
AAAZZZ051.4 CAVDWhite
AAAZZZ061.6 CAYBGold
AAAZZZ071.6 BSERed
AAAZZZ081.6 CAYCBlue
AAAZZZ091.8 CDAAGreen
AAAZZZ102.0 CBDCSilver
AAAZZZ112.0 CBAA Black
AAAZZZ122.0 CBDB White
AAAZZZ132.0 CBBBGold
AAAZZZ142.0 CBFARed
AAAZZZ152.0 CCZBBlue
AAAZZZ162.0 CDLGGreen
AAAZZZ172.0 CBDCSilver
AAAZZZ182.0 CBAA Black
AAAZZZ192.0 CCZBWhite
AAAZZZ202.0 CDLGGold
AAAZZZ211.2 CBZBRed
3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @jtomczyk 

 

I tried the custom visual. Seems if I remove field from Primary Key, the chart displays correctly. I use Count of VIN for Value. 

21092302.jpg

 

Best Regards,
Community Support Team _ Jing

mahoneypat
Employee
Employee

Please see this post for how to create a chart with category fields on both X and Y axes.

Solved: Categorical data as X and Y axis - Microsoft Power BI Community

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Hi Pat,

Thanks for prompt reply. I have tried that. Unfortunetly it does not work as I would like.

 

Here are the screen shot of the chart when puting 

Primary Key VIN

X category Color

Y category Engine

Value VIN

Presentation2.jpg

 

 

However accoding to the data

Engine 1 with black should have one circle with size 2

Engine 2 with black should have one circle with size 1

Engine 3 with white should have one circle with size 2

Engine 4 with black should have one circle with size 5 and have one circle with size 3

Engine 5 with white should have one circle with size 1 

 

like that

Presentation3.jpg

I have tried to change that but without success... Any idea why it is like that?

 

Can you please let me know how to edit XYCategory.pbiviz ? 

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.