Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everyone, I have transfered this R code from Rstudio into power BI and everything runs fine with no errors but no visuals appear. When I run this same code in RStudio the visual appears exactly how I want it to. I am using the networkD3 and dplyr packages to create a sankey diagram.
Solved! Go to Solution.
Hi @Anonymous ,
I find a solved post with similar problem like yours. You can follow the blog to create the R visual in Power BI.
For reference:
Interactive Charts using R and Power BI: Create Custom Visual Part 1
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is the flag that is appearing when I run the code in Power BI but I am clearly calling sankeyNetwork to have the visual appear. Does this have to do with how I am calling the data values? I am pretty new to using power bi with R so I would not be surprised if I am doing a mistake like that.
Hi @Anonymous ,
I find a solved post with similar problem like yours. You can follow the blog to create the R visual in Power BI.
For reference:
Interactive Charts using R and Power BI: Create Custom Visual Part 1
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 4 | |
| 4 | |
| 3 |