<?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: REMOVEFILTERS or ALLEXCEPT in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353185#M125941</link>
    <description>&lt;P&gt;yes&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jul 2023 11:55:01 GMT</pubDate>
    <dc:creator>eliasayyy</dc:creator>
    <dc:date>2023-07-27T11:55:01Z</dc:date>
    <item>
      <title>REMOVEFILTERS or ALLEXCEPT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3352908#M125917</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;see charts below.&amp;nbsp;&lt;BR /&gt;The Line should always show the sum of the categories. Also if I only choose one category in the slicer as in the second chart.&lt;BR /&gt;I thought this would work:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sum of Categories Line = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sum of Categories]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dates&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Dates&lt;/SPAN&gt;&lt;SPAN&gt;[Year]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Dates&lt;/SPAN&gt;&lt;SPAN&gt;[MonthShortName]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So filter on nothing. Except the year and month used in the visual.&lt;BR /&gt;But it doesn't. In the second chart the Line just follows the number of Detection.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then I created :&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sum of Categories Line1 = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sum of Categories]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;REMOVEFILTERS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Categories&lt;/SPAN&gt;&lt;SPAN&gt;[Category]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;That one works. But suppose I add another slicer on this page then maybe I have to change the DAX,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Why isn't the ALLEXCEPT working?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&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;&amp;nbsp;&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;&amp;nbsp;&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;&lt;P&gt;Hope someone can help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 09:42:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3352908#M125917</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-27T09:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: REMOVEFILTERS or ALLEXCEPT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3352968#M125920</link>
      <description>&lt;P&gt;&lt;SPAN&gt;if you have relatioship between date and table ,&lt;BR /&gt;You used in the all except function the calendar or dates table , which removes all filetrs from date which doesnt have your category , so you need to replace Dates with your table that has categories .&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum of Categories Line = CALCULATE([Sum of Categories],ALLEXCEPT(Table,Dates[Year],Dates[MonthShortName]))&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 10:04:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3352968#M125920</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-07-27T10:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: REMOVEFILTERS or ALLEXCEPT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353058#M125933</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434309" data-lia-user-login="eliasayyy" class="lia-mention lia-mention-user"&gt;eliasayyy&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I don't understand the answer.&lt;BR /&gt;I have a Dates table with amongst other Date, Year and MonthShortName.&lt;BR /&gt;I have a Category table with, amongst others, Category-Date.&lt;BR /&gt;There is a 1:n relation between Dates and Category on the fields Date and Category-Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do I have to do to get ALLEXCEPT working?&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 11:00:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353058#M125933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-27T11:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: REMOVEFILTERS or ALLEXCEPT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353064#M125934</link>
      <description>&lt;P&gt;ok in your formula , you used allexcept , and they ask you to sepcify a table , you chose dates table ,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;so in theory , it will remove all filters inside the dates table only , however if yo uuse all except and choose the category table, it will fremove all filters from categort table&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;so instead of&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;allexcept(dates,dates[month])&lt;BR /&gt;&lt;BR /&gt;use allexcept(category table,dates[month])&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 11:02:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353064#M125934</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-07-27T11:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: REMOVEFILTERS or ALLEXCEPT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353121#M125935</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434309" data-lia-user-login="eliasayyy" class="lia-mention lia-mention-user"&gt;eliasayyy&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;you helped me out&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This is the solution. Thnx a lot&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sum of Categories Line3 = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sum of Categories]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Categories&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Dates&lt;/SPAN&gt;&lt;SPAN&gt;[Year]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Dates&lt;/SPAN&gt;&lt;SPAN&gt;[MonthShortName]&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;Although I not completely undserstand why this doens't work:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sum of Categories Line2 = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sum of Categories]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Categories&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Categories&lt;/SPAN&gt;&lt;SPAN&gt;[Category-Date]&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;But I will dive more in reading a clear article of ALLEXCEPT&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Jul 2023 11:29:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353121#M125935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-27T11:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: REMOVEFILTERS or ALLEXCEPT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353161#M125938</link>
      <description>&lt;P&gt;on your chart, your slicer is using dates table month as a filter so you need to specify the column the allexcept should respect and keep the filters , in your case its dates table month or dates date. if you want to use categories date in all except , you need to use categories date in your slicer&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 11:45:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353161#M125938</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-07-27T11:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: REMOVEFILTERS or ALLEXCEPT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353169#M125940</link>
      <description>&lt;P&gt;Ah, ok&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with slicer you mean the visual, the line and clustered column chart&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 11:48:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353169#M125940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-27T11:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: REMOVEFILTERS or ALLEXCEPT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353185#M125941</link>
      <description>&lt;P&gt;yes&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 11:55:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/REMOVEFILTERS-or-ALLEXCEPT/m-p/3353185#M125941</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-07-27T11:55:01Z</dc:date>
    </item>
  </channel>
</rss>

