Forum Discussion
Table Background - Conditional Formatting
Hi,
I'm attempting to add a light mode/dark mode option in my report and I've succeeded to do the workaround in all the visuals so far but the table.
The screenshots below are showing what the end outcome I'm looking for when I toggle the Dark Mode/Light Mode button with the DAX formula below (I use it for all the other visuals in the Conditional Formatting function and I have a table in the background with the HEX colours for each option):
Text Color
Background Color
Thank you very much for all your support!
use two different table visuals, each with their theme, and then use bookmarks to switch their visibility.
4 Replies
- lbendlinSuper User
use two different table visuals, each with their theme, and then use bookmarks to switch their visibility.
- AnonymousNot applicable
hi lbendlin that's definetly a solution!
Although I do have another bookmark for filters, so I'll exponentially double my number of bookmarks to work around that table.
Please let me know if there are other ways. (I sort of already gave up and chosen the column conditional formatting. One thing that I hate is that the column header colour doesn't have conditional formatting.)
Thanks for the tip!
- BipinLala26Frequent Visitor
Anonymous - I also spent few hours on implementing the light/ dark mode option in my report for all the visuals and background, but in the end got stuck for table/ matrix.
Its really sad that there is no option/ shortcut to add such formatting on text and cell background in a better & faster way than using conditional formatting. I have huge tables on some pages and can't really add conditional formatting to each page. Will have to drop the entire idea of theme changing option.
I hope there is a solution for this soon!
- lbendlinSuper User
If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41