Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
settu_periasamy
Master III
Master III

display the common value based on active and comparison selection

I have the selection field like the above.

Act. YearMonth = Active Year Month

Comparision Year Month = Assigned to one variable (vComparision_selection).

Mel(Key) or Mel - Display value (List box).

I need the expression in the list box to display the Mel(Key) which is active in both the Active and comparison (Like intersection).

Capture1.JPG.jpg mel.JPG.jpg

Thank you in advance.

4 Replies
Not applicable

Use the following Exp.


SUM({$<ComparisonYearMonth=P(Act.YearMonth),Act.YearMonth=>} MEL)

settu_periasamy
Master III
Master III
Author

I have variable for comparison part only(vcomparisonselection) not for active year month.

and MEL is the string. Just i need to display the common MEL in active year month and comparison yearmonth.

hope, this would be clear.

jagan
Luminary Alumni
Luminary Alumni

HI,

Can you attach some sample data, it helps in understanding the data and easy to give solution.

Regards,

Jagan.

settu_periasamy
Master III
Master III
Author

find the attachment. In the attached file, MEL value is available in different Year Month field.

I need the MEL which is common in based on the below selection.

in the below example, if the MEL is there in Act.YearMonth(201308) and comparison YearMonth(201208), it will display based on the expression.

comparion YearMonth variable - vComparisonSelection.

Capture.JPG.jpg