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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is there a way to capitalize fields values

Hi,

I have a field country, which the names of the countries in lower case. Is there is a way to capitalize the first letter of the country name in Qlikview?

If yes, how?

Thanks,

TA

1 Solution

Accepted Solutions
GabrielAraya
Employee
Employee

Simple, in the script .. Capitalize(Country)          as Country

BR

Gabriel

View solution in original post

6 Replies
GabrielAraya
Employee
Employee

Simple, in the script .. Capitalize(Country)          as Country

BR

Gabriel

bgerchikov
Partner - Creator III
Partner - Creator III

capitalize(s )

Returns the string s with all words capitalized.

Example:

capitalize ('my little pony') returns 'My Little Pony'

capitalize ( 'AA bb cC Dd') returns 'Aa Bb Cc Dd'

Not applicable
Author

Thanks Gabriel for your super fast reply. I got what I was looking for.

Thanks again 🙂

Not applicable
Author

Thanks again. As you explained I got what I was looking for but just curious that if I want to capitalize whole word instead of just first letter. How can I do that?

Thanks,

TA

MayilVahanan

hi

Use Upper() function

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Thanks a lot buddy. I got what I was looking for. I appreciate your quick reply