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 help creating a calculated column on my calendar dimension table that tells me on each day the working day number in the year. This is so I can have parity between years on average daily sales calculations.
I can get the day number of the year, but can't figure out how to only have it count working days. I have indicators for holiday, weekend, and workingday.
Thanks for any help in advance.
Solved! Go to Solution.
Hi @earter
Please check out
If it work for you please accept this as solution and also give KUDOS.
Cheers
CheenuSing
Hi @earter
Please check out
If it work for you please accept this as solution and also give KUDOS.
Cheers
CheenuSing
This didn't quite get me what I needed because when you span years it just keeps counting.
I adjusted the formula from Alberto's blog to this which now works as intended:
CALCULATE(SUM('Calendar'[IsWorkDay]),
FILTER('Calendar',
'Calendar'[DateKey] <= EARLIER('Calendar'[DateKey]) &&
'Calendar'[YearKey] = EARLIER('Calendar'[YearKey])))
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 |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
107 | |
105 | |
87 | |
61 |