<?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: Problem with DAX function ALL in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-DAX-function-ALL/m-p/2203760#M51785</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sort by column gets included in the DAX query generated by Power BI.&amp;nbsp; Here's an article that goes through it:&amp;nbsp;&lt;A href="https://www.sqlbi.com/articles/side-effects-in-dax-of-the-sort-by-column-setting/" target="_blank"&gt;https://www.sqlbi.com/articles/side-effects-in-dax-of-the-sort-by-column-setting/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Nov 2021 13:26:59 GMT</pubDate>
    <dc:creator>PaulOlding</dc:creator>
    <dc:date>2021-11-23T13:26:59Z</dc:date>
    <item>
      <title>Problem with DAX function ALL</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-DAX-function-ALL/m-p/2203188#M51754</link>
      <description>&lt;P&gt;I have created a measure with calculates the overall figure during a season as a benchmark.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Ontwikkeling (%) per seizoen = &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IF( ISFILTERED(Leden_nw[Geslacht]), &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CALCULATE( Meetwaarden[Ontwikkeling (%)], ALLEXCEPT( Kalender_nw, Kalender_nw[Seizoen] ), ALL( Leden_nw[Geslacht] ) ), &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IF( ISFILTERED(Geografie_PC6[Provincie]),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CALCULATE( Meetwaarden[Ontwikkeling (%)], ALLEXCEPT(Kalender_nw, Kalender_nw[Seizoen] ), ALL( Geografie_PC6[Provincie] ) ),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IF( ISFILTERED(Leden_nw[Spelcategorie]),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CALCULATE( Meetwaarden[Ontwikkeling (%)], ALLEXCEPT( Kalender_nw, Kalender_nw[Seizoen] ), ALL( Leden_nw[Spelcategorie] ) )&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;) ) )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works fine for 2 of the 3 filters (Geslacht (=gender) and Provincie_naam (Province)), but for the 3rd one (Spelcategorie) it's still using the filters. What's wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a snapshot of the underlying table. What maybe is worthwile mentioning is the fact that I use another column (Sorteer) for sorting the column Spelcategorie.&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>Tue, 23 Nov 2021 08:30:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-DAX-function-ALL/m-p/2203188#M51754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-23T08:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with DAX function ALL</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-DAX-function-ALL/m-p/2203760#M51785</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sort by column gets included in the DAX query generated by Power BI.&amp;nbsp; Here's an article that goes through it:&amp;nbsp;&lt;A href="https://www.sqlbi.com/articles/side-effects-in-dax-of-the-sort-by-column-setting/" target="_blank"&gt;https://www.sqlbi.com/articles/side-effects-in-dax-of-the-sort-by-column-setting/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 13:26:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-DAX-function-ALL/m-p/2203760#M51785</guid>
      <dc:creator>PaulOlding</dc:creator>
      <dc:date>2021-11-23T13:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with DAX function ALL</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-DAX-function-ALL/m-p/2203950#M51802</link>
      <description>&lt;P&gt;I added the column used for sorting to the syntax based on the article and problem solved!&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="150936" data-lia-user-login="PaulOlding" class="lia-mention lia-mention-user"&gt;PaulOlding&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ontwikkeling (%) per seizoen =&lt;BR /&gt;IF( ISFILTERED(Leden_nw[Geslacht]),&lt;BR /&gt;CALCULATE( Meetwaarden[Ontwikkeling (%)], ALLEXCEPT( Kalender_nw, Kalender_nw[Seizoen] ), ALL( Leden_nw[Geslacht] ) ),&lt;BR /&gt;IF( ISFILTERED(Geografie_PC6[Provincie]),&lt;BR /&gt;CALCULATE( Meetwaarden[Ontwikkeling (%)], ALLEXCEPT(Kalender_nw, Kalender_nw[Seizoen] ), ALL( Geografie_PC6[Provincie] ) ),&lt;BR /&gt;IF( ISFILTERED(Leden_nw[Spelcategorie])||ISFILTERED(Leden_nw[Sorteer]),&lt;BR /&gt;CALCULATE( Meetwaarden[Ontwikkeling (%)], ALLEXCEPT( Kalender_nw, Kalender_nw[Seizoen] ), ALL( Leden_nw[Spelcategorie],Leden_nw[Sorteer] ) )&lt;BR /&gt;) ) )&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 15:09:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-DAX-function-ALL/m-p/2203950#M51802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-23T15:09:23Z</dc:date>
    </item>
  </channel>
</rss>

