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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Lovebo01
Helper I
Helper I

Scatter chart X-axis with text value

Hi everyone,

 

I am trying to use a scatter chart and have some numerical value on Y-axis and text value on X-axis, but when I am trying to do this, I have this error message : "Your x- and y-axis values aren't playing together nicely. Replace the x-axis field with a numerical value, or change the y-axis field values to summarizations."

 

Separately I can show an X-axis with text value and some indcators for the size, but if I add an Y axis numerical I have this error message.  

 

Do you know why ? How can I fix this issue ?

 

Thank you,

Lovebo,

1 ACCEPTED SOLUTION
negi007
Community Champion
Community Champion

@Lovebo01 You can perform the steps below to create the scatter plot that you want to have

1. Create a calculated column:

Color_Code - IF('Scatter chart'[color]-"Rojo",1,2)
2. Then plot the data as below screenshot shown. Start both axes from zero values
scatter.PNG




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

View solution in original post

5 REPLIES 5
negi007
Community Champion
Community Champion

@Lovebo01 To create scatter plot, one of the axis has to be a calculated field/numeric field. Can you please share your data and what you wish to see on the scatter plot.




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Hi,

Thank you all for your responses,

 

Here a set of data :

sizecolorsales
1red30
2blue5
3red25
4blue12

 

And the graphic that I want to do :

 

scatterplotchart.PNG

 

The size of the bubble depends on the value "sales".

 

@fhill I tried to apply your solution with the line chart but with 2 axis I don't know if it's possible, the size of the marker can depends on another value ?

 

Thank you,

Lovebo

negi007
Community Champion
Community Champion

@Lovebo01 You can perform the steps below to create the scatter plot that you want to have

1. Create a calculated column:

Color_Code - IF('Scatter chart'[color]-"Rojo",1,2)
2. Then plot the data as below screenshot shown. Start both axes from zero values
scatter.PNG




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

fhill
Resident Rockstar
Resident Rockstar

 

The nature of a Scatter Chart required numberic values on both the X and Y axis, BUT have you tried creating a Line Chart where the Stroke Width is set to 0, and the Show Marker is turned on with default circles?  I think this may be closer to what you want?

 

(I have a scond Y axis in the demo example below, but you can play around with the values?)

 

Forrest

 

fhill_0-1599064983529.png

 




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




Pragati11
Super User
Super User

Hi @Lovebo01 ,

 

Try using a summarisation on Y-axis field like AVERAGE or SUM.

See if that displays results correctly.

 

Also do share screenshots of your chart.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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