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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
vinicius_siquei
Partner - Contributor III
Partner - Contributor III

Last Working Day of Each Month

Hi,

I have one table and one chart in which I must present only the Value from the Last Working Day of Each Month.

I already have two columns in my Calendar table one with all the days of the month and another one only with working days. However I'm not being able to present only the data I need.

Could anyone please help me ?

Thanks

Labels (1)
4 Replies
swuehl
Champion III
Champion III

Maybe something like this, in a table chart with dimension Month:

=FirstSortedValue({<WorkingdayFlag = {1}>} Value, -Date)

Not applicable

Hi,

Calculate the date of the nth working day of this month:

=LastWorkDate(MonthStart(Today()), n)

Regards,

Raja.

Not applicable

vinicius_siquei
Partner - Contributor III
Partner - Contributor III
Author

Thanks for all the answers, however I still coudn't make it work.

FirstSortedValue seems to be a good solution, but It's not working.

My dimension is Month

My expression is FirstSortedValue({<WorkingdayFlag = {1}>} Value, -Date)

I also tried to follow the other posts recommendation with no success.

Any Idea of how to obtain this information max Date per month where WorkDayFlag=1 ?

Thanks