<?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 Creating QTD and YTD metrics on a weekly aggregate table in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Creating-QTD-and-YTD-metrics-on-a-weekly-aggregate-table/m-p/572048#M17702</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am solving a business requirement and stuck with the below issue.&lt;/SPAN&gt;&lt;SPAN&gt;So&amp;nbsp; here is my specific requirement, where I have a fact table whose grain is like Store,Week,Department and Sales. I need to build &amp;nbsp;QTD and YTD measures for Sales based on the week Fact table. &amp;nbsp;Based on my primary research I can create these measures if I have a date table and the Fact at a day level, but in my case as the fact table is at a week level, is it possible to the achieve the same or if there is any work around. Please suggest.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pradeep&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Nov 2018 21:23:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-23T21:23:54Z</dc:date>
    <item>
      <title>Creating QTD and YTD metrics on a weekly aggregate table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Creating-QTD-and-YTD-metrics-on-a-weekly-aggregate-table/m-p/572048#M17702</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am solving a business requirement and stuck with the below issue.&lt;/SPAN&gt;&lt;SPAN&gt;So&amp;nbsp; here is my specific requirement, where I have a fact table whose grain is like Store,Week,Department and Sales. I need to build &amp;nbsp;QTD and YTD measures for Sales based on the week Fact table. &amp;nbsp;Based on my primary research I can create these measures if I have a date table and the Fact at a day level, but in my case as the fact table is at a week level, is it possible to the achieve the same or if there is any work around. Please suggest.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pradeep&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 21:23:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Creating-QTD-and-YTD-metrics-on-a-weekly-aggregate-table/m-p/572048#M17702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-23T21:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating QTD and YTD metrics on a weekly aggregate table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Creating-QTD-and-YTD-metrics-on-a-weekly-aggregate-table/m-p/572555#M17709</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For any time intelligence function, you could implement a custom DAX formula.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A title="" href="https://www.sqlbi.com/articles/time-intelligence-in-power-bi-desktop/" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;https://www.sqlbi.com/articles/time-intelligence-in-power-bi-desktop/&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.sqlbi.com/articles/week-based-time-intelligence-in-dax/" target="_blank"&gt;https://www.sqlbi.com/articles/week-based-time-intelligence-in-dax/&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 26 Nov 2018 08:06:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Creating-QTD-and-YTD-metrics-on-a-weekly-aggregate-table/m-p/572555#M17709</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2018-11-26T08:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating QTD and YTD metrics on a weekly aggregate table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Creating-QTD-and-YTD-metrics-on-a-weekly-aggregate-table/m-p/580039#M17825</link>
      <description>&lt;P&gt;Thanks for the response and apologies for the delayed feedback, I went through those blogs but all of them are pretty much have a table at a day level, in my scenario I have my fact at a week level having a week surrogate key (Eg:201834 --Week 34 2018) joined on week surrogate key from week dimension. I have a week start date and week end date, in this case hoiw can I develop the qtd measure?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 05:06:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Creating-QTD-and-YTD-metrics-on-a-weekly-aggregate-table/m-p/580039#M17825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-06T05:06:30Z</dc:date>
    </item>
  </channel>
</rss>

