Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Direct Query - clarification on time intelligence

Hello Community  -  Direct Query seems quite limited except for any very nuanced use cases.    Aside from the other limitations, one thing I am trying to clarify is the ability to use time intelligence features.  

 

I have a data set that includes a date table and time intelligence seems to work.   Does that make sense?   I've also tried adding a date table to a direct query data model  (that did not inherently contain a date table), and time intelligence did not work.  

 

  • No built-in date hierarchy: When importing data, every date/datetime column will also have a built-in date hierarchy available by default. For example, if importing a table of sales orders including a column OrderDate, then upon using OrderDate in a visual, it will be possible to choose the appropriate level (year, month, day) to use. This built-in date hierarchy isn't available when using DirectQuery. If there's 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.
1 REPLY 1
lbendlin
Super User
Super User

"and time intelligence did not work.  " - how did that manifest itself?

 

You don't really want to use the built-in date hierarchy. Having a dedicated calendar table (and marking it as such) is the recommended approach.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors