Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi, I have a pivot table. Can I get the average of the last 13 records for each column?
Average by per1 column
Solved! Go to Solution.
Try this:
Average Last 13 = CALCULATE(AVERAGE('Table'[Value]),TOPN(13,VALUES('Table'[min_date]),'Table'[min_date],DESC))
Change the red to match your tables and columns!
You can add a matrix with just the columns and the new measure.
Did I answer your question? Mark my post as a solution! Proud to be a Super User!
Connect with me!
Stay up to date on
Read my blogs on
Try this:
Average Last 13 = CALCULATE(AVERAGE('Table'[Value]),TOPN(13,VALUES('Table'[min_date]),'Table'[min_date],DESC))
Change the red to match your tables and columns!
You can add a matrix with just the columns and the new measure.
Did I answer your question? Mark my post as a solution! Proud to be a Super User!
Connect with me!
Stay up to date on
Read my blogs on