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 there,
I need to create a dynamic measure that will do next:
1. if the date is current month , then
YoY sales = (Sales/ ((Sales LY / number of days in the months) *number of days Months to date)) -1
otherwise
YoY sales = calculate(divide([sales],[Sales LY]), -1)
I used the below dax to get the number of days in the months
Hi @Tani4ka ,
If you can share a pbix file with some sample data, people would be easily able to help you much quicker
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!