Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Micki
Creator
Creator

"Double Selection" or Selection step by step

Hi folks, 

I have a question, based on the first selection in my case 4944 expression should use value 4789 and paste it in selection 

so at the end should be two values in selection. Does anybody know any similar solutions ? 

Micki_0-1600785114231.png

 

1 Solution

Accepted Solutions
chrismarlow
Specialist II
Specialist II

Hi,

You might be able to use P() function to union the possible values from the selection, so;

Avg({<[Fact_WI.WorkItemID]=P([Fact_WI.ParentWorkItemID])>+<[Fact_WI.WorkItemID]=P([Fact_WI.WorkItemID])>}1)

In my toy app seems to give something like you describe;

20200922_1.png

Cheers,

Chris.

View solution in original post

1 Reply
chrismarlow
Specialist II
Specialist II

Hi,

You might be able to use P() function to union the possible values from the selection, so;

Avg({<[Fact_WI.WorkItemID]=P([Fact_WI.ParentWorkItemID])>+<[Fact_WI.WorkItemID]=P([Fact_WI.WorkItemID])>}1)

In my toy app seems to give something like you describe;

20200922_1.png

Cheers,

Chris.