Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
18 | |
18 | |
13 | |
12 |
User | Count |
---|---|
36 | |
22 | |
21 | |
18 | |
12 |