Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
andrewporter
Advocate I
Advocate I

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
				}]
			}
		}
	}
}

 

1 ACCEPTED SOLUTION
v-caliao-msft
Employee
Employee

@andrewporter,

 

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

View solution in original post

2 REPLIES 2
Marlou1989
Advocate I
Advocate I

Yes, there is a way:

 

 "labels": [
                    {
                        "show": true,
                        "labelOrientation": "horizontal",
                        "fontSize": 10,
                        "labelDensity": 100,
                        "labelDisplayUnits": 1
                   }
]

  The 1 represents the None.

v-caliao-msft
Employee
Employee

@andrewporter,

 

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.