Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi,
I have puplished power BI page to (app.powerbi.com) which include 3 visualizations of R scripts.
Although in PowerBI desktop the scripts are running fine, in (app.powerbi.com) the mentioned R scripts run for limited time. As an example when I select 2-4 items in the page that trigger the run of the mentioned 3 R scripts, the scripts run correctly, but if I started selecting more than 4 elements the script stop working without showing any error message.
I assume that such behavior is due to the limited cache provided for R scripts in (app.powerbi.com), therefore I would like to check with you if I need to include in code that refreshes the scripts every time they run to clear the cache?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Anonymous,
There are some known limitations on running R script. And this issue is very likely that the calculation exceeds the limitatioin.
For more details, you could refer to Create advanced analytics and visualizations using R scripts - Power BI | Microsoft Docs and Create Power BI visuals using R - Power BI | Microsoft Docs.
Best Regards,
Community Support Team _ Caiyun