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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Micki
Creator
Creator

Get field Value based on selection(Field Value) with current selection

Hi folks, 

I have a table :

A1
A2
B4
B5

 

And i want select value from second column and put in KPI 

If you User select A: then in one KPI should be value 1 and in another  2 

FieldValue() works but i don't know how to connect it t current selection.

Thank you in advance 

Labels (1)
  • SaaS

1 Solution

Accepted Solutions
Micki
Creator
Creator
Author

Ok, it's done 

 

 [Level2] = {"$(=SubField(concat(distint Level2, '@'),'@', 7))"}

 

View solution in original post

3 Replies
Micki
Creator
Creator
Author

Almost did it, but my code not working fully

Count({<[LastResultOutcome]={'Passed'},
[Level 2] = {"=SubField(concat(distinct Level2, '@'),'@', 7)"}
//[Level2] = {'OEE'}
>}distinct [Id])

Hi , @sunny_talwar, could you please help me how to put SubField(concat(distinct Level2, '@'),'@', 7) in set expression, thank you 

Micki
Creator
Creator
Author

Ok, it's done 

 

 [Level2] = {"$(=SubField(concat(distint Level2, '@'),'@', 7))"}

 

laacib
Contributor III
Contributor III

Hi,

 

I have similar requirement.  I want get the value of field based on selection of another field value.

Could you please explain the above solution? Thanks!