Forum Discussion
Custom Theme JSON enumerable for Display Units (Auto, None, Thousands, Millions, Trillions...)
I'm wondering how to set my Power BI Custom JSON theme to default all Cards to default my Display Units to be "NONE". My users don't like Auto.
I don't see Display Units listed under the Enumerables section and I'm wondering why. I saw most others. Here's the link to the article I've been referencing.
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-report-themes/
{
"name": "My Custom Theme",
"dataColors": [
"#FFFFFF'
...
],
"background": "#ffffff",
"tableAccent": "#ebebeb",
"foreground": "#424242",
"visualStyles":{
"*":{
"*":{
"*":[{
"responsive":true,
"wordWrap":true,
"labelStyle":"Both",
"displayUnits": "None"
}],
"wordWrap":[{
"show":true
}]
}
}
}
}
Based on my research, there is not such a property currently.
If you have any concern on this feature, you can submit your idea on the link below. If this feature was mentioned by mulitple users, product team will consider to add this feature to next release.
https://ideas.powerbi.com/forums/265200-power-bi-ideas
Thank you for your understanding.
Regards,
Charlie Liao
2 Replies
- Marlou1989Advocate I
Yes, there is a way:
"labels": [ { "show": true, "labelOrientation": "horizontal", "fontSize": 10, "labelDensity": 100, "labelDisplayUnits": 1 } ]The 1 represents the None.
- v-caliao-msftMicrosoft Employee
Based on my research, there is not such a property currently.
If you have any concern on this feature, you can submit your idea on the link below. If this feature was mentioned by mulitple users, product team will consider to add this feature to next release.
https://ideas.powerbi.com/forums/265200-power-bi-ideas
Thank you for your understanding.
Regards,
Charlie Liao