Showing results for 
Search instead for 
Did you mean: 

DiagrammeR with grViz not working in Power BI Service



I have developed a R powered custom visual to show a graph but while DiagrammeR library has been listed on supported R libraries in Power BI service but it does not work with "Resources Exceeded" error.

Does anyone have any suggestion?



Status: Needs Info

Hi @hnreza,


Do you mean you import your own custom visual to Power BI or add a R visual and run script to plot a visual?


If it's former, please share .pbiviz file with us, otherwise, please share R script. It would be better if you could share pbix file for these two scenarios. 


Best Regards,
Qiuyun Yu 

Status changed to: Needs Info
Frequent Visitor

Hi v-qiuyu-msft,


It a simpe custom visual that you can get here. And its R script is: grViz("digraph {layout = twopi node [shape = circle] A -> {B C D}}").

In Power BI Desktop it works but in Power BI service not.