<?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 formatting in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3071437#M106629</link>
    <description>&lt;P&gt;I have to create a slicer with 3 boxes: "over threshold", close threshold", "within the threshold" and I have 4 &amp;nbsp;categories of people, "Chinese", "English" “italian”, “Spanish”. In the first box there must be all the people (Chinese, English, Italian e Spanish ) which have a negative number as a result of a measure (which is a delta). In the second box: if "Chinese" from 0 to 50 (this because their threshold is 100), if other countries from 0 to 100 (the threshold is 200); in the third box all the other possibilities except those just described.&lt;/P&gt;&lt;P&gt;If correct, the slicer will return in a table only the names of the people in the 3 categories I mentioned above. I hope I have been clear enough.&lt;/P&gt;&lt;P&gt;Thanks in any case for the help you will know give me.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 09:37:03 GMT</pubDate>
    <dc:creator>Mussaka</dc:creator>
    <dc:date>2023-02-09T09:37:03Z</dc:date>
    <item>
      <title>Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3068915#M106395</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I should create a measure in DAX that simultaneously returns:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- if x &amp;lt; 0 then "over threshold"&lt;/P&gt;&lt;P&gt;- if x &amp;lt; 100 "close threshold"&lt;/P&gt;&lt;P&gt;- if x &amp;gt; 100 "within the threshold"&lt;/P&gt;&lt;P&gt;- if x &amp;lt; 50 (but only for CERTAIN people, for example "NY") "close threshold"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where x is a measure that contains a "delta"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did anyone understand me?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 12:56:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3068915#M106395</guid>
      <dc:creator>Mussaka</dc:creator>
      <dc:date>2023-02-08T12:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3069833#M106478</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="196327" data-lia-user-login="Mussaka" class="lia-mention lia-mention-user"&gt;Mussaka&lt;/a&gt; , Assume you have measure X&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then a new measure&lt;/P&gt;
&lt;P&gt;Switch(true(),&lt;/P&gt;
&lt;P&gt;[X] &amp;lt; 0 , "over threshold" ,&lt;/P&gt;
&lt;P&gt;[X] &amp;lt; 100 , "close threshold" ,&lt;/P&gt;
&lt;P&gt;"within the threshold") &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Same way you can create color measure and use that in conditional formatting using field value option&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Switch(true(),&lt;/P&gt;
&lt;P&gt;[X] &amp;lt; 0 , "Red" ,&lt;/P&gt;
&lt;P&gt;[X] &amp;lt; 100 , "yellow" ,&lt;/P&gt;
&lt;P&gt;"green")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI Field Parameters — A Quick way for Dynamic Visuals: &lt;A href="https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9afd" target="_blank"&gt;https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9afd&lt;/A&gt;&lt;BR /&gt;Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: &lt;A href="https://youtu.be/lqF3Wa1FllE" target="_blank"&gt;https://youtu.be/lqF3Wa1FllE&lt;/A&gt;&lt;BR /&gt;Switch TOPN with Field Parameters: &lt;A href="https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f" target="_blank"&gt;https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f&lt;/A&gt;&lt;BR /&gt;Field Parameters- Conditional Formatting&lt;BR /&gt;: &lt;A href="https://amitchandak.medium.com/field-parameters-conditional-formatting-517aacc23fdf" target="_blank"&gt;https://amitchandak.medium.com/field-parameters-conditional-formatting-517aacc23fdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 17:34:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3069833#M106478</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-02-08T17:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3069945#M106490</link>
      <description>&lt;P&gt;The problem is that "x" is not a measure, but a column; this is because I need to use it in a filter:(&lt;/P&gt;&lt;P&gt;The criteria must be the following:&lt;/P&gt;&lt;P&gt;- if (name of the table[measure]&amp;lt;0, "&lt;SPAN&gt;over threshold"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- if (name of the table[measure]&amp;lt;100, "close threshold"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- if&amp;nbsp;(name of the table[measure]&amp;lt;50, (only for a determined number of persons, for example "english")"close threshold"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 18:25:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3069945#M106490</guid>
      <dc:creator>Mussaka</dc:creator>
      <dc:date>2023-02-08T18:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3070769#M106566</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="196327" data-lia-user-login="Mussaka" class="lia-mention lia-mention-user"&gt;Mussaka&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I have created a simple sample, please refer to it to see if it helps you.&lt;/P&gt;
&lt;P&gt;Create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;result = IF([valuemeasure]&amp;lt;0,"over threshodl",IF([valuemeasure]&amp;gt;0&amp;amp;&amp;amp;[valuemeasure]&amp;lt;100,"close threshold",IF([valuemeasure]&amp;lt;50&amp;amp;&amp;amp;MAX('Table'[country])="english","close threshold",BLANK())))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ Polly&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 02:59:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3070769#M106566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-09T02:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3071218#M106603</link>
      <description>&lt;P&gt;I have to create a slicer with 3 boxes: "over threshold", close threshold", "within the threshold" and I have 4 &amp;nbsp;categories of people, "Chinese", "English" “italian”, “Spanish”. In the first box there must be all the people (Chinese, English, Italian e Spanish ) which have a negative number as a result of a measure (which is a delta). In the second box: if "Chinese" from 0 to 50 (this because their threshold is 100), if other countries from 0 to 100 (the threshold is 200); in the third box all the other possibilities except those just described.&lt;/P&gt;&lt;P&gt;If correct, the slicer will return in a table only the names of the people in the 3 categories I mentioned above. I hope I have been clear enough.&lt;/P&gt;&lt;P&gt;Thanks in any case for the help you will know give me.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 08:17:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3071218#M106603</guid>
      <dc:creator>Mussaka</dc:creator>
      <dc:date>2023-02-09T08:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3071363#M106625</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="196327" data-lia-user-login="Mussaka" class="lia-mention lia-mention-user"&gt;Mussaka&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Could you please provide some sample data and your desired output with more details?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ Polly&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 09:16:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3071363#M106625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-09T09:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3071437#M106629</link>
      <description>&lt;P&gt;I have to create a slicer with 3 boxes: "over threshold", close threshold", "within the threshold" and I have 4 &amp;nbsp;categories of people, "Chinese", "English" “italian”, “Spanish”. In the first box there must be all the people (Chinese, English, Italian e Spanish ) which have a negative number as a result of a measure (which is a delta). In the second box: if "Chinese" from 0 to 50 (this because their threshold is 100), if other countries from 0 to 100 (the threshold is 200); in the third box all the other possibilities except those just described.&lt;/P&gt;&lt;P&gt;If correct, the slicer will return in a table only the names of the people in the 3 categories I mentioned above. I hope I have been clear enough.&lt;/P&gt;&lt;P&gt;Thanks in any case for the help you will know give me.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 09:37:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3071437#M106629</guid>
      <dc:creator>Mussaka</dc:creator>
      <dc:date>2023-02-09T09:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3078033#M107099</link>
      <description>&lt;P&gt;Anyone who can answer me?&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 15:40:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3078033#M107099</guid>
      <dc:creator>Mussaka</dc:creator>
      <dc:date>2023-02-13T15:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3078579#M107148</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="196327" data-lia-user-login="Mussaka" class="lia-mention lia-mention-user"&gt;Mussaka&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;What output do you really want? I can't understand it with all words, can you provide data and the desired output so that I can help you better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like the following:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ Polly&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 01:13:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3078579#M107148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-14T01:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3078923#M107186</link>
      <description>&lt;P&gt;I should create a visual object like this below with the characteristics that I expressed in the previous post (I am not able to explain better); Can you help me? Thank you&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 06:57:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3078923#M107186</guid>
      <dc:creator>Mussaka</dc:creator>
      <dc:date>2023-02-14T06:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3079000#M107189</link>
      <description>&lt;P&gt;Refer the file shared by&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp; and make required changes as shown in the below images to obtain the results.&lt;BR /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you.&amp;nbsp;&lt;BR /&gt;If my answers helps you please mark it as solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 07:41:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3079000#M107189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-14T07:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3083613#M107628</link>
      <description>&lt;P&gt;In my previous request I was referencing a table where a person had a single row, but now I realize that a person can have multiple rows based on the reporting period. So, one row for January, one for February and so on. If I apply the same measure you suggested, it gives me an error. I also tried to create and then merge another table in which I grouped all the rows, but for the type of work I have to do it is necessary that the rows, while adding together, keep the value present in each row . It is very complex to explain, I hope someone understands and suggests a solution. Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 15:50:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3083613#M107628</guid>
      <dc:creator>Mussaka</dc:creator>
      <dc:date>2023-02-16T15:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3113363#M110116</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;How could I apply the formula you showed me to create a conditional formatting with the colors in the icons? I mean...IF('OT_fact (1) original'[Annual Delta Treshold vs. OT]&amp;gt;=100,"Within Threshold" (one color of the icon, for example yellow circle), IF('OT_fact (1) original'[Annual Delta Treshold vs. OT]&amp;lt;0,"Above Threshold", (another icon color, for example blue circle), IF('OT_fact (1) original'[Annual Delta Treshold vs. OT]&amp;lt;= 50&amp;amp;&amp;amp;'OT_fact (1) original'[Roster.CCNL UPDATED]="CREDIT","Near Credit" (another color) and so on....&lt;/P&gt;&lt;P&gt;Thank you again&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 09:17:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting/m-p/3113363#M110116</guid>
      <dc:creator>Mussaka</dc:creator>
      <dc:date>2023-03-06T09:17:39Z</dc:date>
    </item>
  </channel>
</rss>

