Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sync keys issue

Dear All,

I have following scenerio,

Users:

load * inline [

userid, username

1, 'UserOne'

2, 'UserTwo'

3, 'UserThree'] ;

Opportunity:

load * inline [

opportunityid, userid, date

1, 1, '10/10/2012'

2, 1, '10/10/2012'

3, 1, '10/10/2012'

4, 2, '10/10/2012'

5, 2, '10/10/2012'

6, 3, '10/10/2012'] ;

  

Lead:

load * inline [

leadid, userid, date

1, 1, '10/10/2012'

2, 1, '10/10/2012'

3, 1, '10/10/2012'

4, 2, '10/10/2012'

5, 2, '10/10/2012'

6, 3, '10/10/2012'] ;

 

Order:

load * inline [

orderid, userid, date

1, 1, '10/10/2012'

2, 1, '10/10/2012'

3, 1, '10/10/2012'

4, 2, '10/10/2012'

5, 2, '10/10/2012'

6, 3, '10/10/2012'] ;

Calendar:

Load * Inline [

date, year, month

'10/10/2012', '2012', '10'

]

Below is the Syn key shown. how can i remove sync key and be able to select data by both date and userid

qlikview.png

Kind Regards,

Muhammad Naveed

3 Replies
Not applicable
Author

Join  Opportunity, Lead, Order tables to User Table. Then join Calendar table to user Table and drop all the original tables except User table

thomas_skariah
Creator III
Creator III

Hi Naveed,

You can refer the below attcahed qvw file.

Regrads,

Tom

Siva_Sankar
Master II
Master II

Hi Muhammad Naveed,  Find the attached file.