Forum Discussion
Scatter Plot Aggregating X and Y
- 9 years ago
Hi Micheal
You can use R script to get a scatter chart with non aggregated values. The script is simple.
You should create your dataset by dragging the fields into the values area and write the below script.
plot(dataset$SGPScore, dataset$SGPSTARRdg, xlab=”SGP Score”, ylab=”SGPSTARRdg”, xlim=c(0,300), ylim=c(0,300), main=”SGP Score Vs SGPSTARRdg”, pch=2, cex.main=1.5, frame.plot=FALSE, col=”green”)
Scatter plots on Power BI require a measure on each axis - you can't use just columns. Workarounds are discussed in this thread: https://community.powerbi.com/t5/Desktop/Scatter-plot-summarizing-data/td-p/37229
You can vote to have this issue addressed on this idea, and maybe others: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/9784617-ability-to-put-categorical-field-on-the-axis-when
- Michael19 years agoAdvocate II
Steve,
Thank you for your reply. I have voted on the forum.
Michael