<?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: How to calculate QTD and YTD average in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-QTD-and-YTD-average/m-p/2410551#M63488</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;When all the sales are added up for a quarter, that is that quarters average. If you have six months of sales it is that total of all sales / 2.&amp;nbsp; Please see attached. Having a Date Table really helps with this type of work.&lt;/P&gt;&lt;P&gt;&lt;A title="QTD Sales" href="https://drive.google.com/file/d/1ZuYiO9V6oYiJ0biFY2bvc47EaB38t3Q6/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1ZuYiO9V6oYiJ0biFY2bvc47EaB38t3Q6/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 20:16:49 GMT</pubDate>
    <dc:creator>Whitewater100</dc:creator>
    <dc:date>2022-03-22T20:16:49Z</dc:date>
    <item>
      <title>How to calculate QTD and YTD average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-QTD-and-YTD-average/m-p/2410405#M63485</link>
      <description>&lt;P&gt;Hey folks,&lt;/P&gt;&lt;P&gt;I have an requirement where I need to get average of daily data and based on the average daily data I need to find Quarter to Date(QTD) average of all daily data. Please let me know if you have any idea about this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 18:45:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-QTD-and-YTD-average/m-p/2410405#M63485</guid>
      <dc:creator>SagarVIS96</dc:creator>
      <dc:date>2022-03-22T18:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate QTD and YTD average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-QTD-and-YTD-average/m-p/2410551#M63488</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;When all the sales are added up for a quarter, that is that quarters average. If you have six months of sales it is that total of all sales / 2.&amp;nbsp; Please see attached. Having a Date Table really helps with this type of work.&lt;/P&gt;&lt;P&gt;&lt;A title="QTD Sales" href="https://drive.google.com/file/d/1ZuYiO9V6oYiJ0biFY2bvc47EaB38t3Q6/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1ZuYiO9V6oYiJ0biFY2bvc47EaB38t3Q6/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 20:16:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-QTD-and-YTD-average/m-p/2410551#M63488</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-03-22T20:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate QTD and YTD average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-QTD-and-YTD-average/m-p/2416904#M63846</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="370247" data-lia-user-login="SagarVIS96" class="lia-mention lia-mention-user"&gt;SagarVIS96&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try to create measures as following:&lt;/P&gt;
&lt;LI-CODE lang="ruby"&gt;QTD_sum = 
TOTALQTD(SUM(Table2[Sale]),'Table2'[Date])&lt;/LI-CODE&gt;&lt;LI-CODE lang="ruby"&gt;QTD_avg = 
TOTALQTD(AVERAGE(Table2[Sale]),'Table2'[Date])&lt;/LI-CODE&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please refer to the attachment below for details.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Zeon Zheng&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 06:23:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-QTD-and-YTD-average/m-p/2416904#M63846</guid>
      <dc:creator>v-angzheng-msft</dc:creator>
      <dc:date>2022-03-25T06:23:31Z</dc:date>
    </item>
  </channel>
</rss>

