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
Anonymous
Not applicable

Report Theme Documentation: September Update

I'm looking for basically a full enumeration of all of the JSON labels possible with the new update. I've found the documentation here:

https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-report-themes/

 

It seems to do a good job listing out JSON keys for visualizations and top-level design options, but doesn't list the names for the options within those. For example, the ability to default to not concatenating X-axis labels, I would assume is something like:

"categoryAxis":[{
    "showAxisTitle":true,
    "concatenateLabels":false
}],

Unfortunately, this doesn't seem to work, and I can't seem to find docs on where these suboptions are.

 

Does anyone have a more extensive example of the new theme options?

6 REPLIES 6
SWilson_GS
Helper I
Helper I

Shoot, I wish this wasn't posted anonymously. @v-qiuyu-msft , was there ever any resolution to this that you found? Within visualStyles I have the below in each of my column/barchart segments but my graphs are still concatenating. 

 

"categoryAxis": [
					{
						"show": true,
						"position": "Left",
						"concatenateLabels": false,
						"showAxisTitle": true,
						"gridlineShow": false,
						"titleText": ""
					}
				],

 Thanks!

 

Sara

v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous,

 

You can try the sample below: 

 

{
    "name": "ConCatOff",
    "visualStyles":{
        "*":{
            "*":{
                "categoryAxis":[{
                    "showAxisTitle":true,
                    "concatenateLabels": false
                }]
            }
        }
    }
}

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks, @v-qiuyu-msft, but I was mostly using that as an example. I'm still looking for a list that includes the myriad of other options that are also at the hierarchical level of the label concatenation option.

 

If there was a rule for the JSON that was strictly camel casing of the option, sans punctuation, I could go off of that, but unfortunately that doesn't seem to be the case in all situations.

v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous,

 

I have sent a email to consult this issue internally. Will update here once I get feedback. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MaryF
Advocate II
Advocate II

Check out https://powerbi.tips/tools/report-theme-generator-v3/  This will generate a json file which you can then review to better understand the make up of a theme.

 

I happen to be using it right now and it's great.

 

Hope this helps

 

Mary

Anonymous
Not applicable

@MaryF, that looks solid. It's missing some things I was looking for, but I'll definitely be using this to generate quick examples. Thanks!

 

@v-qiuyu-msft, awesome, I look forward to seeing what comes up.

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.