<?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 DAX Time Intelligence in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence/m-p/3441260#M130792</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a question related to &lt;STRONG&gt;Month To Date,Quater To Date and YearTo Date&lt;/STRONG&gt; dax formulas , in my current project we are dealing with data which has only &lt;STRONG&gt;month numbers&lt;/STRONG&gt; related to date information in fact table .With only month number is it possible to calculate&amp;nbsp;&lt;STRONG&gt;Month To Date,Quater To Date and Year To Date&lt;/STRONG&gt; dax as there no proper materials on web related to it, i have create custom date table in power query and created relationship with fact table but its still no use.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance and regards!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Sep 2023 09:24:35 GMT</pubDate>
    <dc:creator>SVM9698</dc:creator>
    <dc:date>2023-09-21T09:24:35Z</dc:date>
    <item>
      <title>DAX Time Intelligence</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence/m-p/3441260#M130792</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a question related to &lt;STRONG&gt;Month To Date,Quater To Date and YearTo Date&lt;/STRONG&gt; dax formulas , in my current project we are dealing with data which has only &lt;STRONG&gt;month numbers&lt;/STRONG&gt; related to date information in fact table .With only month number is it possible to calculate&amp;nbsp;&lt;STRONG&gt;Month To Date,Quater To Date and Year To Date&lt;/STRONG&gt; dax as there no proper materials on web related to it, i have create custom date table in power query and created relationship with fact table but its still no use.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance and regards!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 09:24:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence/m-p/3441260#M130792</guid>
      <dc:creator>SVM9698</dc:creator>
      <dc:date>2023-09-21T09:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Time Intelligence</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence/m-p/3442485#M130812</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="620506" data-lia-user-login="SVM9698" class="lia-mention lia-mention-user"&gt;SVM9698&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To use these functions, you will need to use the Date Table you created&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/guidance/model-date-tables" target="_blank"&gt;https://learn.microsoft.com/en-us/power-bi/guidance/model-date-tables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the Fact table have a relationship with other Table on the Month ID? Is the Month ID 1-12 or is it a YearMonth column? 202301 for example?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't forget to convert your date table to a date table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide a screenshot of the month column from the other table? Then i can help you further&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 06:50:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence/m-p/3442485#M130812</guid>
      <dc:creator>JoeBarry</dc:creator>
      <dc:date>2023-09-22T06:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Time Intelligence</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence/m-p/3442683#M130823</link>
      <description>&lt;P&gt;&amp;nbsp;Thanks a lot for your input&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="601805" data-lia-user-login="JoeBarry" class="lia-mention lia-mention-user"&gt;JoeBarry&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue here is in my fact table(Volume table) there is only month number and no other date information like date,year etc only month number(1 to 12) that's it, even though considering current month is september i.e 9. This fact table contains information of oct to dec as well. I have created custom date table and have 1 to many relationship only to fact table. This custom table i dont have continous dates so cant convert into date table, i will try keeping bridge table then convert into date table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we create current month if we have all months?&lt;/P&gt;&lt;P&gt;How can we create MTD,QTD and YTD filters on this type of data?&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance and regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 08:58:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence/m-p/3442683#M130823</guid>
      <dc:creator>SVM9698</dc:creator>
      <dc:date>2023-09-22T08:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Time Intelligence</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence/m-p/3442778#M130827</link>
      <description>&lt;P&gt;Does the Volume table only have data from a certain year or is there many years in it? If it is just for one year and it's the current year, then in power query add a custom column called Date to the volume table.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"01/" &amp;amp; [Periodo 445] &amp;amp; "/2023"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Convert to Date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a new date table&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date Table = = CALENDAR (MINX (Volume, [Date]), MAXX (Volume, [Date]))&lt;/LI-CODE&gt;&lt;P&gt;You can other columns using the FORMAT Function. This will give you all dates between the Min and Max dates of your Volume table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create the relationship as above. One to many on the date column in the date table to the date column in the Volume table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you can create the Time Intelligence measures&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MTD = TOTALMTD(SUM(Volume[Amount]), 'DateTable'[Date])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 10:04:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Time-Intelligence/m-p/3442778#M130827</guid>
      <dc:creator>JoeBarry</dc:creator>
      <dc:date>2023-09-22T10:04:53Z</dc:date>
    </item>
  </channel>
</rss>

