Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
ericdelaqua
Creator
Creator

Data cleansing

Hello,

I am trying to cleaning records and need some help to achieve my expected output below.

I have table1  and table2, I need to build a 3rd table as shown below based on the first 2 tables.

Table1:

valuesnumber
ab12
cd34
ef42
gh76

 

Table2
catvalues2
1(cd&gh)-ef
2ab+ef

 

Expected Table

CatDefined
1(Sum({<values={'cd'}>}number)+Sum({<values={'gh'}>}number))-Sum({<values={'ef'}>}number)
2Sum({<values={'ab'}>}number)+Sum({<values={'ef'}>}number)

 

Thanks for your assitance

Labels (3)
2 Replies
ToniKautto
Employee
Employee

I don't really understand how theses three tables are related, they do not seem to have a common association. Cleansing data usually implies that you alter the incoming data record sin some way during load, but your expected out come looks more like a front-end aggregation using set analysis.

Are you trying to do this in your data model or in a visualization?
Can you share more details on what you are trying to accomplish?
ericdelaqua
Creator
Creator
Author

hi Tko,

The table do not need any association there are just sets of data out of which we can pull the 3rd table and they will not be needed any longer. The third table is all that is needed and will associate nicely with a different model once defined.
I hope this clarifies.

Thanks