Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I would appreciate some help to create a DAX formula that lets me pull data for the prior 12 months excluding current month until 12 days into current month (because our finance does not update full month till about 12 or 13 days into current month).
So, for example, I would be pulling June 2022-May 2023 + June 13 onwards (I know today is just June 6, but this is for future and in general).
Is that possible?
Thank you.
@Anonymous , try a measure like
Rolling 12 before 1 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date],eomonth(MAX('Date'[Date]),-1),-12,MONTH))
Make sure you are using date table
Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
Hi, actually, I am sorry it’s not the Dax formula I need.
I need help with 2 things – can you please refer to the snippet of part of the Dax import query.
For the date part of the query (which I boxed in red), I need help to modify this part of the query so that:
Would you be able to help with this?
Thanks in advance!
Thank you! I will try and let you know.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!