Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nancy_sbeity
Partner - Contributor III
Partner - Contributor III

Variables between alternate states

Hello,

I need a help.

In an inherited Alternate state:

  • I have "Projects" List box.
  • A button with set variable action that puts the value of the selected project in a variable vProject.

In alternate state AS1:

  • A list box that has to display all the tasks related to the selected project (The value of the variable).

I tried lots of expressions such as :

  • =if([Project Name]=$(vProject),[Task Name],'-')
  • =only({$<[Project Name]=$(vProject),>}[Task Name])

And I am not getting the answer. Any suggestions?

1 Solution

Accepted Solutions
tresesco
MVP
MVP

May be like:

=Aggr(only({$<[Project Name]=$::[Project Name]>}[Task Name]), [Task Name] )

View solution in original post

3 Replies
tresesco
MVP
MVP

May be like:

=Aggr(only({$<[Project Name]=$::[Project Name]>}[Task Name]), [Task Name] )

nancy_sbeity
Partner - Contributor III
Partner - Contributor III
Author

Thank youu,

It works.

tresesco
MVP
MVP

If you close this thread by marking the reply 'Correct' , other people searching for similar problem resolution would find it easily and be helped. Not only that, your marking would put some points in my bag - a deserved appreciation from you.