I'm having trouble trying to format the data label size in a clustred column chart.
My report originally had an old style imported theme (as in, my own customised theme in JSON code). I have recently updated Power BI desktop from the older version I was using and now I don't seem to be able to control the text size of the data labels. Screen shot below.
The text size seems to be 'frozen' at 7.2pt and has a red border around the field.
From what i can tell PBI Desktop can't handle text size in decimal values and my guess is that it bugs out due to the specifications in the theme. If your aim is to continue using this custom theme i would advice you to change the config to whole number.
The JSON file had no text size detail included. @Lewis-H I've given your suggestion a try and the text is still holiding at 7.2pt for some reason.
Some more info if this helps diasnose the problem:
When I opened my report in the updated version of Power BI desktop, all was fine, however the background colour of my 'mobile view' report pages was green. I had to make changes to the theme using the newer style theme customisation to remove the green background (which bizarrely only shows on the mobile pages). But this has now given me the issue of the 7.2pt size data labels which I can't change. Maybe Power BI reports struggle to format as you'd like them to if they have a mixture of themes? - as in a report that uses an imported theme from a JSON file AND updated theme formatting using the newer style theme customisation?
@martyngordon can you try to use some in-built default theme and see if that works and allows you to make the changes. Let's isolate the problem and use something default and go from there.
Some type of compability issue when modifying an old custom theme doesn't sound to far fetched. If you know how, you could try and directly change the text size in the JSON file. Otherwise i would start with @parry2k's suggestion and try temporarily changing to a different theme to se if that allows you to toggle off the 7,2 size.
It’s time for another PBI Community recap!
Visit our Community Blog for articles, guides, and information created by fellow community members.
Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.
Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!