Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
we have created an individual R-visual using the R-package "survival".
The first step is modelling the curve with Kaplan-Meier using the function survfit:
kaplanMeierCI <- survfit(Surv(dataMod$time[], dataMod$variable[], type="mstate") ~  1)
After that, the predictions kaplanMeierCI$prev[,] are plotted with "plot" and "polygon".
In the Power-BI-Desktop-version of the report, the visual is displayed correctly (the output is a graph with a survival curve). The visual has also been working correctly in Power-BI-Service until some days ago.
Since last week, the survival-functions do not work any more after publishing the report to Power-BI-Service - the output of the functions is NA (without having changed the R-code). The visual doesn't create an error.
Actually, the it should be supported by Power-BI-Service: https://docs.microsoft.com/de-de/power-bi/service-r-packages-support
Could there be another reason why the functions work in Power-BI-Desktop but not in Power-BI-Service?
Thank you and best regards
Theresa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.