Showing results for 
Search instead for 
Did you mean: 
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

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.