cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Formatting Issue - Data Labels

Hi,

 

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.

 

Any ideas?

 

Thanks,

MartynData Labels.PNG 

7 REPLIES 7
Highlighted
Super User IV
Super User IV

Re: Formatting Issue - Data Labels

@martyngordon do you have text size in json theme file?






Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





Highlighted
Super User II
Super User II

Re: Formatting Issue - Data Labels

Hi,

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. 

Br,

J


Connect on LinkedIn
Highlighted
Post Partisan
Post Partisan

Re: Formatting Issue - Data Labels

Go to the Format pane. Select Detail labels function. Go to Label position. Change from Outside to Inside.

Highlighted
Helper I
Helper I

Re: Formatting Issue - Data Labels

Thank you @parry2k@tex628 and @Lewis-H for your replies.

 

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?

 

Strange

Highlighted
Super User IV
Super User IV

Re: Formatting Issue - Data Labels

@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.

 






Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





Highlighted
Super User II
Super User II

Re: Formatting Issue - Data Labels

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. 

Br,
J


Connect on LinkedIn
Highlighted
Super User I
Super User I

Re: Formatting Issue - Data Labels

@martyngordon 

 

The minimum font size that power bi allows is 8. Try that in your JSON and see if that works.

 

If it helps, mark it as a solution

Kudos are nice too

Connect on LinkedIn

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors
Top Kudoed Authors