<?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: Multiple Conditional Formatting with diff Data Formats in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Conditional-Formatting-with-diff-Data-Formats/m-p/2394129#M62389</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="261788" data-lia-user-login="NilR" class="lia-mention lia-mention-user"&gt;NilR&lt;/a&gt;&amp;nbsp;;&lt;/P&gt;
&lt;P&gt;I found the type of&amp;nbsp;&lt;SPAN&gt;Financial Variance is text because here use FORMAT().&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;so if coniditonal format is rules, may be cause error. I think you could create other measure as&amp;nbsp;Color based on a calculation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Such as:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;Measure = IF(CONTAINSSTRING([Financial Variance],"%"),"Green",IF([Financial Variance]=0,"Black","Red"))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;The final output is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Yalan Wu&lt;BR /&gt;If this post &lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2022 06:27:17 GMT</pubDate>
    <dc:creator>v-yalanwu-msft</dc:creator>
    <dc:date>2022-03-15T06:27:17Z</dc:date>
    <item>
      <title>Multiple Conditional Formatting with diff Data Formats</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Conditional-Formatting-with-diff-Data-Formats/m-p/2387808#M61955</link>
      <description>&lt;P&gt;I need help on Conditional Formatting!&lt;BR /&gt;I have a measure with multiple Data formats Such as ( Number, Currency, and Percent) . I would like to setup conditional formating to show any value negative in Red and Any value &amp;gt;= 0 in Green.&lt;BR /&gt;&lt;BR /&gt;However, at the bottom you can see that My First Number that is not Currency "0,00" and the Last one is Percent "0.00%" they stayed black . Is there any way to change those numbers&amp;nbsp; into Red&amp;nbsp; if they are Negative or Green if &amp;gt;=1 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;Financial Variance = IFERROR(SWITCH(TRUE(),
SELECTEDVALUE('III - Financial Metrics'[Financial Metrics])="Member Months", FORMAT([Member Months]-[Member Months_ALL_BVS],"0,00"),
SELECTEDVALUE('III - Financial Metrics'[Financial Metrics])="PMPM", [PMPM]-[PMPM_ALL_BVS],
SELECTEDVALUE('III - Financial Metrics'[Financial Metrics])="PEPM", [PEPM]-[PEPM_ALL_BVS],
SELECTEDVALUE('III - Financial Metrics'[Financial Metrics])="Revenue", [Premium (Revenue)] -[Premium_ALL_BVS],
SELECTEDVALUE('III - Financial Metrics'[Financial Metrics])="Pricing Policy", FIXED(0,"Standard"),
SELECTEDVALUE('III - Financial Metrics'[Financial Metrics])="Medical Claims", [MEDICAL CLAIMS] - [MEDICAL_CLAIMS_ALL_BVS],
SELECTEDVALUE('III - Financial Metrics'[Financial Metrics])="Pharmacy Claims", [RX CLAIMS] - [RX_CLAIMS_ALL_BVS],
SELECTEDVALUE('III - Financial Metrics'[Financial Metrics])="MLR", FORMAT([MLR] - [MLR_ALL_BVS] ,"0.00%"),
SELECTEDVALUE('III - Financial Metrics'[Financial Metrics])="Capitation", [TOTAL_CAP] - [TOTAL_CAP_ALL_BVS],0),0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My Conditional Formatting:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My result:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Desired Result:&lt;/P&gt;&lt;DIV class=""&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Thanks!&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Mar 2022 18:14:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Conditional-Formatting-with-diff-Data-Formats/m-p/2387808#M61955</guid>
      <dc:creator>NilR</dc:creator>
      <dc:date>2022-03-11T18:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Conditional Formatting with diff Data Formats</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Conditional-Formatting-with-diff-Data-Formats/m-p/2387823#M61957</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="261788" data-lia-user-login="NilR" class="lia-mention lia-mention-user"&gt;NilR&lt;/a&gt; , The last Percent , should be number &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also you can try color measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to do conditional formatting by measure and apply it on pie? : &lt;A href="https://youtu.be/RqBb5eBf_I4" target="_blank"&gt;https://youtu.be/RqBb5eBf_I4&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 06:05:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Conditional-Formatting-with-diff-Data-Formats/m-p/2387823#M61957</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-11T06:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Conditional Formatting with diff Data Formats</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Conditional-Formatting-with-diff-Data-Formats/m-p/2388833#M62030</link>
      <description>&lt;P&gt;I am not coloring my metrics, I want to color them if it is negative then turn RED or if it is positive Then Green.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 14:22:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Conditional-Formatting-with-diff-Data-Formats/m-p/2388833#M62030</guid>
      <dc:creator>NilR</dc:creator>
      <dc:date>2022-03-11T14:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Conditional Formatting with diff Data Formats</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Conditional-Formatting-with-diff-Data-Formats/m-p/2394129#M62389</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="261788" data-lia-user-login="NilR" class="lia-mention lia-mention-user"&gt;NilR&lt;/a&gt;&amp;nbsp;;&lt;/P&gt;
&lt;P&gt;I found the type of&amp;nbsp;&lt;SPAN&gt;Financial Variance is text because here use FORMAT().&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;so if coniditonal format is rules, may be cause error. I think you could create other measure as&amp;nbsp;Color based on a calculation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Such as:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;Measure = IF(CONTAINSSTRING([Financial Variance],"%"),"Green",IF([Financial Variance]=0,"Black","Red"))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;The final output is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Yalan Wu&lt;BR /&gt;If this post &lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 06:27:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Conditional-Formatting-with-diff-Data-Formats/m-p/2394129#M62389</guid>
      <dc:creator>v-yalanwu-msft</dc:creator>
      <dc:date>2022-03-15T06:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Conditional Formatting with diff Data Formats</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Conditional-Formatting-with-diff-Data-Formats/m-p/2406788#M63233</link>
      <description>&lt;P&gt;Thank you very much! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:45:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Conditional-Formatting-with-diff-Data-Formats/m-p/2406788#M63233</guid>
      <dc:creator>NilR</dc:creator>
      <dc:date>2022-03-21T13:45:20Z</dc:date>
    </item>
  </channel>
</rss>

