<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Table Background - Conditional Formatting in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Table-Background-Conditional-Formatting/m-p/3016997#M1028362</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;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):&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Colour Background = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; _selected = &lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(Colours[Background])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(_selected), &lt;/SPAN&gt;&lt;SPAN&gt;"Dark"&lt;/SPAN&gt;&lt;SPAN&gt;, _selected)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I know I can do conditional formatting in a table for each field, but it takes away the &lt;STRONG&gt;alternate row effect&lt;/STRONG&gt; and if there is no other choice, I'll probably go that way. But for larger tables, it's a total headache. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;The question is: Is there a DAX Code or workaround to add conditional formatting to an entire table for: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Text Color&lt;BR /&gt;Background Color&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Alternate Text Color&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Alternate Background Color&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The information shown below is from Power BI finance sample by the way:&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Caesarul_0-1673533542024.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/854171iD68DB634592D6A81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Caesarul_0-1673533542024.png" alt="Caesarul_0-1673533542024.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Caesarul_1-1673533572836.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/854173i2B958B1CB4113C37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Caesarul_1-1673533572836.png" alt="Caesarul_1-1673533572836.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for all your support!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 14:36:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-12T14:36:33Z</dc:date>
    <item>
      <title>Table Background - Conditional Formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Table-Background-Conditional-Formatting/m-p/3016997#M1028362</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;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):&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Colour Background = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; _selected = &lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(Colours[Background])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(_selected), &lt;/SPAN&gt;&lt;SPAN&gt;"Dark"&lt;/SPAN&gt;&lt;SPAN&gt;, _selected)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I know I can do conditional formatting in a table for each field, but it takes away the &lt;STRONG&gt;alternate row effect&lt;/STRONG&gt; and if there is no other choice, I'll probably go that way. But for larger tables, it's a total headache. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;The question is: Is there a DAX Code or workaround to add conditional formatting to an entire table for: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Text Color&lt;BR /&gt;Background Color&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Alternate Text Color&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Alternate Background Color&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The information shown below is from Power BI finance sample by the way:&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Caesarul_0-1673533542024.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/854171iD68DB634592D6A81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Caesarul_0-1673533542024.png" alt="Caesarul_0-1673533542024.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Caesarul_1-1673533572836.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/854173i2B958B1CB4113C37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Caesarul_1-1673533572836.png" alt="Caesarul_1-1673533572836.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for all your support!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 14:36:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Table-Background-Conditional-Formatting/m-p/3016997#M1028362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-12T14:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Table Background - Conditional Formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Table-Background-Conditional-Formatting/m-p/3021234#M1029481</link>
      <description>&lt;P&gt;use two different table visuals, each with their theme, and then use bookmarks to switch their visibility.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2023 02:37:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Table-Background-Conditional-Formatting/m-p/3021234#M1029481</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-01-15T02:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table Background - Conditional Formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Table-Background-Conditional-Formatting/m-p/3022450#M1029794</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;that's definetly a solution!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although I do have another bookmark for filters, so I'll exponentially double my number of bookmarks to work around that table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the tip!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 07:29:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Table-Background-Conditional-Formatting/m-p/3022450#M1029794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-16T07:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table Background - Conditional Formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Table-Background-Conditional-Formatting/m-p/3503521#M1158286</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp; - 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.&lt;/P&gt;&lt;P&gt;Its really sad that there is no option/ shortcut to add such formatting on text and cell background in a better &amp;amp; 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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope there is a solution for this soon!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 00:29:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Table-Background-Conditional-Formatting/m-p/3503521#M1158286</guid>
      <dc:creator>BipinLala26</dc:creator>
      <dc:date>2023-10-30T00:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table Background - Conditional Formatting</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Table-Background-Conditional-Formatting/m-p/3503526#M1158288</link>
      <description>&lt;P&gt;If this is important to you please consider voting for an existing idea or raising a new one at &lt;A href="https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41" target="_blank"&gt;https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 00:34:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Table-Background-Conditional-Formatting/m-p/3503526#M1158288</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-10-30T00:34:32Z</dc:date>
    </item>
  </channel>
</rss>

