Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi @Midsummer
Please check whether you have installed node.js in your PC.
And then follow the steps as below to build your custom visual by R code in Power BI.
Step1: You should download NodeJS 4.0+ Required (5.0 recommended) from https://nodejs.org/.
Step2: Follow the steps proposed by Avi Sander. Create an “rhtml” template.
Reference Blog: Interactive Charts using R and Power BI: Create Custom Visual
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.
Hi @Midsummer
Please check whether you have installed node.js in your PC.
And then follow the steps as below to build your custom visual by R code in Power BI.
Step1: You should download NodeJS 4.0+ Required (5.0 recommended) from https://nodejs.org/.
Step2: Follow the steps proposed by Avi Sander. Create an “rhtml” template.
Reference Blog: Interactive Charts using R and Power BI: Create Custom Visual
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.
Thank you very much for your help
Hey @Midsummer ,
please provide the R code.
Do you receive the error message in Power BI Desktop and the Power BI Service?
You have to use the default graph device if you want your chart rendered in Power BI
Regards,
Tom
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
42 | |
30 | |
27 | |
26 |