Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi everyone,
I need a measure calculating the current value of another one (which is accumulative along the year) divided by the number of days passed of the year, i.e: I have sold 1000 € since January 1st and today is January 20th => 1000/20 = 50€
I've got the measure for the sales and I've added a new column to the Calendar table that shows the day of the year, but I am not able to create the measure I need dividing both elements, the measure editor don't let me.
Many thanks in advance.
Try like
YTD Avg = divide( CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(('Date'[Date]),"12/31")),
CALCULATE(count(Date[Date]),DATESYTD(('Date'[Date]),"12/31")))
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.