Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
@Anonymous , Assume you need a measure and date is in the context
a new measure =
Networkdays(Eomonth(Min(Date[Date]),-1)+1, Max(date[Date]) , 1)
to add a holiday code refer
Power BI - Business day with and without using DAX Function NETWORKDAYS: https://www.youtube.com/watch?v=Qs03ZZXXE_c
https://medium.com/@amitchandak/power-bi-dax-function-networkdays-5c8e4aca38c
for column
networkdays(eomonth([Date],-1)+1, [Date],1)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
148 | |
116 | |
104 | |
89 | |
65 |