<?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: Date Table and Time Intelligence Functions not working anymore in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355596#M59964</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;to be honest i dont remember either it was created table or blank querry&lt;BR /&gt;I tried but cant share pbix file from here also 3rd party uploading websites is not allowed in my organization. So i dont know how can i share it.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Feb 2022 10:03:25 GMT</pubDate>
    <dc:creator>i_kafali</dc:creator>
    <dc:date>2022-02-23T10:03:25Z</dc:date>
    <item>
      <title>Date Table and Time Intelligence Functions not working anymore</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355346#M59943</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I dont know the reason but i had properly working date table function and time intelligence functions before, but not working anymore. I dont know if its related with latest updates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you may see in the below screenshot it gives error after Date function at 3rd row.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If i dont touch the dax formula its ok but if i F2 + enter all my report will blow up.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same happens to my DATESINPERIOD formula, As you can see below, last parameter is not accepting MONTH as Interval. which was perfectly working before. If i re enter on this formula, again all my report will be broken.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for you help&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 08:39:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355346#M59943</guid>
      <dc:creator>i_kafali</dc:creator>
      <dc:date>2022-02-23T08:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date Table and Time Intelligence Functions not working anymore</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355407#M59950</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="67619" data-lia-user-login="i_kafali" class="lia-mention lia-mention-user"&gt;i_kafali&lt;/a&gt; , Close all power bi instance start again and check.&lt;/P&gt;
&lt;P&gt;Hope the first one is created table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share&amp;nbsp; a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 09:02:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355407#M59950</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-23T09:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Date Table and Time Intelligence Functions not working anymore</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355596#M59964</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;to be honest i dont remember either it was created table or blank querry&lt;BR /&gt;I tried but cant share pbix file from here also 3rd party uploading websites is not allowed in my organization. So i dont know how can i share it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:03:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355596#M59964</guid>
      <dc:creator>i_kafali</dc:creator>
      <dc:date>2022-02-23T10:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Date Table and Time Intelligence Functions not working anymore</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355608#M59965</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="67619" data-lia-user-login="i_kafali" class="lia-mention lia-mention-user"&gt;i_kafali&lt;/a&gt; , This seem like a strange error. I doubt anyone reported such issue with Feb -2022, latest version. &lt;/P&gt;
&lt;P&gt;Can you try creating this date table in a new file?&lt;/P&gt;
&lt;P&gt;Also just use today as second argument, or make sure parenthesis are closed properly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my working script , try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Date = var _tab1 = ADDCOLUMNS( CALENDAR(Date(2018,10,1),today()), 
"Month Year", format([Date],"mmm-yyyy")
,"Month Year Sort", year([Date]) *100 + month([Date])
,"Year", year([Date])
, "Start of Year", date(year([date]),1,1)
, "End of Year", date(year([date]),12,31)
, "Start of FY", if(month([Date]) &amp;lt;4, date(year([date])-1,4,1), date(year([date]),4,1))
, "End of FY", if(month([Date]) &amp;lt;4, date(year([date]),3,31), date(year([date])+1,3,31))
, "Start Of Month", EOMONTH([date],-1)+1
, "End Of Month", EOMONTH([date],0) 
, "Start Of Qtr", Var _1 = mod(MONTH([Date]),3) 
var _2 = if(_1 =0 ,3,_1) return EOMONTH([Date],-1*_2)+1
, "End Of Qtr", Var _1 = mod(MONTH([Date]),3) 
var _2 = if(_1 =0 ,_1,3-_1) return EOMONTH([Date],_2)
, "Qtr" , format([date], "YYYY\-\QQ")
, "WeekDay" , WEEKDAY([Date],2)
, "Week Start Date", [Date] - WEEKDAY([Date],2) +1
, "Week End Date", [Date] - WEEKDAY([Date],2) +7
, "Weekday Name", FORMAT([date], "ddd")
, "Year Week", Year([Date])*100 + WEEKNUM([Date],2)
)
return  ADDCOLUMNS(_tab1, 
 "FY Qtr" , DATEDIFF( [Start of FY], [Start Of Qtr], QUARTER) +1
, "Week Rank", RANKX(_tab1,[Week Start Date],,ASC,Dense)
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:10:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355608#M59965</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-23T10:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date Table and Time Intelligence Functions not working anymore</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355641#M59969</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;It worked when i have changed second argument as below&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But still having issue with DATESINPERIOD function. Last argument which is interval is not accepting MONTH. Do you have any idea how can i solve it=&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:22:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355641#M59969</guid>
      <dc:creator>i_kafali</dc:creator>
      <dc:date>2022-02-23T10:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date Table and Time Intelligence Functions not working anymore</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355669#M59972</link>
      <description>&lt;P&gt;Oh no.. now my dates begins from 1899 &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:33:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355669#M59972</guid>
      <dc:creator>i_kafali</dc:creator>
      <dc:date>2022-02-23T10:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Date Table and Time Intelligence Functions not working anymore</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355684#M59975</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="67619" data-lia-user-login="i_kafali" class="lia-mention lia-mention-user"&gt;i_kafali&lt;/a&gt; , First Argument is wrong &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;keep it simple like. Not sure why they are taking year of date , that is not even a text &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;date(2020,01,01)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, try this as a measure , assuming&amp;nbsp;[Volume (Ton)] is&amp;nbsp; measures&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rolling 3 = CALCULATE([Volume (Ton)],DATESINPERIOD('Date'[Date],MAX('Date'[Date ]),-3,MONTH))&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:38:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355684#M59975</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-23T10:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Date Table and Time Intelligence Functions not working anymore</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355715#M59982</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;i solved the problem&lt;BR /&gt;&lt;BR /&gt;I had to make it like Date(2020, 1, 1) instead of&amp;nbsp; Date(2020,1,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont know why it needs one space between arguments. also solved the DATESINPERIOD formule with leaving one space between last arguments. Interesting..&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:52:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Table-and-Time-Intelligence-Functions-not-working-anymore/m-p/2355715#M59982</guid>
      <dc:creator>i_kafali</dc:creator>
      <dc:date>2022-02-23T10:52:34Z</dc:date>
    </item>
  </channel>
</rss>

