Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
triekong
Creator
Creator

Changing Field's Value Name

My dataset contains values for Vegetables and Sales.

The problem is some of the values in the Vegetables column begin with a lower case 'k', while others begin with a capital letter 'K'. this means when i input my chart, for vegetables and sales, i have 2 bars for 'Kale'. Instead, i would like just 1 bar, where the sales for 'Kale'= sales for 'kale' + sales for 'Kale'.

I previously used this method, renaming a specific value when loading the data  and it worked,but would like to change it and use maybe an 'if' statement for the specific field in the script load. Let me know if there is a work around for this.

i have attached the qlikview document as well.

 

Vegetables  Sales
Kale300
Spinach70
Waterleaf200
kale10

thanks!

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

in your script:

Capitalize(Vegetables) as Vegetables


-Rob

View solution in original post

1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

in your script:

Capitalize(Vegetables) as Vegetables


-Rob