<?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: summarized table with a dynamic filter Is it possible? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/1535880#M30173</link>
    <description>&lt;P&gt;ah...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in a measure how will&amp;nbsp; this look?&lt;/P&gt;</description>
    <pubDate>Mon, 07 Dec 2020 07:59:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-07T07:59:04Z</dc:date>
    <item>
      <title>summarized table with a dynamic filter Is it possible?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/1535354#M30161</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hi , I need some help to create the following summarized table.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have a revenue_data table i need to summarize .&amp;nbsp; At the moment I have to manually enter the 2019&amp;nbsp; to get this table to run.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;I'd like it to run when i choose a Year from a slicer if possible?&amp;nbsp; to be even better, to choose the previous year of the chosen year.&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;&lt;SPAN&gt;&amp;nbsp;so 2020&amp;nbsp; &amp;nbsp;I'd like 2019&amp;nbsp; from the code below can it be done?&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;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;March_Table = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATETABLE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMMARIZE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Revenue_Data,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[Country],[TERRITORY_DETAILED_DESCRIPTION],[BASE_AMOUNT],[DATE])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,FILTER('Revenue_Data',&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;year(Revenue_Data[DATE])= 2019)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Dec 2020 03:32:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/1535354#M30161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-07T03:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: summarized table with a dynamic filter Is it possible?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/1535510#M30166</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this code please:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;March_Table =
CALCULATETABLE(
SUMMARIZE(
Revenue_Data,
[Country],[TERRITORY_DETAILED_DESCRIPTION],[BASE_AMOUNT],[DATE])
,FILTER('Revenue_Data',
year(Revenue_Data[DATE])= YEAR(SELECTEDVALUE(Revenue_Data[DATE]))-1)
 
)&lt;/LI-CODE&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please click &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help other members find it useful&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.excelfort.com" target="_blank"&gt;&lt;FONT color="blue"&gt;Website&lt;/FONT&gt;&lt;/A&gt; &lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 05:42:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/1535510#M30166</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-12-07T05:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: summarized table with a dynamic filter Is it possible?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/1535804#M30170</link>
      <description>&lt;P&gt;Ok&amp;nbsp; Unfortunately not....yet... let me change it a wee bit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;March_Table = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATETABLE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMMARIZE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Revenue_Data,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[Country],[TERRITORY_DETAILED_DESCRIPTION],[BASE_AMOUNT],[DATE],Revenue_Data[FIN_YEAR])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,FILTER('Revenue_Data',&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Revenue_Data[FIN_YEAR]= SELECTEDVALUE('Calendar'[FIN_YEAR])-1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So I'm trying this....&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have on a page a slicer for financial year.... I shoose 2020&amp;nbsp; and i need that to be 2019 in the filter.. so the assumption is the selected value does this?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;there is a link the the calendar table&amp;nbsp; from the original revenue_data table.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I just can't get this to work...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Dec 2020 07:34:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/1535804#M30170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-07T07:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: summarized table with a dynamic filter Is it possible?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/1535864#M30171</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;if you are creating a calculated table, you cannot include the slicer values coming from your report. If you are going to use this code inside a measure, it will work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please click &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help other members find it useful&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.excelfort.com" target="_blank"&gt;&lt;FONT color="blue"&gt;Website&lt;/FONT&gt;&lt;/A&gt; &lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 07:55:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/1535864#M30171</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-12-07T07:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: summarized table with a dynamic filter Is it possible?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/1535880#M30173</link>
      <description>&lt;P&gt;ah...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in a measure how will&amp;nbsp; this look?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 07:59:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/1535880#M30173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-07T07:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: summarized table with a dynamic filter Is it possible?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/2539622#M71497</link>
      <description>&lt;P&gt;Thanks! This was really useful&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 16:49:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/summarized-table-with-a-dynamic-filter-Is-it-possible/m-p/2539622#M71497</guid>
      <dc:creator>angelarojasmora</dc:creator>
      <dc:date>2022-05-25T16:49:56Z</dc:date>
    </item>
  </channel>
</rss>

