<?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: Calculate doesn't work with my filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3831602#M149810</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Try ditching CALCULATE and go with SUMX(FILTER(...), ...)&lt;/P&gt;
&lt;P&gt;Sorry, having trouble following, can you post sample data as text and expected output?&lt;BR /&gt;Not really enough information to go on, please first check if your issue is a common issue listed here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 18:10:20 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2024-04-11T18:10:20Z</dc:date>
    <item>
      <title>Calculate doesn't work with my filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3831600#M149809</link>
      <description>&lt;P&gt;I have a mesuare thar calculate a value basead in some rules, and it will return my total basead in another rules. The point is when I put my measure in a table, the filters thar I apply doens't work, and the mesuare filters the lines. I want that my measure can be filter by external filter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;&lt;BR /&gt;My table without the measure:&lt;/P&gt;&lt;P&gt;-The filter 'stage' is working well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My table WITH de measure:&lt;/P&gt;&lt;P&gt;-The mesuare filter the initiatives that have some return&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;My measure:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;In another measure, I try to put some return conditional in cases I don't have a result, but in that way, the table still don't considering my filters.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Someone can helpme??&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 18:08:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3831600#M149809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-11T18:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate doesn't work with my filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3831602#M149810</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Try ditching CALCULATE and go with SUMX(FILTER(...), ...)&lt;/P&gt;
&lt;P&gt;Sorry, having trouble following, can you post sample data as text and expected output?&lt;BR /&gt;Not really enough information to go on, please first check if your issue is a common issue listed here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 18:10:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3831602#M149810</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-04-11T18:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate doesn't work with my filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3831639#M149812</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It's my first post, sorry if I don't be clear. I serched some answered but I can't find.&amp;nbsp;&lt;BR /&gt;I expected that using my measure in the table, even tought I don't have a value, because my conditionals is blank, the measure don't filter my table, and the table showme all the results.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the firts picture, I see a lot of initiatives (first column). Example the initiative number 90074:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But in the second, with the measure, I can see no more. I think because the measurte don't return a value, it filters de table, and I can't see the initiative 90074.&lt;BR /&gt;And if I try to apply anothers filters, that doesn't work to.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What I expected for my measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID_INITIATIVE&lt;/TD&gt;&lt;TD&gt;ESTAGIO&lt;/TD&gt;&lt;TD&gt;MEASURE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;L2&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;L2&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;L2&lt;/TD&gt;&lt;TD&gt;-5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;What I got applied the measure:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID_INITIATIVE&lt;/TD&gt;&lt;TD&gt;ESTAGIO&lt;/TD&gt;&lt;TD&gt;MEASURE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;L2&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;L2&lt;/TD&gt;&lt;TD&gt;-5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 11 Apr 2024 18:30:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3831639#M149812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-11T18:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate doesn't work with my filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3831660#M149814</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;The easiest way to troubleshoot this is if you can provide sample source data as text and&amp;nbsp; your measure formula as text or provide a sample PBIX file to download. This way the scenario can be recreated and tested locally and a solution developmed versus guessing.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 18:37:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3831660#M149814</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-04-11T18:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate doesn't work with my filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3831811#M149824</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here a PBIX with examples that the problem I got. I leave two tables, one with what I want, and another to show how the beahavior of the filters with the measure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://drive.google.com/file/d/18uM6f8gWAVoFQvkdqbUOyewykD6obnA0/view?usp=sharing" target="_self"&gt;PBIX TO DOWNLOAD&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 19:43:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3831811#M149824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-11T19:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate doesn't work with my filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3842239#M150203</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was it possible to make an analysis of my issue? Any ideas on how to solve it?&lt;/P&gt;&lt;P&gt;Thank you very much!!!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 17:15:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-doesn-t-work-with-my-filter/m-p/3842239#M150203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-16T17:15:45Z</dc:date>
    </item>
  </channel>
</rss>

