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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
LSWilliams94
New Member

Scatter chart two numerical values not plotting

Hi

 

I'm trying to see if there's a relationship between tenure and salary in my HR dataset, i'm using a scatter chart but when I add tenure to x-axis and salary to y-axis, click do not summarise to show each individual plot pair, i'm getting a "if your x-axis is categorical, choose a summarisation for the x or y-axis" error. How can I check if my values are categorical? i do not want them to be.

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the replies from suparnababu8 and rohit1991.

 

Hi @LSWilliams94 ,

 

Please recreate a scatter chart and set the x-axis type to continuous instead of categorical:

 

vlinhuizhmsft_1-1737355110603.png

Best Regards,
Zhu

 

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

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Thanks for the replies from suparnababu8 and rohit1991.

 

Hi @LSWilliams94 ,

 

Please recreate a scatter chart and set the x-axis type to continuous instead of categorical:

 

vlinhuizhmsft_1-1737355110603.png

Best Regards,
Zhu

 

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

suparnababu8
Super User
Super User

Hi @LSWilliams94 

 

I think your Tenure column having the Categorical data type. Make sure to check the correct data types of columns before adding it to x-axis and Y-axis. The primary rule to add values to X and Y axis of a scatter chart is 1N + 1N
N - Numerical columns

 

You can check the data type under column tools in PBI desktop. If you need correct solution Pls provide sampl data and expected output mockup. Make sure while sharing the data don't include sensitive information.

 

Thanks!

 

Thanks for the reply.

 

I can't see how to upload the file so I will post screenshots.

 

LSWilliams94_0-1737197413732.pngLSWilliams94_1-1737197445762.pngLSWilliams94_2-1737197461093.png

 

Even when I'm adding any other numerical fields, it's not liking it.

 

I would just like to a see a plot for every pair: (62506 : 14, 64991 : 17)

Hi, @LSWilliams94 , The issue arises because Power BI might treat tenure or salary as categorical. To fix it:

  1. Check Data Types: Ensure both tenure and salary are set as Whole Number or Decimal Number (not Text or Categorical).

  2. Summarization: Set both fields to "Don't summarize" in the properties and ensure no default aggregation is applied.

  3. Rebuild Chart:Remove the current scatter chart, recreate it, and re-add tenure to X-axis and salary to Y-axis.

This ensures both fields are treated as numerical.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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