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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
I have a long column of dates and need to calculate each time a date occurs and then get the average of each time a date occurs over two weeks. Any help would be appreciated. Thanks!
@Anonymous ,
A measure like
averageX(values(Date[Date]), calculate(count(Date[Date])))
or with filter of two weeks
CALCULATE(averageX(values(Date[Date]), calculate(count(Date[Date]))) filter(Date, 'date'[Date] >= today() -14 || Date[Date] <=today()))