The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all,
I am trying to build a corporative theme in JSON file.
I need to set the style preset for the matrix visual as "Alternating rows", so I tried possible combinations on the following instruction:
"pivotTable": {
"*": {
"stylePreset":[{
"name":"Alternating rows"
}],
But it turns to "Default" on PBI desktop.
If the style preset is defined with only one word (for example: None, Minimal, Condensed, etc.) there is no problem and it works.
Which is the parameter I should use?
Many thanks in advance.
Josep.
Solved! Go to Solution.
Hi @mussol_,
Ah, I tried some variations and came up with the correct one. The complete JSON for a Matrix is:
"pivotTable": {
"*": {
"stylePreset": [
{
"name": "AlternatingRows"
}
]
}
},
Hi @mussol_,
Ah, I tried some variations and came up with the correct one. The complete JSON for a Matrix is:
"pivotTable": {
"*": {
"stylePreset": [
{
"name": "AlternatingRows"
}
]
}
},
User | Count |
---|---|
5 | |
3 | |
3 | |
2 | |
1 |
User | Count |
---|---|
11 | |
7 | |
4 | |
4 | |
4 |