Forum Discussion
Overlaying scatter plots with R
My understanding is that you input into R various dimensions and measures etc. which will form a table and be translated into a dataframe for you to play with in R (the dataset in the grey bit).
Apart from this there is no other way of getting data into your R script so if you cannot join your data into one table then you cannot feed two dataframes into R from Power BI.
If you want to go particularly rogue (i do not recommend this for any robust processes but as a one of it works), you could send your first dataset into R. And for your second datset, create a table (visual) in Power BI of your data, export it as a csv to your desktop and then in your R script in power BI you can read.csv() your exported data to bring in your second dataset.
Obviously the above is a manual process and really only works as a one off.
Alas I can't think of any other way to plot two datasets in power bi at the same time.
Hope this helps,
Will