<?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: Less than and greater than value and assigning description in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2833615#M90337</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;. I will also try above and will provide feedback. Thank you.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 10:00:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-10-11T10:00:15Z</dc:date>
    <item>
      <title>Less than and greater than value and assigning description</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2822595#M89634</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New to the forum and first post. I was wondering which command to use to get the following results in power bi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am comparing scores to see if they are less than or greater than a certain range and thus helping with the decision/outome. The excel formula is working, how can i set up the same in Power bi. below is a screenshot showing the formula etc&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 11:41:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2822595#M89634</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-06T11:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Less than and greater than value and assigning description</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2823263#M89670</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add the custom column and use the below m code to check if it fits your requirements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;= Table.AddColumn(#"Changed Type", "Decision", each &lt;BR /&gt;if ( [Speed Rating] &amp;gt; 2.99 and [Speed Rating] &amp;lt; 6.0 and &lt;BR /&gt;[Safety Rating] &amp;gt; 2.99 and [Safety Rating] &amp;lt; 6.0 )&lt;BR /&gt;then "Commit" &lt;BR /&gt;else&lt;BR /&gt;if ( [Speed Rating] &amp;gt; 0 and [Speed Rating] &amp;lt; 2.98 and &lt;BR /&gt;[Safety Rating] &amp;gt; 2.99 and [Safety Rating] &amp;lt; 6.0 )&lt;BR /&gt;then "Consider"&lt;BR /&gt;else&lt;BR /&gt;if ( [Speed Rating] &amp;gt; 0 and [Speed Rating] &amp;lt; 2.98 and &lt;BR /&gt;[Safety Rating] &amp;gt; 0 and [Safety Rating] &amp;lt; 2.98 )&lt;BR /&gt;then "Delay"&lt;BR /&gt;else "Drop")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:15:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2823263#M89670</guid>
      <dc:creator>AnkitKukreja</dc:creator>
      <dc:date>2022-10-06T15:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Less than and greater than value and assigning description</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2827111#M89919</link>
      <description>&lt;P&gt;Thank you Ankit. I will apply above and will let you know the result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything special I need to do first if those columns are copied from two different tables?&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2022 10:46:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2827111#M89919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-08T10:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Less than and greater than value and assigning description</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2830386#M90147</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nothing major. Just go to Power query into your data table and choose to add the custom column and paste this code. You will get a new custom column based on this code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 08:59:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2830386#M90147</guid>
      <dc:creator>AnkitKukreja</dc:creator>
      <dc:date>2022-10-10T08:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Less than and greater than value and assigning description</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2830465#M90156</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;If you want a calculated column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Decision = 
SWITCH (
    TRUE (),
    'Table'[Speed rating] &amp;gt; 2.99
        &amp;amp;&amp;amp; 'Table'[Speed rating] &amp;lt; 6
        &amp;amp;&amp;amp; 'Table'[Safety rating] &amp;gt; 2.99
        &amp;amp;&amp;amp; 'Table'[Safety rating] &amp;lt; 6, "Commit",
    'Table'[Speed rating] &amp;gt; 0
        &amp;amp;&amp;amp; 'Table'[Speed rating] &amp;lt; 2.98
        &amp;amp;&amp;amp; 'Table'[Safety rating] &amp;gt; 2.99
        &amp;amp;&amp;amp; 'Table'[Safety rating] &amp;lt; 6, "Consider",
    'Table'[Speed rating] &amp;gt; 0
        &amp;amp;&amp;amp; 'Table'[Speed rating] &amp;lt; 2.98
        &amp;amp;&amp;amp; 'Table'[Safety rating] &amp;gt; 0
        &amp;amp;&amp;amp; 'Table'[Safety rating] &amp;lt; 2.98, "Delay",
    'Table'[Speed rating] &amp;gt; 2.99
        &amp;amp;&amp;amp; 'Table'[Speed rating] &amp;lt; 6
        &amp;amp;&amp;amp; 'Table'[Safety rating] &amp;gt; 0
        &amp;amp;&amp;amp; 'Table'[Safety rating] &amp;lt; 2.5, "Drop"
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;If there is any post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3" color="#FF6600"&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Thanks a lot!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#FF0000"&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;&lt;SPAN&gt;How to get your questions answered quickly&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;--&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;How to provide sample data&lt;/SPAN&gt;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 09:27:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2830465#M90156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-10T09:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Less than and greater than value and assigning description</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2833615#M90337</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;. I will also try above and will provide feedback. Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 10:00:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2833615#M90337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-11T10:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Less than and greater than value and assigning description</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2881778#M93306</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Any update?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 03:38:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Less-than-and-greater-than-value-and-assigning-description/m-p/2881778#M93306</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-03T03:38:00Z</dc:date>
    </item>
  </channel>
</rss>

