<?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: greater than in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706692#M82091</link>
    <description>&lt;P&gt;Make sure to refer to the corresponding column and table, I used sub and value as an example, but it would be&amp;nbsp;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;Total Value'[Sub] and 'Total Value'[Value] instead of just "Sub" and "Value". Also make sure you create this calculated column in Total Value table&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2022 12:57:54 GMT</pubDate>
    <dc:creator>PabloDeheza</dc:creator>
    <dc:date>2022-08-17T12:57:54Z</dc:date>
    <item>
      <title>greater than</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706245#M82067</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It might be an easy question but I can't figure out the correct method.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a category list&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Category&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Sub&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;4&lt;DIV&gt;&amp;nbsp;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Timestamp&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;TD&gt;Sub&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/6/2022&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/6/2022&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/6/2022&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;3&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to calculate true or false (if 3 value larger than 60 then true, less than 60 then false ; if 1 value larger than 50 then true, less than 50 then false)&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;DIV&gt;&lt;SPAN&gt;I'm try using code below.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Total value&lt;/P&gt;&lt;DIV&gt;3= CALCULATE( NOT ISEMPTY(Total value),Total value[Value] &amp;gt;60 )&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Aug 2022 10:18:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706245#M82067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-17T10:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: greater than</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706580#M82083</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;
&lt;P&gt;You could try something like this:&lt;/P&gt;
&lt;P&gt;SWITCH(&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;TRUE(),&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Sub = 3 &amp;amp;&amp;amp; Value &amp;gt; 60, TRUE,&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Sub = 3 &amp;amp;&amp;amp; Value &amp;lt;= 60, FALSE,&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Sub = 1 &amp;amp;&amp;amp; Value &amp;gt; 50, TRUE,&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Sub = 1 &amp;amp;&amp;amp; Value &amp;lt;= 50, FALSE,&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;BLANK()&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;Let me know if that help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 12:25:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706580#M82083</guid>
      <dc:creator>PabloDeheza</dc:creator>
      <dc:date>2022-08-17T12:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: greater than</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706601#M82085</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="213336" data-lia-user-login="PabloDeheza" class="lia-mention lia-mention-user"&gt;PabloDeheza&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is create a new column or use new measure?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 12:33:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706601#M82085</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-17T12:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: greater than</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706616#M82086</link>
      <description>&lt;P&gt;That way would be for a calculated column&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 12:38:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706616#M82086</guid>
      <dc:creator>PabloDeheza</dc:creator>
      <dc:date>2022-08-17T12:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: greater than</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706663#M82089</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="213336" data-lia-user-login="PabloDeheza" class="lia-mention lia-mention-user"&gt;PabloDeheza&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;There shown error in this code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;FYI, this are my two table.&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;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 12:51:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706663#M82089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-17T12:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: greater than</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706692#M82091</link>
      <description>&lt;P&gt;Make sure to refer to the corresponding column and table, I used sub and value as an example, but it would be&amp;nbsp;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;Total Value'[Sub] and 'Total Value'[Value] instead of just "Sub" and "Value". Also make sure you create this calculated column in Total Value table&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 12:57:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706692#M82091</guid>
      <dc:creator>PabloDeheza</dc:creator>
      <dc:date>2022-08-17T12:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: greater than</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706871#M82103</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="213336" data-lia-user-login="PabloDeheza" class="lia-mention lia-mention-user"&gt;PabloDeheza&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I have a list of the value&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Timestamp&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;TD&gt;Sub&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/6/22&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/6/22&lt;/TD&gt;&lt;TD&gt;43&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/6/22&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/6/22&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wish to get the sum from sub 1 and the value if &amp;gt;50 then true, sub 2&amp;gt;20 then true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it will be telling me true for 1 because is 68 while false for 2 &amp;lt;20.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any method to do this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 13:40:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/greater-than/m-p/2706871#M82103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-17T13:40:17Z</dc:date>
    </item>
  </channel>
</rss>

