Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Recoding of categorical data

Hi community!

I'm quite new in qlickview. Could anyone, please, help me with recoding categorical data of one field.

I've tried doing it using IF-function.

For example I have a field Occupation with codes like Financial Accounting, Information Technology, Marketing, Advertising, Education, Public Health Service. I need to recode it into new field Ocup with codes 'Social' (if Occupation = Education OR Public Health Service), 'Marketing' (if Occupation = Marketing OR  Advertising), 'Other' (if Occupation = Financial Accounting OR Information Technology).

How IF-function should be script for taking into accounts these conditions?

Many thanks in advance!

Marina

4 Replies
swuehl
MVP
MVP

Marina,

have a look into Henric's latest blog post:

Data Cleansing

florentina_doga
Partner - Creator III
Partner - Creator III

hope this help

Not applicable
Author

Swuehl, thanks!

Not applicable
Author

Florentina,

thank you so much! It works great!