Welcome Guest! To enable all features please Login or Register.
Go to last post Go to first unread
#1 Posted : Tuesday, November 26, 2019 12:25:59 PM(UTC)
Rank: Newbie

Groups: extranet\Forum
Joined: 11/26/2019(UTC)
Posts: 1


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
Danilo Rufino  
#2 Posted : Wednesday, November 27, 2019 4:02:29 PM(UTC)
Danilo Rufino
Rank: Advanced Member

Groups: extranet\Forum
Joined: 5/16/2019(UTC)
Posts: 13

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.



Users browsing this topic
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.



We use cookies to improve your site experience, but they also provide us with information on your use of our website.
To find out more about the cookies we use and how to delete them, see our Privacy Policy. By continuing to browse the site, you are consenting to our use of cookies.