<?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: All Function not working in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3519897#M135202</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="569583" data-lia-user-login="Dangar332" class="lia-mention lia-mention-user"&gt;Dangar332&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand this issue, But the thing is, my filter table and calendar table is different, so how should i accomodate the filter from 2 different tables and use ALL as a table function&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2023 12:44:37 GMT</pubDate>
    <dc:creator>Pranali_R</dc:creator>
    <dc:date>2023-11-07T12:44:37Z</dc:date>
    <item>
      <title>All Function not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3519660#M135192</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(Table[marks]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Table,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Table[grades] = &lt;/SPAN&gt;&lt;SPAN&gt;"Average"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;('Calendar'[year])&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Why is my&amp;nbsp; ALL('Calendar'[year]) not working, I want it to not be affected by this Calendar&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;year slicer&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;H3&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="569583" data-lia-user-login="Dangar332" class="lia-mention lia-mention-user"&gt;Dangar332&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="73845" data-lia-user-login="v-cherch-msft" class="lia-mention lia-mention-user"&gt;v-cherch-msft&lt;/a&gt;&amp;nbsp;&lt;/H3&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Nov 2023 11:03:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3519660#M135192</guid>
      <dc:creator>Pranali_R</dc:creator>
      <dc:date>2023-11-07T11:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: All Function not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3519716#M135193</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="476762" data-lia-user-login="Pranali_R" class="lia-mention lia-mention-user"&gt;Pranali_R&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you use AlLL() as a calculate modifier which remove filter context not ignore outer filter&amp;nbsp;&lt;/P&gt;&lt;P&gt;for ignoring outer filter you must usr ALL()&amp;nbsp; as&amp;nbsp; a&amp;nbsp; table function.&lt;BR /&gt;for more dive in ALL() function refer&amp;nbsp;&lt;A href="https://www.sqlbi.com/articles/managing-all-functions-in-dax-all-allselected-allnoblankrow-allexcept/" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sumx(
   filter( 
     all('table'),    --- use as a table function so ignore outer filters
     table[grades]="Average"
   ),
   Table[marks]
 )


or 

CALCULATE(
    SUM(Table[marks]),
    FILTER(
        all(Table),
        Table[grades] = "Average"
    )
 )&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 07 Nov 2023 11:05:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3519716#M135193</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2023-11-07T11:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: All Function not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3519729#M135194</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="476762" data-lia-user-login="Pranali_R" class="lia-mention lia-mention-user"&gt;Pranali_R&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = CALCULATE(
    SUM(Table[marks]),ALL('Calendar'[year]), Table[grades]="Average")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 11:11:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3519729#M135194</guid>
      <dc:creator>mlsx4</dc:creator>
      <dc:date>2023-11-07T11:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: All Function not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3519759#M135197</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="476762" data-lia-user-login="Pranali_R" class="lia-mention lia-mention-user"&gt;Pranali_R&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can use edit interaction&lt;/P&gt;&lt;P&gt;please visit&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions?tabs=powerbi-desktop" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 11:30:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3519759#M135197</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2023-11-07T11:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: All Function not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3519897#M135202</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="569583" data-lia-user-login="Dangar332" class="lia-mention lia-mention-user"&gt;Dangar332&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand this issue, But the thing is, my filter table and calendar table is different, so how should i accomodate the filter from 2 different tables and use ALL as a table function&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 12:44:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3519897#M135202</guid>
      <dc:creator>Pranali_R</dc:creator>
      <dc:date>2023-11-07T12:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: All Function not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3521943#M135287</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="476762" data-lia-user-login="Pranali_R" class="lia-mention lia-mention-user"&gt;Pranali_R&lt;/a&gt;&amp;nbsp;have you tried this?&lt;/P&gt;
&lt;P&gt;If both tables are related, it should work&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 09:13:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3521943#M135287</guid>
      <dc:creator>mlsx4</dc:creator>
      <dc:date>2023-11-08T09:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: All Function not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3522017#M135291</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="476762" data-lia-user-login="Pranali_R" class="lia-mention lia-mention-user"&gt;Pranali_R&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;try below&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALCULATE(
     SUM(Table[marks]),
     FILTER(
        all('Calendar'),
        X  -- use column name which participate in relationship b/w tables(table and calender)
     ),
     'table'[grades]="Average"
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 08 Nov 2023 09:40:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/All-Function-not-working/m-p/3522017#M135291</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2023-11-08T09:40:46Z</dc:date>
    </item>
  </channel>
</rss>

