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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tDataMasking - Masking Name

Hi,

 

I have customer data which has id, name, sex and address.

I wanted to anonymise the name based on sex. I have seed file with list of male names and female names.

 

Using tDataMasking is there a way to tell for Male look into male name file and for Female look into female name file.

Or is there a better approach.

 

I am looking for file since the replacement depends on hash value and the anonymisation will be consistent across all tables using the same file. 

 

Thank you. 

Labels (2)
1 Solution

Accepted Solutions
dprot
Contributor II
Contributor II

Hi,

 

What you can do is the following job:

0683p000009M0sp.png

use one tMap before the tDatamasking component to duplicate your name column, then in the tDatamasking, you apply it on one name column with the Male file, and on the other name column with the Female file.

Once it's done, you can use a second tMap in order to merge the two columns according to the sex:

Capture d’écran 2018-11-06 à 12.03.59.png

and you get the expected result.

Damien

 

 

View solution in original post

2 Replies
dprot
Contributor II
Contributor II

Hi,

 

What you can do is the following job:

0683p000009M0sp.png

use one tMap before the tDatamasking component to duplicate your name column, then in the tDatamasking, you apply it on one name column with the Male file, and on the other name column with the Female file.

Once it's done, you can use a second tMap in order to merge the two columns according to the sex:

Capture d’écran 2018-11-06 à 12.03.59.png

and you get the expected result.

Damien

 

 

Anonymous
Not applicable
Author

Thank you.

It looks doable. Let me try before I accept this solution.