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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Need help to avoid creating duplicate tables

I am a new developer and looking for options.

Here is my scenario

1. We have transaction table and each transaction is owned by user. each transaction can have multiple activities and activities owners could be same as Transaction owner or different.

Here is some data

User table

useriduname
1test1
2test2
3test3
4test4
5test5


Transaction data

TranIdTranOwnerId = userid
Tr11
Tr23
Tr34


Activity data

ActidTranIdActuserId = userid
Act1Tr11
Act2Tr12
Act3Tr13
Act4Tr22
Act5Tr23
Act6Tr24
Act7Tr33
Act8Tr34
Act9Tr35


I can create transactionuser table as well as activityuser table. but we have many more such scenarios and I will end up creating 5-6 user tables.

Is there any way..

Thanks

Vaibhav

2 Replies
pover
Partner - Master
Partner - Master

I'm not sure I understand. You have different versions of your user tables? Can you concatenate all the user tables into one table?

Regards.

Anonymous
Not applicable
Author

No I have only one user table and transaction and activity table is referencing to same one.

Only option I have is creating duplicate user table and referencing separately to Tran and activity table. Now we have another table Task which has 1:M relationship with Activity table and referring to the same user table. In this case I need to create another duplicate table for user and relate to task table.

Thanks