Forum Discussion
Anonymous
8 years agoNot applicable
Issue with the R visuals text label
I want to post a new meesage separately, I have issue with the Rvisual after published to the server since last Thursday, not sure if there is any major update in the Power bi server site. The report...
- 8 years ago
Hi Anonymous
There was a bug fix a little while ago that appears to have unintentionally led to this regression. We already know the fix, we can start right away on getting it deployed, though it may take a little while.
In the meantime if this is causing issues, there is a workaround. You can add the following lines to the beginning of your R script:
if (exists("powerbi_rFontName")){library("showtext")showtext.opts(dpi = powerbi_rPngDeviceDpi)showtext.auto()}
I created a PBIX with 2 R visuals, 1 without the fix and one with. I’ve pasted below 2 screenshots I took: one of the visuals in PBI Desktop, and another of the same pbix once published to service. Once the fix is deployed, these lines can be removed, but they should not cause any issues if you leave them.Best RegardsMaggie
Anonymous
8 years agoNot applicable
Thank you v-juanli-msft for looking into this, hope there will be some solutions soon as currently this affected most of our R visuals reports.
v-juanli-msft
8 years agoCommunity Support
Hi Anonymous
There was a bug fix a little while ago that appears to have unintentionally led to this regression. We already know the fix, we can start right away on getting it deployed, though it may take a little while.
In the meantime if this is causing issues, there is a workaround. You can add the following lines to the beginning of your R script:
if (exists("powerbi_rFontName")){
In the meantime if this is causing issues, there is a workaround. You can add the following lines to the beginning of your R script:
if (exists("powerbi_rFontName")){
library("showtext")
showtext.opts(dpi = powerbi_rPngDeviceDpi)
showtext.auto()
}
I created a PBIX with 2 R visuals, 1 without the fix and one with. I’ve pasted below 2 screenshots I took: one of the visuals in PBI Desktop, and another of the same pbix once published to service. Once the fix is deployed, these lines can be removed, but they should not cause any issues if you leave them.
I created a PBIX with 2 R visuals, 1 without the fix and one with. I’ve pasted below 2 screenshots I took: one of the visuals in PBI Desktop, and another of the same pbix once published to service. Once the fix is deployed, these lines can be removed, but they should not cause any issues if you leave them.
Best Regards
Maggie
- slado20088 years agoFrequent Visitor
That's worked, thanks very much
- Anonymous8 years agoNot applicable
Hi v-juanli-msft Thank you so much for your updates, the script does fix the issue. Thank you!