Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Not applicable

Previous selection

Hi,

i know the statement getcurrentselection() ... But is it possible to get something like "getPREVIOSselection()" ???

Thank you

4 Replies
MVP
MVP

Re: Previous selection

No function like that, but the set expression selection $1 uses the previous selection, for example

     Sum({$1} Sales)

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

Re: Previous selection

Try that with the concat  statement

     Concat({$1} Distinct Year, ', ')

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

Re: Previous selection

I need the previous selction about everything...

MVP
MVP

Re: Previous selection

No easy way to do that, because there is no built in statement. You may not need everything, just the usual selection fields in your model, and you can combine muliple Concat() statements

  Concat({$1} Distinct Year, ', ')  & '; ' & Concat({$1} Distinct Month, ', ') & .....

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