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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello guys,
I would like to calculate value for every end of month for last 12 months.
I have tasks and every task have Created date and Finished date (task can be not finished yet). It looks like this:
For one month, for example for Januar I can use this formula (it's simplified for now):
=DAYS(IF(FINISHED > EOMONTH(31.01.2018;0);31.01.2018;FINISHED);CREATED)
But I would like to do this for every month past last 12 months. Is here some way to calculate these values?
Here is simulation in my excel for January and Febuary:
At the end I would like to create AVG for every month, but that's not the main problem right now.
Thanks for every reply.
You may add a month table, drag month to Columns of a Matrix visual, then use a measure to calculate the value and drag it to Values.
You may use MAX Function to get the corresponding values of rows and columns.
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!