Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Net Working Days Expression?

Hi All,

Ineed an expression that does the following:

=(RevenueField/Number of working days in 2012 as of current day)*Total working days in 2012

Does anyone know how to do this? I tried Net Working Days, but couldn't quite get it.

Thanks!!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Have you tried:

=RevenueField / NetWorkDays(Yearstart(today()),today() ) *

NetWorkDays(Yearstart(today()),YearEnd(today()) )

If you need to handle holidays, you can add a list of holidays as optional arguments to NetWorkDays().

View solution in original post

2 Replies
swuehl
MVP
MVP

Have you tried:

=RevenueField / NetWorkDays(Yearstart(today()),today() ) *

NetWorkDays(Yearstart(today()),YearEnd(today()) )

If you need to handle holidays, you can add a list of holidays as optional arguments to NetWorkDays().

Not applicable
Author

That worked perfectly. Thank you!