<?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: Time Intelligence with Direct Query in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/764336#M3333</link>
    <description>&lt;P&gt;Darek,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for you feedback. When I look at&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/desktop-date-tables" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/desktop-date-tables&lt;/A&gt;&amp;nbsp;I only see that I need to mark my DimDate as the date table (the scenario I talked about when I had separate date and fact tables). That's what I did, the assistant is so nice to check field setting and data quality in the date table on its own... Still no Time Intelligence in Quick Measures and still DATESYTD works...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2019 15:01:06 GMT</pubDate>
    <dc:creator>TePe</dc:creator>
    <dc:date>2019-08-12T15:01:06Z</dc:date>
    <item>
      <title>Time Intelligence with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/764274#M3331</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know about the limitations of Time Intelligence when using Direct Query (i.e. you don't see Time Intelligence in the Quick Measures). However digging into the documentation (&lt;A href="https://docs.microsoft.com/en-us/power-bi/desktop-directquery-about" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/desktop-directquery-about&lt;/A&gt;) I found this sidenote: "&lt;SPAN&gt;Note however that if there is a Date table available in the underlying source (as is common in many data warehouses) then the DAX Time Intelligence functions can be used as normal.".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried that with a Azure SQL DWH and the AdventureWorks DW sample db (you need to delete 2006 dates from dimDate to make it working). Functions like DATESYTD seem to work fine however the Time Intelligence related Quick Measures are still not available.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyway I tried the same with a view on the DWH. So I joined the facts with the dimDate (so now I don't have a separate date table anymore) and it still works?!?! And Time Intelligence features are still missing in the Quick Measures... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So what's the benefit of having a date table in this case (I know about the usual advantages)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bug or feature? ;-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 13:55:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/764274#M3331</guid>
      <dc:creator>TePe</dc:creator>
      <dc:date>2019-08-12T13:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Time Intelligence with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/764330#M3332</link>
      <description>Mate, your DW Date table has to follow exactly the same rules as the Date table in PBI has to. If that's not the case, forget about any time-intel calculations.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;Darek</description>
      <pubDate>Mon, 12 Aug 2019 14:53:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/764330#M3332</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-12T14:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Time Intelligence with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/764336#M3333</link>
      <description>&lt;P&gt;Darek,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for you feedback. When I look at&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/desktop-date-tables" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/desktop-date-tables&lt;/A&gt;&amp;nbsp;I only see that I need to mark my DimDate as the date table (the scenario I talked about when I had separate date and fact tables). That's what I did, the assistant is so nice to check field setting and data quality in the date table on its own... Still no Time Intelligence in Quick Measures and still DATESYTD works...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 15:01:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/764336#M3333</guid>
      <dc:creator>TePe</dc:creator>
      <dc:date>2019-08-12T15:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Time Intelligence with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/764444#M3340</link>
      <description>Is you Date table marked as such in PBI? Does it join to the fact table on the right field in the model? Does it cover all the years in full that are present in the columns to which it's joined? If the conditions are satisfied, then you should have no problem with the time-intel functions.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;Darek</description>
      <pubDate>Mon, 12 Aug 2019 17:20:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/764444#M3340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-12T17:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Time Intelligence with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/765693#M3440</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so what I did:&lt;/P&gt;&lt;P&gt;- created an Azure Data Warehouse with AdventureWorks DW sample DB&lt;/P&gt;&lt;P&gt;- deleted 2006 data from dimDate because there's a gap in the date table, Power BI isn't happy with that. There's no sales data for 2006...&lt;/P&gt;&lt;P&gt;- created a DirectQuery model with Power BI latest version&lt;/P&gt;&lt;P&gt;- selected DimDate and FactInternetSales&lt;/P&gt;&lt;P&gt;- built up a relationship between FactInternetSales.OrderDateKey and DimDate.DateKey&lt;/P&gt;&lt;P&gt;- I marked DimDate as Date Table with FullDateAlternateKey as the date field&lt;/P&gt;&lt;P&gt;- Tried to create a Quick Measure with Time Intelligence but the corresponding section isn't available in the calculation list&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What works is DAX formulas like DATESYTD() but this is independent of using a separate date table or not. So still I'm confused what extra functionality should be enabled with a date table in the DirectQuery source compared to anything else...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 19:57:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/765693#M3440</guid>
      <dc:creator>TePe</dc:creator>
      <dc:date>2019-08-13T19:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Time Intelligence with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/765701#M3441</link>
      <description>Time-intel functions ALWAYS rely on a separate Date table that stores contiguous dates for whole years. This is how it works. If you use them on something that is not a Date table, you'll get rubbish.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;Darek</description>
      <pubDate>Tue, 13 Aug 2019 20:21:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/765701#M3441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T20:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Time Intelligence with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/765703#M3442</link>
      <description>My guess is that quick measures just don't work (yet?) with DirectQuery.&lt;BR /&gt;&lt;BR /&gt;When in doubt, go to documentation:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/desktop-quick-measures#limitations-and-considerations" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/desktop-quick-measures#limitations-and-considerations&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And now you know...&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;Darek</description>
      <pubDate>Tue, 13 Aug 2019 20:25:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/765703#M3442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T20:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Time Intelligence with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/765717#M3444</link>
      <description>&lt;P&gt;yep, might be the case that DirectQuery isn't supporting TimeIntelligence Quick Measures... The DAX formulas seam to work so it's just additional effort to build the measure manually...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 20:42:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/765717#M3444</guid>
      <dc:creator>TePe</dc:creator>
      <dc:date>2019-08-13T20:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Time Intelligence with Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/766210#M3458</link>
      <description>The link I showed you in my previous post says clearly that quick measures do not work in DirectQuery. It's not "might be", it's 100%.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;Darek</description>
      <pubDate>Wed, 14 Aug 2019 08:58:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Intelligence-with-Direct-Query/m-p/766210#M3458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-14T08:58:55Z</dc:date>
    </item>
  </channel>
</rss>

