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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
phongnnguyen
Contributor II
Contributor II

set analysis without aggr, only,...

Hello guys,

How to make a set analysis without aggr, only...I just wanna show a list in my expression

firstworkdate( today() , 5 , ...{<tradedate = checkwd={'1'}>} tradedate)

I wanna show all holidays in list by this expression : {<tradedate = checkwd={'1'}>} tradedate


But i dont know what are things i should use


Please give me the solutions


Thanks with regards,


1 Reply
jonathandienst
Partner - Champion III
Partner - Champion III

The expression would look like this:

=FirstWorkDate(Today(), 5, $(=Concat({<tradedate = checkwd={'1'}>} chr(39) & tradedate & chr(39), ',')))


You might want to break that into parts by using a variable (the double = is not a typo, make sure they are separated by a space):

Set vHolidays = =Concat({<tradedate = checkwd={'1'}>} chr(39) & tradedate & chr(39), ',');


Then your expression is

=FirstWorkDate(Today(), 5, $(vHolidays))


Logic will get you from a to b. Imagination will take you everywhere. - A Einstein