<?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: Help - Dax Threshold in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417578#M63882</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="302361" data-lia-user-login="varelapablo90" class="lia-mention lia-mention-user"&gt;varelapablo90&lt;/a&gt;&amp;nbsp; both threshold and amount are numbers?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you make an example with a subset? It seems very strange...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 10:14:00 GMT</pubDate>
    <dc:creator>BeaBF</dc:creator>
    <dc:date>2022-03-25T10:14:00Z</dc:date>
    <item>
      <title>Help - Dax Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417329#M63863</link>
      <description>&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help with the following case.&lt;/P&gt;&lt;P&gt;I would like to know from my main raw data table how many of these invoices are under 50, how many under 100 (including the &amp;lt;50.... and so on 200, 300, etc.&lt;/P&gt;&lt;P&gt;Is there any possible way to create a table with a such information?&lt;/P&gt;&lt;P&gt;Currently I have my Threshold table with the values you see in the screen relationed to the main table on the Invoice Value field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could this be achieved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:00:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417329#M63863</guid>
      <dc:creator>varelapablo90</dc:creator>
      <dc:date>2022-03-25T09:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Dax Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417370#M63867</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="302361" data-lia-user-login="varelapablo90" class="lia-mention lia-mention-user"&gt;varelapablo90&lt;/a&gt;&amp;nbsp;can you paste your invoice value field?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thx,&lt;/P&gt;
&lt;P&gt;B.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:12:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417370#M63867</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2022-03-25T09:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Dax Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417392#M63870</link>
      <description>&lt;P&gt;Like this? These fields are in my main raw data table T_RawData_Azure&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:19:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417392#M63870</guid>
      <dc:creator>varelapablo90</dc:creator>
      <dc:date>2022-03-25T09:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Dax Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417408#M63873</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="302361" data-lia-user-login="varelapablo90" class="lia-mention lia-mention-user"&gt;varelapablo90&lt;/a&gt;&amp;nbsp;Try with this calculated column in the Threshold Table:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Colonna = &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;THRE&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;Threshold[Threshold]&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;T_RawData_Azure&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;T_RawData_Azure[Amount_in_EUR]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN&gt;THRE&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;It returns the count of amount value in T_RawData_Azure that are less or equal to that threshold, like this:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;img /&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;B.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:25:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417408#M63873</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2022-03-25T09:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Dax Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417455#M63876</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;Worked perfectly, thank you!&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;What if I want to also have the column with the values in eur too?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 10:08:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417455#M63876</guid>
      <dc:creator>varelapablo90</dc:creator>
      <dc:date>2022-03-25T10:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Dax Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417535#M63879</link>
      <description>&lt;P&gt;I thought it had worked but now that I see it didnt, I have like 4 million rows in this set, numbers should be bigger, but also for example the Category 100 should include the 50. What be wrong?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:59:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417535#M63879</guid>
      <dc:creator>varelapablo90</dc:creator>
      <dc:date>2022-03-25T09:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Dax Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417578#M63882</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="302361" data-lia-user-login="varelapablo90" class="lia-mention lia-mention-user"&gt;varelapablo90&lt;/a&gt;&amp;nbsp; both threshold and amount are numbers?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you make an example with a subset? It seems very strange...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 10:14:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417578#M63882</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2022-03-25T10:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Dax Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417768#M63896</link>
      <description>&lt;P&gt;What do you mean with a subset?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cant figure out what is different from the solution you provided, the datatypes are both numbers and the relationship is based on Amount_in_EUR -&amp;gt; Threshold&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 11:27:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417768#M63896</guid>
      <dc:creator>varelapablo90</dc:creator>
      <dc:date>2022-03-25T11:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Dax Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417779#M63898</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="302361" data-lia-user-login="varelapablo90" class="lia-mention lia-mention-user"&gt;varelapablo90&lt;/a&gt; the relationship is useless, try to remove it. By subset I mean taking a piece of data to understand why it doesn't work, to me it works with the data I pasted to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try with Count instead of Countrows:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Colonna = &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;THRE&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;Threshold[Threshold]&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;T_RawData_Azure[Amount_in_EUR]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;T_RawData_Azure[Amount_in_EUR]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN&gt;THRE&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 11:34:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417779#M63898</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2022-03-25T11:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Dax Threshold</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417799#M63901</link>
      <description>&lt;P&gt;Got solved when deleting the relationship :S&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 11:43:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Dax-Threshold/m-p/2417799#M63901</guid>
      <dc:creator>varelapablo90</dc:creator>
      <dc:date>2022-03-25T11:43:17Z</dc:date>
    </item>
  </channel>
</rss>

