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!View all the Fabric Data Days sessions on demand. View schedule
Hi all!
Please help me.
I have table with 20000 rows.
Every row have column Datetime and Minutes.
I want get average Minutes for previous month and previous year from 01.10.2019.
1. Previous Month (01.09.2019 -01.10.2019)
2. Previous Year (01.10.2018 - 01.10.2019)
How to do it right? Thank you advanced
HI @aignn,
AFAIK, current you can't direct aggregation on date or time values, I'd like to suggest to take a look at the following blog to know more about convert DateTime values and calculate:
Regards,
Xiaoxin Sheng
Hey @aignn ,
please let me direct you to this side: https://www.daxpatterns.com/time-patterns/
Regards,
Tom
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!