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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to mask data in qlikview

Hi Friends,

Hope this is a simple requirement , I'm new to Qlikview

I have a list box , and in that 2 values are populating.Those are numerical values (42, 43 ), I need to mask to Accept and Reject.

42= Accept

43=Reject

Is there any way to give alias names in Qlikview? Please see the attached screen shot ?

5 Replies
danansell42
Creator III
Creator III

You could change the field in the script.

If(FieldName = 42,'Accept'.if(FieldName= 43,'Reject','Other')) as FieldName

Thanks

Dan

danansell42
Creator III
Creator III

Should also mention you could do it within the list box itself.

Instead of selecting the field select 'Expression'

Then add the same formula.

I also noticed in your screenshot the numbers are 42 and 45 so formula will need amending to reflect the numbers.

Dan

sunny_talwar

You can also try this with Pick(Match(...)) function...

Pick(Match(Status, 42, 45), 'Accept', 'Reject') as Status

Not applicable
Author

Thanks ,

Dan and Sunny its working fine.

oknotsen
Master III
Master III

If your question is now answered, please flag the Correct Answer (via the big "Correct Answer" button near every post) and Helpful Answers (found under the Actions menu under every post).

If not, please make clear what part of this topic you still need help with .

May you live in interesting times!