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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Frequent Visitor

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



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.

Community Support
Community Support

Hi @Rama1 ,


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.


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


Fabric certifications survey

Certification feedback opportunity for the community.


Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors