<?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: Relative date slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-slicer/m-p/4014004#M158107</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp; &amp;nbsp;.. Thanks for responding but I didnt quite understand what is disconnected date table. Please elaborate&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically , here is my requirement - If the user selectes past&amp;nbsp; 3 calender months using the given slicer&amp;nbsp; (which translates to say Jun,May,Apr) , then I have to calculate variance from prior three months i.e Mar,Feb,Jan. Or if user selects 7 days then I have to calculate variance from 7 days prior to these selected 7 days . What is the best way to achieve this ?&amp;nbsp; The user may select any number of days or months or even years uing the relative date slicer&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2024 17:53:33 GMT</pubDate>
    <dc:creator>ashwinkolte</dc:creator>
    <dc:date>2024-06-27T17:53:33Z</dc:date>
    <item>
      <title>Relative date slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-slicer/m-p/4004897#M156334</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a relative date slicer. Something like this which we all know&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I want to calculate variance of measure (lets says sum of sales) from&amp;nbsp; equivalent previous period .&lt;/P&gt;&lt;P&gt;For e.g&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the user selects "Last 7 days" in the slicer then I want to calculate variance from last 7 days prior to the selected "Last 7 days" of the slicer . I understand for this we can use selected value measure and find max and min dates of the slicer and use it . The challenge is here -&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the user selects "Last 1 Calender month" in the slicer then I want variance from its previous calender month . E.g if the last calender month is May 24 , then I want variance from Apr 24 , although the number of days in April and May&amp;nbsp; differ . I want to identify what level the slicer is i.e day , week, month, year level and then calculate from its&amp;nbsp; previous period . I dont want to calcuate 31 days of May month&amp;nbsp; and go back 31 days from 30 April.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope I am able to articulate the question .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 06:58:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-slicer/m-p/4004897#M156334</guid>
      <dc:creator>ashwinkolte</dc:creator>
      <dc:date>2024-06-22T06:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Relative date slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-slicer/m-p/4005025#M156358</link>
      <description>&lt;P&gt;Use a disconnected dates table and the filter pane. It has all these advanced filtering options already available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want PPTD (previous period to date) then add an additional filter of "is before today in PP".&amp;nbsp; Ideally you have that precomputed in the calendar table and the calendar table is in import mode and refreshed daily.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 13:27:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-slicer/m-p/4005025#M156358</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-06-22T13:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Relative date slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-slicer/m-p/4014004#M158107</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp; &amp;nbsp;.. Thanks for responding but I didnt quite understand what is disconnected date table. Please elaborate&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically , here is my requirement - If the user selectes past&amp;nbsp; 3 calender months using the given slicer&amp;nbsp; (which translates to say Jun,May,Apr) , then I have to calculate variance from prior three months i.e Mar,Feb,Jan. Or if user selects 7 days then I have to calculate variance from 7 days prior to these selected 7 days . What is the best way to achieve this ?&amp;nbsp; The user may select any number of days or months or even years uing the relative date slicer&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 17:53:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relative-date-slicer/m-p/4014004#M158107</guid>
      <dc:creator>ashwinkolte</dc:creator>
      <dc:date>2024-06-27T17:53:33Z</dc:date>
    </item>
  </channel>
</rss>

