Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
I have added a R Visual in my report. Here is the R Script which provides the visual as a Dataframe
install.packages("gridExtra",repos="http://cran.us.r-project.org")
library(gridExtra)
with(dataset, {
out_matrix <- matrix(0,nrow=nlevels(ANSWER1), ncol=nlevels(ANSWER2),
dimnames=list(levels(ANSWER1), levels(ANSWER2)))
out_matrix [cbind(ANSWER1,ANSWER2)] <- COUNT
#grid.table(out_matrix )
Xsq <- chisq.test(out_matrix )
pvalue <- toString(Xsq$p.value)
df <- toString(Xsq$parameter)
csq <- toString(Xsq$statistic)
x<-data.frame(csq,df,pvalue)
names(x)<-c("Chi Square","Degree of Freedom","P Value")
mytheme <- gridExtra::ttheme_default(
core = list(fg_params=list(hjust=1,x=1,cex = 2.0),bg_params=list(fill="white")),
colhead = list(fg_params=list(cex = 1.0),bg_params=list(fill="white")),
rowhead = list(fg_params=list(cex = 1.0)))
grid.table(x, rows = NULL,theme=mytheme )
})This works fine in Power BI Desktop but when I publish it and try to open in Power BI Service I only "Script Execution Time Out"
Please help
Power BI Service
Power BI Desktop
Solved! Go to Solution.
HI @kpratik,
I'd like to suggest you take a look at following link which told about limitations of r visual:
Creating R visuals in the Power BI service
R visuals in the Power BI service have a few limitations:
Regards,
Xiaoxin Sheng
I got the same issue.
The script execution timed out, please try again later
Please try again later or contact support. If you contact support, please provide these details.
Hide details
Activity ID189db995-aeb6-4715-99a2-a45d628dca41
Request ID82b8b626-d0a7-30d0-f20b-b421bc1f8399
Correlation ID72472f60-4c19-bd91-be5e-70bc60d76016
TimeTue Nov 08 2022 09:28:43 GMT+0100 (Central European Standard Time)
Service version13.0.19403.8
Client version2210.5.10743-train
Cluster URIhttps://wabi-north-europe-q-primary-redirect.analysis.windows.net/
I have checked the R visuals in the Power BI service have a few limitations.
But I still don't know which is exact reason.
Does anyone can help me? Thanks!
HI @kpratik,
I'd like to suggest you take a look at following link which told about limitations of r visual:
Creating R visuals in the Power BI service
R visuals in the Power BI service have a few limitations:
Regards,
Xiaoxin Sheng
Hi ,
I got the same issue as follows:
The script execution timed out, please try again later
I don't know what is the exact reason. Can you help me? Thanks!
And my R script as follows:
@Anonymous I am having this same issue. Is there a way to edit the visual or timeout duration so my visual will load?
Thank you.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 8 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 51 | |
| 43 | |
| 30 | |
| 27 | |
| 25 |