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

Need help!

I have survey response for more than 100 questions like

No Knowledge/Experience

Beginner

Applying

Leading

Expert


I want to predefine them as number like 1 -5. So each time when load a file (Responses are in different  file) it should automatically consider the response as numbers. Is there a way in qlikview to do that . please help.

2 Replies
sunny_talwar

May be create a Mapping Table:

MappingTable:

Mapping

LOAD * Inline [

Response, NumResponse

No Knowledge/Experience, 1

Beginner, 2

Applying, 3

Leading, 4

Expert, 5

];


FactTable:

LOAD Responses,

          ApplyMap('MappingTable', Responses) as Numbered_Response

From Source;

maxgro
MVP
MVP

another could be

load Response, AutoNumber(Response) as ResponseId inline [

Response

No Knowledge/Experience

Beginner

Applying

Leading

Expert

];

load

  AutoNumber(Response) as ResponseId,

  ......     // other fields

From YourFile;