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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Resolver I
Resolver I

12 month moving ttl or avg for Direct Query, PBI Report Server


My practice before posting a help request is to research post, hack at the internet, and hack at the DAX functional language first. I need help.


I am using Power BI Report Server.

I am using Direct Query.

I've learned that the above does not have the full range of functions as 'regular' Power BI.

DATESBETWEEN is not available.

With direct query, I can not create a separate date table.

I am using the date column in my queried table.



I would like to create a 12 month moving total.


I've looked at Dax Patterns but I can't find a solution.

I've looked at old DAX articles (hopeing to find something before DATESBETWEEN was introduced).

I've looked here but the articles are for Desktop and all refer to DATESBETWEEN.


Thank you in advance for your help. 




Helpful resources

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.


Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.


Fabric certifications survey

Certification feedback opportunity for the community.