Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

R visuals are working on power bi desktop but not on service

Hello,

 

I have created a custom heatmap that runs perfectly on power bi desktop (also bar charts). However, when I publish them on the service, the labels on y-axis are  converted decimals on most of the charts (they work fine only when I choose single filtering). I have tried to do a workaround  by changing the factors into characters but that does not seem to be the solution.

 

Please advise, thanks.

2 REPLIES 2
v-xiaoyan-msft
Community Support
Community Support

Hi @Anonymous ,

 

In the course of investigating this issue for you, we found that there were users who shared similar experiences to yours.
When he was using R visual, when loading this duration type column into Power BI, the column was converted from a duration into a decimal type.

He uses "string formatting" to overcome the lack of "duration formatting".

 

For more information,you can refer to CUSTOM AXIS FORMATS IN POWER BI USING R VISUALS 

 

Best Regards,
Community Support Team _ Caitlyn

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Thanks dear, I noticed that you might need to change the syntax or the analysis approach if it does not work on the services.

 

Just to follow up, I changed syntax and the R visuals had worked perfectly fine on the service for a couple of days, however, 2 days ago I accessed the service and no visual was showing. Did power bi changed anything regarding this service or is it a bug? I read something like that, I am based in Greece and my visuals are still not working on the service.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.