Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How come any computer can open a Plotly based .pbiviz plot? Even if it doesn't have R installed

Hi all,

 

I'm learning how to create custom plots (.pbiviz) based on R Plotly.

 

I created my first plot, which worked in my computer. I sent it to a coworker, who couldn't open it. He didn't have the most recent versions of some of the libraries I used, according to the error he got.

 

My company has some templates which include custom plots (.pbiviz) based on R Plotly that seem to work in any computer, even if it doesn't have R installed. We send these .pbi files to our costumers and they never give them any trouble. I even tried one in a personal computer I have, which doesn't have R, and they work just fine.

 

I'm clearly missing something. How is this possible?

 

Thanks!

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

@Anonymous - Are you creating an R visual or an actual .pbiviz file?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi Greg,

 

I did some research and it looks like it is possible to create Plotly graphs without R, using Java. I think these graphs can be run in any computer, even if it doesn't have R.

 

I'm not sure if I understood correctly.

 

Does it ring any bells to you?

 

I appreciate all your help.

Anonymous
Not applicable

Hi Greg,

 

An actual .pbiz file—i.e. using pbiviz package in PowerShell.

 

That part seems to be right, my plot works in my computer.

 

What defies the logic is how some other .pbiviz based on Plotly work in any computer but mine doesn't.

 

Thanks!

Anonymous
Not applicable

@Anonymous 

Something you can take a look:

How to generate custom visuals in Power BI using R

Tutorial: Developing a Power BI visual

open a .pbiviz file


Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
 

 

Anonymous
Not applicable

Thanks for your reply, but that's not what I'm needing.

 

I'm familiar with hot to create a Plotly graph in R, packing it as a pbiviz, and importing it and using in in PBI.

 

I'm just trying to understand how to create and Plotly graphs that can be imported and used as pbiviz in any computer, even if it doesn't have R. I've seen this working, I just don't know how. 

 

Thank you though!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.