<?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: creating a filtered calculated table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/creating-a-filtered-calculated-table/m-p/4324252#M171679</link>
    <description>&lt;P&gt;Calculated tables are only calculated during data refresh, they don't pay any attention to filters or slicers. If you want something to react dynamically you have to use a measure.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2024 15:49:49 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2024-12-11T15:49:49Z</dc:date>
    <item>
      <title>creating a filtered calculated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/creating-a-filtered-calculated-table/m-p/4324037#M171670</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;In my report I have two tables : &lt;STRONG&gt;Date&lt;/STRONG&gt; and &lt;STRONG&gt;Sales&lt;/STRONG&gt; (not connected to each others).&lt;/P&gt;&lt;P&gt;I added a slicer based on Date[date] and I'm trying to create a calculated table showing only sales with dates former to the date selected from &lt;STRONG&gt;Date&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;The following formula works :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FilteredTable = 
var summarized_ = SUMMARIZE(Sales,Sales[ID_Sale],Sales[ID_Client],
"FINAL_SALE_DATE",MAX(Sales[Sales_Date]))
var date_ = DATEVALUE("2024-01-01")

return filter(summarized_,[FINAL_SALE_DATE] &amp;lt;= date_)&lt;/LI-CODE&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;But when I use the selected date I get an empty table :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FilteredTable = 
var summarized_ = SUMMARIZE(Sales,Sales[ID_Sale],Sales[ID_Client],
"FINAL_SALE_DATE",MAX(Sales[Sales_Date]))
var date_ = DATEVALUE(LASTDATE('DATE'[Date]))

return filter(summarized_,[FINAL_SALE_DATE] &amp;lt;= date_)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd appreciate your help on this issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 14:17:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/creating-a-filtered-calculated-table/m-p/4324037#M171670</guid>
      <dc:creator>zoubeyrB</dc:creator>
      <dc:date>2024-12-11T14:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: creating a filtered calculated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/creating-a-filtered-calculated-table/m-p/4324252#M171679</link>
      <description>&lt;P&gt;Calculated tables are only calculated during data refresh, they don't pay any attention to filters or slicers. If you want something to react dynamically you have to use a measure.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 15:49:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/creating-a-filtered-calculated-table/m-p/4324252#M171679</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2024-12-11T15:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: creating a filtered calculated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/creating-a-filtered-calculated-table/m-p/4324277#M171680</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp;, I added a measure and filtered on it and it worked.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 16:10:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/creating-a-filtered-calculated-table/m-p/4324277#M171680</guid>
      <dc:creator>zoubeyrB</dc:creator>
      <dc:date>2024-12-11T16:10:06Z</dc:date>
    </item>
  </channel>
</rss>

