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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

I have a dbase with so many unstructured data

Hello,

How do I deal with Fields that have mixed alphabets e.g

Header 1Header 2Header 3
S/NNameOffice
1MarkGM's Office
2markgm's Office
3mkgm office

These are information of one person is there a way i can make Qlikview know these data are just one persons data?

I want Qlikview to see Mark, mark and mk as Mark

Labels (1)
8 Replies
robert_mika

Is that only one example or you have more like

Lets say Dv will be David?

Anonymous
Not applicable
Author

You can do something like

if(wildmatch('m*k'),'Mark') as Name

and

if(wildmatch('gm*office'),'GM Office') as Office

But you cannot predict all possible typos.  Better to clean up in the data... 

Anonymous
Not applicable
Author

You can make a separate table which can have all the variations and corresponding normalized name. like mk, mak, MRk as MARK. Join this table with your original table on variations and upload the data with normalized field values.

Not applicable
Author

My data source is SAP and i dont have access to do thorough data cleansing.

Anonymous
Not applicable
Author

So it will be pretty much "manual" fixes in QV...

Search the forum for the "wildcard mapping", I believe there are solutions than can help, at least partially.

Anonymous
Not applicable
Author

The QlikView Capitalize() function could be of use to you.  Below pasted from the Help:

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

Hi Emma did you achieved it

robert_mika

I can not see any other way than with ApplyMap/Mapping Load

Don't join - use Applymap instead