Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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):
Thank you very much for all your support!
Solved! Go to Solution.
use two different table visuals, each with their theme, and then use bookmarks to switch their visibility.
@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!
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
use two different table visuals, each with their theme, and then use bookmarks to switch their visibility.
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!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 47 | |
| 45 | |
| 33 | |
| 33 | |
| 30 |
| User | Count |
|---|---|
| 138 | |
| 118 | |
| 59 | |
| 58 | |
| 56 |