Forum Discussion
Color in PBI Desktop and Service different
Hi friends,
Anyone can advice me on why my color, especially for title is different between in Power BI Desktop and the published / Power BI Service ?
I'm using Theme, a custom one, but the point is the titles in Power BI Services is more blur / grey-ish than what I have set.
This is from my PBI desktop :
It is black.
But in Power BI Service :
Clearly if we compare by other character's color such as :
- items in drop down list
- values in table
- values in chart
- values in gauge
In PBI desktop having the same black as in each title on its own visual, but after published, in became grey-ish.
As this is from different visual, as it is happened all of my report pages, it is hard and tedious for me to manually change it, not to mentioned what I saw in PBI desktop is just fine.
From the theme, I'm not sure where to set, I only find this ->
it did says main titles and axis titles, but over here I set again to have black color, and of course because in PBI desktop is correct there is no changes, yet after published again, the color turn grey.
Thanks,
5 Replies
- v-yalanwu-msftCommunity Support
Hi, admin_xlsior ;
I have made a test on your issue but couldn't reproduce this issue.
1.Which browser are you using? Please try different browsers and check if this issue is same.
2.Try updating the Desktop and gateway versions and then redistributing.3.Custom report theme textClasses may not apply if not fully defined.
As a workaround, the user should define fontSize, fontFace, and color for each of the four base textClasses (callout, title, header, label) in their custom theme. At a minimum, it should look like the snippet of JSON in the documentation (though the values for the different properties can be changed): https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes#setting-formatted-tex...
Besides, take a look at Limitations and considerations.
If this issue persists, I would suggest you to create a support ticket here.
https://community.powerbi.com/t5/Issues/Published-Report-Font-Size-Increasing/idi-p/2010909#comments
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- admin_xlsiorPost Prodigy
I'm using Edge, as the recommended browser, but I checked with other, Chrome also result the same.
For PBI Desktop I haven't update yet, since there is a problem with my ERP (Dynamics 365 Finance) which forced us to use Sep 2020 version.
For the Texts you said, is the one I captured for Theme editor, right ? It's the Text section on Customize theme ?
Thanks,
- v-yalanwu-msftCommunity Support
Hi, admin_xlsior ;
This is the code for JSON, try to change it.
Here's an example theme that sets only the primary text classes:
{ "name": "Custom Theme", "textClasses": { "callout": { "fontSize": 45, "fontFace": "DIN", "color": "#252423" }, "title": { "fontSize": 12, "fontFace": "DIN", "color": "#252423" }, "header": { "fontSize": 12, "fontFace": "Segoe UI Semibold", "color": "#252423" }, "label": { "fontSize": 10, "fontFace": "Segoe UI", "color": "#252423" } } }Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- admin_xlsiorPost Prodigy
Thanks, I've looked at the save theme file, actually it already has that. Btw, is there any tools to open this JSON theme file propertly ?
Currently I'm using notepad, and it's just not easy to look as all the lines are packed together ?
If there is an online tool, an easy and simple for just display it with nice indent and linebreak will be more convinient.
Thanks
- admin_xlsiorPost Prodigy
Hi v-yalanwu-msft ,
I'm using https://jsonlint.com/ for this. and changed the JSON part as you're adviced. It was somehow stated as grey (#666666) not sure from where. But after change it to #3d3d3d, which is more black, saved and import again to my report, and published. Yet it looks no efect in PBI Service.
I issued a support ticket then, I'll inform the outcome.
Thanks