March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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"
}
]
}
},
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
9 | |
3 | |
2 | |
2 | |
2 |