<?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 Re: Conditional background color in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Conditional-background-color/m-p/4028197#M53976</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/487628"&gt;@manojk_pbi&lt;/a&gt;&amp;nbsp;, remember to adhere to the decorum of the Community Forum when asking a question.&lt;BR /&gt;&lt;BR /&gt;Please provide your work-in-progress Power BI Desktop file (with sensitive information removed) that covers your issue or question completely in a usable format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523/highlight/true#M607150" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523/highlight/true#M607150&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This allows members of the Forum to assess the state of the model, report layer, relationships, and any DAX applied.&lt;/P&gt;</description>
    <pubDate>Sat, 06 Jul 2024 16:57:33 GMT</pubDate>
    <dc:creator>foodd</dc:creator>
    <dc:date>2024-07-06T16:57:33Z</dc:date>
    <item>
      <title>Conditional background color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Conditional-background-color/m-p/4028192#M53975</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with few columns out it couple of columns need to have background color based on condition. Sample data in the table is as below. Pls guide me how can we add multiple conditions&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Color coding&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manojk_pbi_0-1720284248701.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1127769i72990DC68EF54028/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manojk_pbi_0-1720284248701.png" alt="manojk_pbi_0-1720284248701.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Expected result - color coding will be based on the status color defined above and background color should be added where a text is found in Remarks column &amp;amp; rest will be no-color&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manojk_pbi_1-1720284276422.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1127770i14A04976BAB207F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manojk_pbi_1-1720284276422.png" alt="manojk_pbi_1-1720284276422.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2024 16:46:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Conditional-background-color/m-p/4028192#M53975</guid>
      <dc:creator>manojk_pbi</dc:creator>
      <dc:date>2024-07-06T16:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional background color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Conditional-background-color/m-p/4028197#M53976</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/487628"&gt;@manojk_pbi&lt;/a&gt;&amp;nbsp;, remember to adhere to the decorum of the Community Forum when asking a question.&lt;BR /&gt;&lt;BR /&gt;Please provide your work-in-progress Power BI Desktop file (with sensitive information removed) that covers your issue or question completely in a usable format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523/highlight/true#M607150" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523/highlight/true#M607150&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This allows members of the Forum to assess the state of the model, report layer, relationships, and any DAX applied.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2024 16:57:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Conditional-background-color/m-p/4028197#M53976</guid>
      <dc:creator>foodd</dc:creator>
      <dc:date>2024-07-06T16:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional background color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Conditional-background-color/m-p/4028209#M53977</link>
      <description>&lt;P&gt;Attached the sample data. The required out is to just fill the background for &lt;STRONG&gt;Remarks &lt;/STRONG&gt;column based on 2 conditions. First condition is Remarks should not be blank or empty and then apply color code based on the status.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Task&lt;/TD&gt;&lt;TD&gt;Status&lt;/TD&gt;&lt;TD&gt;Remarks&lt;/TD&gt;&lt;TD&gt;Trend&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;T1&lt;/TD&gt;&lt;TD&gt;In-Progress&lt;/TD&gt;&lt;TD&gt;waiting&lt;/TD&gt;&lt;TD&gt;Increasing&lt;/TD&gt;&lt;TD&gt;24-Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;T2&lt;/TD&gt;&lt;TD&gt;Active&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Increasing&lt;/TD&gt;&lt;TD&gt;24-Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;T3&lt;/TD&gt;&lt;TD&gt;Resolved&lt;/TD&gt;&lt;TD&gt;in Tetsing&lt;/TD&gt;&lt;TD&gt;decreasing&lt;/TD&gt;&lt;TD&gt;24-Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;T4&lt;/TD&gt;&lt;TD&gt;New&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;decreasing&lt;/TD&gt;&lt;TD&gt;24-Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;T5&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;TD&gt;issue fixed&lt;/TD&gt;&lt;TD&gt;decreasing&lt;/TD&gt;&lt;TD&gt;24-Jan&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sat, 06 Jul 2024 17:15:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Conditional-background-color/m-p/4028209#M53977</guid>
      <dc:creator>manojk_pbi</dc:creator>
      <dc:date>2024-07-06T17:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional background color</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Conditional-background-color/m-p/4032301#M54048</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/487628"&gt;@manojk_pbi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I created a sample pbix file(see &lt;STRONG&gt;the attachment&lt;/STRONG&gt;), please check if that is what you want.&lt;/P&gt;
&lt;P&gt;1. Create a measure as below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Conditional formatting = 
VAR _remark =
    SELECTEDVALUE ( 'Table'[Remarks] )
VAR _status =
    SELECTEDVALUE ( 'Table'[Status] )
RETURN
    SWITCH (
        TRUE (),
        _remark &amp;lt;&amp;gt; BLANK ()
            &amp;amp;&amp;amp; _status = "In-Progress", "Yellow",
        _remark &amp;lt;&amp;gt; BLANK ()
            &amp;amp;&amp;amp; _status = "Active", "Blue",
        _remark &amp;lt;&amp;gt; BLANK ()
            &amp;amp;&amp;amp; _status = "Resolved", "#89D26B",
        _remark &amp;lt;&amp;gt; BLANK ()
            &amp;amp;&amp;amp; _status = "New", "Grey",
        _remark &amp;lt;&amp;gt; BLANK ()
            &amp;amp;&amp;amp; _status = "Closed", "Green"
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Apply conditional formatting&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting" target="_blank" rel="noopener"&gt;Apply conditional table formatting in Power BI - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_0-1720518793553.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1129062i89D036442CAB770F/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_0-1720518793553.png" alt="vyiruanmsft_0-1720518793553.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 09:56:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Conditional-background-color/m-p/4032301#M54048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-09T09:56:00Z</dc:date>
    </item>
  </channel>
</rss>

