Forum Discussion
Scatter chart two numerical values not plotting
- Anonymous1 year ago
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:
Best Regards,
ZhuIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.
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)
- rohit19911 year ago
Super User
Hi, LSWilliams94 , The issue arises because Power BI might treat tenure or salary as categorical. To fix it:
-
Check Data Types: Ensure both tenure and salary are set as Whole Number or Decimal Number (not Text or Categorical).
-
Summarization: Set both fields to "Don't summarize" in the properties and ensure no default aggregation is applied.
-
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.
-