Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Mapping of German special chars in script not working

Hi,

I try to map region names from capital letters to only starting capital letter, e.g. 'NORD' to 'Nord'.

This is working fine in a QVW file, but doesn't work for 'SÜD' and 'SÜD-WEST' when using an external script for the code. There I still have both values in the data, SÜD and Süd. Anyone an idea, what might be the issue?

MAPPING

LOAD * INLINE [

    NL_DESC, NL_DESC_NEU

     NORD, Nord

     NORD-OST, Nord-Ost

     NORD-WEST, Nord-West

     OST, Ost

     RHEIN-MAIN, Rhein-Main

     SÜD, Süd

     SÜD-WEST, Süd-West

     WEST, West

     Zentrale, Zentrale

];

SF_TARGET:

LOAD Monat,

     ...

      ApplyMap('Correct', NL_DESC) as NL_DESC,

    

;

SQL SELECT

     ...

     NL_DESC,

FROM

<table>;

Thanks

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try using Capitalize(), like:

Load

     capitalize(NL_DESC) as NL_DESC

View solution in original post

2 Replies
tresesco
MVP
MVP

Try using Capitalize(), like:

Load

     capitalize(NL_DESC) as NL_DESC

Not applicable
Author

This is working fine, thanks.