<?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: QTD/YTD DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/751875#M2803</link>
    <description>&lt;P&gt;When you say that your company has a customized fiscal calendar, do you mean that you have a custom date table in PowerBI, or just that your company generally has a fiscal calendar starting Oct1?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is PowerBI aware that 6/29 is in the current fiscal quarter?&amp;nbsp; If you could get PowerBI to list out all dates in the current quarter, you can make sure that it recognizes 6/29 properly. Once you're sure of that, we can dig into why it might be failing for the first day of the quarter.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2019 19:51:52 GMT</pubDate>
    <dc:creator>Cmcmahan</dc:creator>
    <dc:date>2019-07-29T19:51:52Z</dc:date>
    <item>
      <title>QTD/YTD DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/751857#M2800</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I apologize if this question has been asked before.&amp;nbsp; But, I am unable to figure out why my QTD DAX formula would not show correct quantity.&amp;nbsp; To provide some context, our organization has a custom fiscal calendar that starts on October 1st.&amp;nbsp; I wrote the following DAX command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Quantity QTD = CALCULATE([Total Quantity],DATESQTD('Fiscal Calendar'[CalendarDate]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and see that one record is missing from the table.&amp;nbsp; This record was approved on 06/29, which happens to be the first day of current quarter, but powerbi does not recognize it as this quarter.&amp;nbsp; Any ideas how I can fix that?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Jul 2019 19:28:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/751857#M2800</guid>
      <dc:creator>sujaynadkarni</dc:creator>
      <dc:date>2019-07-29T19:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: QTD/YTD DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/751875#M2803</link>
      <description>&lt;P&gt;When you say that your company has a customized fiscal calendar, do you mean that you have a custom date table in PowerBI, or just that your company generally has a fiscal calendar starting Oct1?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is PowerBI aware that 6/29 is in the current fiscal quarter?&amp;nbsp; If you could get PowerBI to list out all dates in the current quarter, you can make sure that it recognizes 6/29 properly. Once you're sure of that, we can dig into why it might be failing for the first day of the quarter.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 19:51:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/751875#M2803</guid>
      <dc:creator>Cmcmahan</dc:creator>
      <dc:date>2019-07-29T19:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: QTD/YTD DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/751948#M2812</link>
      <description>&lt;P&gt;Well, mate, you're out of luck. Almost all time-intel functions &lt;STRONG&gt;DO NOT WORK&lt;/STRONG&gt; with custom calendars. You have to write your own logic (but it's not too hard if you know DAX a bit) for the non-standard calendar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 21:14:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/751948#M2812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-29T21:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: QTD/YTD DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/754238#M2914</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just generatlly that our company has a fiscal calendar starting october 1st.&amp;nbsp; I see that PowerBI is aware that 06/29 is the current fiscal quarter.&amp;nbsp; See below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 17:11:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/754238#M2914</guid>
      <dc:creator>sujaynadkarni</dc:creator>
      <dc:date>2019-07-31T17:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: QTD/YTD DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/754239#M2915</link>
      <description>Well, there are a very tiny handful of functions where you can specify the end of the year but they are few and in most of the time-intel functions you cannot specify the date/month in which the year ends.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;Darek</description>
      <pubDate>Wed, 31 Jul 2019 17:14:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/754239#M2915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-31T17:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: QTD/YTD DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/754249#M2918</link>
      <description>&lt;P&gt;Darek -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp; YTD function works fine as I was able to specify end date of fiscal year, which is always 09/30.&amp;nbsp; QTD is tricky as Powerbi is using 1st July as the starting date.&amp;nbsp; If I could only specify the start date ;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In one of your replies, you mentioned that I could write DAX functions.&amp;nbsp; If handy and possible, could you point me to the resources.&amp;nbsp; I am new to powerbi - 2 weeks old and happy to learn.&amp;nbsp; Thanks for your help&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 17:35:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/754249#M2918</guid>
      <dc:creator>sujaynadkarni</dc:creator>
      <dc:date>2019-07-31T17:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: QTD/YTD DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/754251#M2919</link>
      <description>Mate... a long, long way ahead of you :)&lt;BR /&gt;&lt;BR /&gt;Please go to &lt;A href="http://www.sqlbi.com" target="_blank"&gt;www.sqlbi.com&lt;/A&gt; and search for articles on "custom calendars." You'll find the techniques that will enable you to tackle any kind of calendar you want. But be prepared to sweat.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;Darek</description>
      <pubDate>Wed, 31 Jul 2019 17:37:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/754251#M2919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-31T17:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: QTD/YTD DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/754273#M2921</link>
      <description>&lt;P&gt;I already am.&amp;nbsp; But, this is good sweat - releasing endorphins.&amp;nbsp; lol.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 18:07:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/QTD-YTD-DAX/m-p/754273#M2921</guid>
      <dc:creator>sujaynadkarni</dc:creator>
      <dc:date>2019-07-31T18:07:11Z</dc:date>
    </item>
  </channel>
</rss>

