 Rank: Newbie
Groups: extranet\Forum
Joined: 11/26/2019(UTC) Posts: 1
|
Hi,
Anyone know if it is possible to make a formula on how to calculate the number of working days per month? Data has date format on dd.mm.yyyy
|
|
|
|
|
|
 Rank: Advanced Member
Groups: extranet\Forum
Joined: 5/16/2019(UTC) Posts: 11
|
Hi Steffen,
You can create a column to be the Day Of the Week on your Time table. If you're using SSAS, you can use datepart(dw, date). If it's InMemory, you can use DayOfWeek(date). This way you can filter only business days.
This does not account for holidays however. You would need to have a table with them to filter them out.
Best,
Danilo
|
|
|
|
|
|
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.