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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewaf
Creator
Creator

field value

Hi guys,

there's a way after that all values have been loaded from the script to rename a field value?

for examplle i have a field called "Region" i would like to rename only for that field all values EMEA into E-M-E-A,

how can i do this?

Thanks!

2 Replies
Anil_Babu_Samineni

May be this?

If(Match(Region, 'EMEA'), 'E-M-E-A', Region) as Region

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
its_anandrjs
Champion III
Champion III

I suggest you to do the Data cleansing on the table below is the example to explain this by the help of the Mapping load see attached also.

Ex:-

CleanTab:

Mapping LOAD * Inline

[

MapLetter,CleanLetter

EMEA,E-M-E-A

];

Data:

LOAD *,RowNo() as Rowids ,ApplyMap('CleanTab',StrLetter) as New;

LOAD * Inline

[

StrLetter

ABCD

EMEA

ABCD

EMEA

EMEA

FGFD

EEEE

TTRRT

RTRT

EMEA

];