gvamsimba
asked on
dax divide by number number of weeks left in the financial year
Hi I have a measure 1 . I need to create 2 measures with the below formula. our Financial year is April 1 - March 31st.
Measure 2 = MeasureA Divided by Number of weeks LEFT in the Financial year
Measure 3 = MeasureA Divided by Number of weeks FINISHED in the Financial year
can someone please give that Dax formula for me ?
Measure 2 = MeasureA Divided by Number of weeks LEFT in the Financial year
Measure 3 = MeasureA Divided by Number of weeks FINISHED in the Financial year
can someone please give that Dax formula for me ?
ASKER
Hi Tom, do you think this might work without the need for touching the date table ? Thanks
Measure 2 = DIVIDE(MeasureA, 14 - WEEKNUM(TODAY()))
Measure 3 = DIVIDE(MeasureA, 52 - WEEKNUM((TODAY())) + 14)
Measure 2 = DIVIDE(MeasureA, 14 - WEEKNUM(TODAY()))
Measure 3 = DIVIDE(MeasureA, 52 - WEEKNUM((TODAY())) + 14)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
WeekNumber = WEEKNUM(Dates[Date]-90,1)
Then I would think the rest is just a mathematic calculation.