<?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: I can't filter zero in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-can-t-filter-zero/m-p/3441066#M130711</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use SUMX but I don't get what we would expect:&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;I really don't understand what is happening. Something I'm doing wrong, because this kind of stuff is pretty easy to do in other BI tools..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Sep 2023 07:33:12 GMT</pubDate>
    <dc:creator>CarlesWRC</dc:creator>
    <dc:date>2023-09-21T07:33:12Z</dc:date>
    <item>
      <title>I can't filter zero</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-can-t-filter-zero/m-p/3430095#M130017</link>
      <description>&lt;P&gt;Hi All!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to make something pretty easy, but I'm going crazy right now because I really don't understand how to solve this. I made similar stuff like that and is the first time that I get something like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table, and I want to count per reference every reference that the sum of money is more than 20.&lt;/P&gt;&lt;P&gt;Example: Each reference where the sum is greater than 20, it has to count one time (despite that maybe for this reference we have the same reference X repeated times).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;ENTRADAS KPI 20 = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(SE_PBI_PASOS_GRPZ_SEGM_MARCA[NUMBAS]), &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(SE_PBI_PASOS_GRPZ_SEGM_MARCA,&lt;FONT color="#FF0000"&gt;[PVP &amp;nbsp;TY]&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;20&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&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;As you can see on the second pic, 0 is counting as 1, but it shouldn't, because I just want to count starting with 20 $.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 06:39:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-can-t-filter-zero/m-p/3430095#M130017</guid>
      <dc:creator>CarlesWRC</dc:creator>
      <dc:date>2023-09-14T06:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: I can't filter zero</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-can-t-filter-zero/m-p/3430136#M130019</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="617019" data-lia-user-login="CarlesWRC" class="lia-mention lia-mention-user"&gt;CarlesWRC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;What about a dax formula like below?&amp;nbsp; I've manually recreated your PBI screen print and it seems to produce your required output.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I attach the link to the pbix file below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AlqFfzVTqicpnhvu9flnWUbQKdxy?e=stI9Ii" target="_blank"&gt;ENTRADAS KPI 20.pbix&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 07:01:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-can-t-filter-zero/m-p/3430136#M130019</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2023-09-14T07:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: I can't filter zero</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-can-t-filter-zero/m-p/3430261#M130026</link>
      <description>&lt;P&gt;Thank you very much! It works perfectly. I just changed the 'SE_PBI_GRPZ_SEGM_MARCA'[PVP&amp;nbsp; TY]' by the metric [PVP&amp;nbsp; TY]. The only thing that it seems to not work is the Total. I would expect that the total should show the sum of each time where the sum by reference is greater than 20. But what I get is the count of all distinct references.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this:&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;For example, if I have 111 different references, but only 3 match the logic of greater than 20, so the total should be 3 and not 111...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have a lot of experience and I'm having trouble with this part of the report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 07:46:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-can-t-filter-zero/m-p/3430261#M130026</guid>
      <dc:creator>CarlesWRC</dc:creator>
      <dc:date>2023-09-14T07:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: I can't filter zero</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-can-t-filter-zero/m-p/3430315#M130031</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="617019" data-lia-user-login="CarlesWRC" class="lia-mention lia-mention-user"&gt;CarlesWRC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you'd like the total of your measure to add up correctly, please use sumx in a measure over the table which you want the aggregation to work like below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I attach the link to the updated pbix file below with the above measure:&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AlqFfzVTqicpnhvu9flnWUbQKdxy?e=djI7BR" target="_blank"&gt;ENTRADAS KPI 20.pbix&lt;/A&gt;&lt;/P&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;</description>
      <pubDate>Thu, 14 Sep 2023 08:02:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-can-t-filter-zero/m-p/3430315#M130031</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2023-09-14T08:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: I can't filter zero</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-can-t-filter-zero/m-p/3441066#M130711</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use SUMX but I don't get what we would expect:&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;I really don't understand what is happening. Something I'm doing wrong, because this kind of stuff is pretty easy to do in other BI tools..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 07:33:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-can-t-filter-zero/m-p/3441066#M130711</guid>
      <dc:creator>CarlesWRC</dc:creator>
      <dc:date>2023-09-21T07:33:12Z</dc:date>
    </item>
  </channel>
</rss>

