<?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: CANT REMOVER FILTERS FROM A MEASURE in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CANT-REMOVER-FILTERS-FROM-A-MEASURE/m-p/3998443#M155616</link>
    <description>&lt;P&gt;hEY&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118660" data-lia-user-login="rajendraongole1" class="lia-mention lia-mention-user"&gt;rajendraongole1&lt;/a&gt;&amp;nbsp;, thanks for your support, but still didnt work. How can I share my file here?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2024 14:27:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-18T14:27:31Z</dc:date>
    <item>
      <title>CANT REMOVER FILTERS FROM A MEASURE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CANT-REMOVER-FILTERS-FROM-A-MEASURE/m-p/3998159#M155614</link>
      <description>&lt;P&gt;Hello guys, I am a trouble with my measure , I simply can't get the value of the whole period using the function ALL, because even if I use it, when I filter the slicer, it keeps filtering the date. How Can I solve this?&lt;BR /&gt;&lt;BR /&gt;This measure brings me the value of stock, based on the last sequence of all products, different stocks and companies.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;03M - Estoque Total =&lt;BR /&gt;VAR UltimasSequencias =&lt;BR /&gt;SUMMARIZE(&lt;BR /&gt;'fEstoque Lancamento',&lt;BR /&gt;'fEstoque Lancamento'[Cod Empresa],&lt;BR /&gt;'fEstoque Lancamento'[Cod Almoxarifado],&lt;BR /&gt;'fEstoque Lancamento'[Cod Produto],&lt;BR /&gt;"UltimoSeq", MAX('fEstoque Lancamento'[Nr Sequencia])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;VAR EstoqueTotal =&lt;BR /&gt;SUMX(&lt;BR /&gt;UltimasSequencias,&lt;BR /&gt;VAR CodEmpresa = [Cod Empresa]&lt;BR /&gt;VAR CodAlmoxarifado = [Cod Almoxarifado]&lt;BR /&gt;VAR CodProduto = [Cod Produto]&lt;BR /&gt;VAR UltimaSequencia = [UltimoSeq]&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE(&lt;BR /&gt;MAX('fEstoque Lancamento'[Qtd Total]),&lt;BR /&gt;'fEstoque Lancamento'[Cod Empresa] = CodEmpresa,&lt;BR /&gt;'fEstoque Lancamento'[Cod Almoxarifado] = CodAlmoxarifado,&lt;BR /&gt;'fEstoque Lancamento'[Cod Produto] = CodProduto,&lt;BR /&gt;'fEstoque Lancamento'[Nr Sequencia] = UltimaSequencia,&lt;BR /&gt;ALL('fCalendário'[Date])&amp;nbsp; &amp;nbsp; --- I TRIED USING ALL, ALLEXCEPT, REMOVEFILTERS, BUT NOTHING HAS CHANGED.&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;RETURN EstoqueTotal&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 12:11:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CANT-REMOVER-FILTERS-FROM-A-MEASURE/m-p/3998159#M155614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-18T12:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: CANT REMOVER FILTERS FROM A MEASURE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CANT-REMOVER-FILTERS-FROM-A-MEASURE/m-p/3998413#M155615</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;- The issue arises because filter with removal functions are being applied inside the calculate&amp;nbsp;statement, which might not remove filters,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you try the below measure&amp;nbsp;&lt;/P&gt;&lt;P&gt;03M - Estoque Total =&lt;BR /&gt;VAR UltimasSequencias =&lt;BR /&gt;SUMMARIZE(&lt;BR /&gt;'fEstoque Lancamento',&lt;BR /&gt;'fEstoque Lancamento'[Cod Empresa],&lt;BR /&gt;'fEstoque Lancamento'[Cod Almoxarifado],&lt;BR /&gt;'fEstoque Lancamento'[Cod Produto],&lt;BR /&gt;"UltimoSeq",&lt;BR /&gt;CALCULATE(&lt;BR /&gt;MAX('fEstoque Lancamento'[Nr Sequencia]),&lt;BR /&gt;&lt;STRONG&gt;REMOVEFILTERS&lt;/STRONG&gt;('fCalendário')&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;VAR EstoqueTotal =&lt;BR /&gt;SUMX(&lt;BR /&gt;UltimasSequencias,&lt;BR /&gt;VAR CodEmpresa = [Cod Empresa]&lt;BR /&gt;VAR CodAlmoxarifado = [Cod Almoxarifado]&lt;BR /&gt;VAR CodProduto = [Cod Produto]&lt;BR /&gt;VAR UltimaSequencia = [UltimoSeq]&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE(&lt;BR /&gt;MAX('fEstoque Lancamento'[Qtd Total]),&lt;BR /&gt;'fEstoque Lancamento'[Cod Empresa] = CodEmpresa,&lt;BR /&gt;'fEstoque Lancamento'[Cod Almoxarifado] = CodAlmoxarifado,&lt;BR /&gt;'fEstoque Lancamento'[Cod Produto] = CodProduto,&lt;BR /&gt;'fEstoque Lancamento'[Nr Sequencia] = UltimaSequencia,&lt;BR /&gt;&lt;STRONG&gt;REMOVEFILTERS&lt;/STRONG&gt;('fCalendário')&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;RETURN EstoqueTotal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it works changes mentioned in highlighted color&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! This will help others on the forum!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 14:09:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CANT-REMOVER-FILTERS-FROM-A-MEASURE/m-p/3998413#M155615</guid>
      <dc:creator>rajendraongole1</dc:creator>
      <dc:date>2024-06-18T14:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: CANT REMOVER FILTERS FROM A MEASURE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CANT-REMOVER-FILTERS-FROM-A-MEASURE/m-p/3998443#M155616</link>
      <description>&lt;P&gt;hEY&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="118660" data-lia-user-login="rajendraongole1" class="lia-mention lia-mention-user"&gt;rajendraongole1&lt;/a&gt;&amp;nbsp;, thanks for your support, but still didnt work. How can I share my file here?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 14:27:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CANT-REMOVER-FILTERS-FROM-A-MEASURE/m-p/3998443#M155616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-18T14:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: CANT REMOVER FILTERS FROM A MEASURE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CANT-REMOVER-FILTERS-FROM-A-MEASURE/m-p/4000954#M155903</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can create some dummy data and paste to your thread with table format or upload the sample data to a network driver and share the link here.&lt;/P&gt;
&lt;P&gt;Notice: remove sensitive data before share.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 02:04:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CANT-REMOVER-FILTERS-FROM-A-MEASURE/m-p/4000954#M155903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-20T02:04:07Z</dc:date>
    </item>
  </channel>
</rss>

