Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
stalerik
Helper II
Helper II

DAX: Measure to calculate 15-minute averages from one-minute data

I have one-minute data in a table.  This is a lot of data points to put on a time-series line chart.  I am looking to take my one-minute data and calculate a measure to roll up the values into 15-minute averages, and then show those values on a line chart visual instead of the original data.  I am looking for a DAX formula that will take my one-minute data and calculate 15-minute averages to put on a chart.

 

I am looking at a solution like the following message, but I don't know how to roll up into 15-minutes.

https://community.powerbi.com/t5/Desktop/calculate-average-of-a-measure/m-p/297565#M131310

 

If it helps, I already have a table with a column of 15-minute containers for my data.  For example, for the 15 minute rows between 11:00 and 11:14, I have another column with a value of 11:00.  Likewise, for 11:15 to 11:29, I have a value of 11:15.  Can I group by and average by that column?  I am confused by the uses of AVERAGEX, SUMMARAIZE, GROUPBY, etc.

 

Thank you!

1 REPLY 1
Anonymous
Not applicable

Hi,

 

If you use Power BI and use the 15-minute attribute on the axis in the line chart, you could just change the aggregation of the data column to AVERAGE.

 

Average.PNG

 

Or create a measure like this:

NewMeasure = AVERAGE('Table'[DataColumn])

 

If you want to for example SUM the 15 minute averages (in the grand total) you could do something like

NewMeasure = SUMX(Values('Table'[15min]), CALCULATE(AVERAGE('Table'[DataColumn]))).

 

Best Regards

Ulf

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.