Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Creating DAX Expression for Targets using Holiday Calendar

I need to create a column within my report that will divide the 'Target Estimate' column values by the number of working days in the month (# of working days minus holidays) and then multiplied by the current working day of the month.

 

For example: today (June 8th) would be (Target Estimate / 21 days) * 5

 - 21 days (22 total work days minus 1 holiday)

 - 5 (5th working day of the month)

 

 

I have created a calendar table which includes the following columns and a holiday table as well:

 

How would I go about creating a DAX expression that will allow for this? All help is appreciated as I am a PowerBI newbie.

1 Reply