This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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 April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 38 | |
| 29 | |
| 28 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 36 | |
| 30 | |
| 25 | |
| 24 |