<?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: Use outside filter context within a calculate table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-outside-filter-context-within-a-calculate-table/m-p/912029#M8734</link>
    <description>&lt;P&gt;Thanks, I would have something like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2020 08:05:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-01-27T08:05:45Z</dc:date>
    <item>
      <title>Use outside filter context within a calculate table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-outside-filter-context-within-a-calculate-table/m-p/909369#M8637</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a calculated table starting from the main table, but if I apply a filter on the main table it doesn't filter the calculate table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here below the schema:&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here below the code:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;CALCULATED TABLE = &lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;VAR Main_Table_Var = FILTER(&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;MAIN_TABLE;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;[Filter1]&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;STRONG&gt;VAR Calculated_Table_Var=SUMMARIZE(&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Main_Table_Var ;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;[Column1];&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;"Test"; SUM([Column2]);&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Return&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Calculated_Table_Var&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I don't understand why the &lt;STRONG&gt;main_table_var&amp;nbsp;&lt;/STRONG&gt;gets ever the whole main table without considering the filter I've applied to it in the report.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks!!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Jan 2020 11:27:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-outside-filter-context-within-a-calculate-table/m-p/909369#M8637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-23T11:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use outside filter context within a calculate table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-outside-filter-context-within-a-calculate-table/m-p/909486#M8643</link>
      <description>&lt;P&gt;Make sure your main table is connected with Calculated table .&lt;/P&gt;&lt;P&gt;You can do it in relationship tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Pravin Wattamwar&lt;BR /&gt;&lt;A href="http://www.linkedin.com/in/pravin-p-wattamwar" target="_blank"&gt;www.linkedin.com/in/pravin-p-wattamwar&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;If I resolve your problem Mark it as a solution and give kudos.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 13:22:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-outside-filter-context-within-a-calculate-table/m-p/909486#M8643</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-23T13:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use outside filter context within a calculate table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-outside-filter-context-within-a-calculate-table/m-p/910511#M8676</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your reply, I'm looking for an alternative solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because I would use the filtered main table as starting point for the calculated table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 08:40:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-outside-filter-context-within-a-calculate-table/m-p/910511#M8676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-24T08:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Use outside filter context within a calculate table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-outside-filter-context-within-a-calculate-table/m-p/912008#M8733</link>
      <description>&lt;P&gt;means you want first your main table get filtered and based on filtered table your calculated table needs to be calculATED?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if your requirement is like this then it is not possible because calculated table gets loaded at first load only and they will not get calculated every time based on some filters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Pravin Wattamwar&lt;BR /&gt;&lt;A href="http://www.linkedin.com/in/pravin-p-wattamwar" target="_blank" rel="noopener"&gt;www.linkedin.com/in/pravin-p-wattamwar&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;If I resolve your problem Mark it as a solution and give kudos.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 08:07:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-outside-filter-context-within-a-calculate-table/m-p/912008#M8733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-27T08:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Use outside filter context within a calculate table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-outside-filter-context-within-a-calculate-table/m-p/912029#M8734</link>
      <description>&lt;P&gt;Thanks, I would have something like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 08:05:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-outside-filter-context-within-a-calculate-table/m-p/912029#M8734</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-27T08:05:45Z</dc:date>
    </item>
  </channel>
</rss>

