Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
03-10-2017 11:28 AM - last edited 09-08-2017 13:36 PM
The default theme for Power BI is not the best choice for color blind users. This theme is meant to be a better choice for your reports if you have users who are color blind. It is based on the color palette found here: http://mkweb.bcgsc.ca/biovis2012/
eyJrIjoiMjdlMmQzN2MtMzI1MC00ZDBlLWE0NzYtNzAzYjQzYmM5YjUzIiwidCI6IjcxYTY4MDJjLWNiZjItNDQzOC05YTVmLWFjMmJlYTMyOTJjZCIsImMiOjN9
Thank you for your file. I am new to coding and have a question. What is the use of "*" and why it is being used here? Below is the extract from your code:
"visualStyles":{"*":
{"*":
{"*":[{"fontSize":8,"fontFamily":"Calibri, Cambria","color":{"solid":{"color":"#e54016"}}}],
"general":[{"responsive":true}],
"plotArea":[{"transparency":100}]
}
},
Thanks in Advance !!
Hi!
It's a bit late but reading the documentation, here is the answer:
Thank you, it was helpful to decode theme code heirarchy.
You can refer to Microsoft's Use Report Themes in Power BI Desktop (Preview), the Report theme JSON file format section for details on using asterisks in Themes. Also, Curbal's Power BI Template to create Report Themes with the JSON template includes a useful Guide to creating JSON files.
Thanks Buddy. It was really helpful. I appreciate your time in responding to my query.
when I posted the above comment, I was new to this code. As I can see there are 808 view as on 16th Jan 2018, no one was able to comment on this.
I was able to dig and on my own was able to understand the above code.
People, please respond to the query as it will save time of others.
Any idea what in this theme would cause my slicers to now have a gray background?
I can't find a way to manually change it back, either.
What type of grey are you seeing? There is a "foreground" color of #074650 that is a greenish grey. It's on line 5.
What type of grey are you seeing? There is a "foreground" color of #074650 that is a greenish grey. It's on line 5.