Forum Discussion
Error displaying custom visual in Power BI Service
Hello,
I have created a custom visual utilizing ggplot2 and lubridate libraries, it is a gantt chart where projects are listed with dates on the x-axis. It displays correctly both in Power BI Desktop, as well as in R Studio, However, once I publish it to the Power BI Service I get the following error:
Please try again later or contact support. If you contact support, please provide these details.
2 Replies
- v-piga-msftResident Rockstar
Hi wolfk0,
Firstly, please check if you have hit these known limitations.
In addition, if the package you used is not supported in Power BI Service, you will get an error.
Please check if your packages are supported in Power BI Service with this document.
Best Regards,
Cherry
- wolfk0New Member
Hi Cherry - thaks for your response. I double checked, and all packages I am using are supported in Power BI, and I don't think I have run into any of the known limitations you pointed out to me. I am using the as.Date() functionality in order to pass in dates, and have no times associated with anything. The rest of the limtations seem not to apply...
I'm not sure, but it seems as though there is an operation that is being executed that isn't possible with the date format from the error that says:
Error in Ops.Date((x - from[1]), diff(from)) : / not defined for "Date" objects
However, I do not understand why I only get this error when I publish my Power BI Desktop session, but don't ge **bleep** when I run the code in either the Power BI Desktop application, or if I run it within R Studio - in both those cases I get my graphic displayed as it should.
Any insights are welcome!!