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.
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?
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
Hi @Anonymous,
You can try the sample below:
{ "name": "ConCatOff", "visualStyles":{ "*":{ "*":{ "categoryAxis":[{ "showAxisTitle":true, "concatenateLabels": false }] } } } }
Best Regards,
Qiuyun Yu
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.
Hi @Anonymous,
I have sent a email to consult this issue internally. Will update here once I get feedback.
Best Regards,
Qiuyun Yu
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
@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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |