Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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
User | Count |
---|---|
89 | |
82 | |
51 | |
40 | |
35 |