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.
Hey, Internet!
I'm putting together Report Theme JSON files for my team so we have consistent branding and functionality across all of our Power BI solutions, but I'm struggling to find guides for writing JSON files that aren't just the basic commands/parameters. For example, I'm looking to change the font color for buttons when the button is pressed. (If anything, providing button commands/parameters alone would be helpful.)
For context and to help others who are unaware, here are the resources that I have found so far for anybody that might need them.
Thank you in advance!
- Peyton
This is what I use for my company's theme .json but it doesn't have all parameters as I myself am still trying to find and build a full theme template; Microsoft is horrible at documenting and explaining in simplistic terms as you've probibly seen. This code just makes a simple circular button with a thicker ring when hovered but you can mess around with the values and enter your own colours and such.
Hope this helped a little.
"actionButton":{ "*":{ "outline":[ {"show":false} ,{ "$id":"default" ,"lineColor":{"solid":{"color":"#3498db"}} ,"transparency":0 ,"weight":2 ,"roundEdge":90 } ,{ "$id":"hover" ,"lineColor":{"solid":{"color":"#3498db"}} ,"transparency":0 ,"weight":3 ,"roundEdge":90 } ,{ "$id":"selected" ,"lineColor":{"solid":{"color":"#00668a"}} ,"transparency":0 ,"weight":3 ,"roundEdge":90 } ] ,"fill":[ {"show":false} ,{ "$id":"default" ,"transparency":100 ,"fillColor":{"solid":{"color":""}} } ,{ "$id":"hover" ,"transparency":100 ,"fillColor":{"solid":{"color":""}} } ,{ "$id":"selected" ,"transparency":100 ,"fillColor":{"solid":{"color":""}} } ] ,"title":[{ "show":false }] ,"background":[{ "show":false }] } }
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 |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |