Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi!
I am using the following R script (see code in blue) to generate a Sankey diagram visual . It works perfectly in R Studio but it does not generate something in Power BI and it says "Can't display this visual". Does anyone knwo what the issue could be?
HI @Anonymous ,
You may have a look at below articles to check if those are helpful or not.
https://community.powerbi.com/t5/Desktop/R-graphics-libraries-does-not-work-in-PBI/td-p/259473
https://medium.com/@dr_eldersveld/r-visuals-in-power-bi-beyond-plots-74c618f2e6f3
https://docs.microsoft.com/en-us/power-bi/desktop-r-visuals
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
I am sorry, but this link did not help me to solve this.
It shows a technique for when the R is not returning a png/image that can be rendered. You can raster what you see in R Studio to an image so that it shows up.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Please see this article.
Hijacking the R Visual - P3 Adaptive
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.