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
Hayleysea
Resolver II
Resolver II

Error when making a scatter chart

Hi there,

I need to make a scatter chart with the X Axis being Month and the Y Axis got from -3 to 3. I'm getting the error:

 

"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."

 

The dots should show one dot per entry in my data or the months. What do I need to do to get this to work? I feel like it's way too complicated for something so simple.

6 REPLIES 6
Hayleysea
Resolver II
Resolver II

@Tahreem24 @amitchandak 

Thanks for you replies. Here's some sample data

Month (X axis) - TextScore (Y axis) - Whole numberUnique ID (count for values)

Jan

-3A
Feb0B
Mar1C
Apr-2D
May-1E
Jun3F
Jul2G
Icey
Community Support
Community Support

Hi @Hayleysea ,

 

Try this:

scatter.gif

 

 

Best Regards,

Icey

 

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

Thank you. When I change it to sum it goes from -5 to 40? It doesn't look like yours but it is formatted as whole numbers. Anything else I should check?

Icey
Community Support
Community Support

Hi @Hayleysea ,

 

When encountering repeated categories, Power BI will automatically calculate the aggregate (sum) value. So, in the Scatter chart, it will sum all scores of the same month. 

It is suggested to add an index column in your table and then put it into Legend field. Or, use R visual.

 

 

 

Best Regards,

Icey

 

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

Tahreem24
Super User
Super User

@Hayleysea ,

It may be due to Data type. Could you please define the Data type of your Month (X-axis) and Column (Y-axis)? It will be more easier for us to help you.

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
amitchandak
Super User
Super User

@Hayleysea , what are you using on Y-axis. In case you are using no numeric value on x-axis remove details and legend and try again

 

https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-scatter

 

Can you share sample data and sample output in table format?

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.