The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a dataset with values recroded every 15 minutes (in date and time format, see the example below). I am trying to averages within different time intervals. For example, I am interested to know the rolling 2-hour average values (i.e. each eight 15-min datapoints to be aggregated together). Does anyone know of a DAX function that could help me achieve this? I have tried most of the "Time Intelligence" fuctions in power BI, but those are applied to year, month and day. I haven't found a function that could help with minutely and hourly data.
Appreciate your thoughts.
AS
Solved! Go to Solution.
You may refer to the post below and use AVERAGEX Function.
https://community.powerbi.com/t5/Desktop/4-weeks-sales-in-column/m-p/319863#M142375
You may refer to the post below and use AVERAGEX Function.
https://community.powerbi.com/t5/Desktop/4-weeks-sales-in-column/m-p/319863#M142375