Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
bharatkishore
Creator III
Creator III

Convert Number to Text

Hi All,

I have a field in that i have numbers like 1704,1705.. etc.

Now  i need to get names instead of numbers.

For e.g. 1704 should be Germany.

I have written if(Match(field,'1704','Germany'),Field).

But this is expression is not working and getting number only.

Can you please tell me how to achieve this.

Thanks,

Bharat

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Perhaps this?

if(Match(field,'1704'),'Germany',Field)

Or

Pick(Match(field,'1704','1705'), 'Germany', 'India').

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

View solution in original post

2 Replies
Anil_Babu_Samineni

Perhaps this?

if(Match(field,'1704'),'Germany',Field)

Or

Pick(Match(field,'1704','1705'), 'Germany', 'India').

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
bharatkishore
Creator III
Creator III
Author

Thank you so slight mistake(brace) in my expression. My bad and thanks a lot..