Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
mfcelleri
Contributor II
Contributor II

Resolve syntatic key

I need to resolve this syntatic key. I need to calculate the number of clients for each vendor (count client for vendor).

In the actual diagram I don't know how to do this.

 

4 Replies
JordyWegman
Partner - Master
Partner - Master

Hi,

Please read this article on synthetic keys. 

Your solution is renaming all the fields in your tables (quality of low of the image so I can't really read it well):

  • Vendeoor
  • Empressa
  • LineaP

Don't do this in the table Facturacion, but in the other tables where this is stored.

Jordy

Climber

Work smarter, not harder
mfcelleri
Contributor II
Contributor II
Author

Hi Jordy;

And what about the relationships between those tables (Vendedor, Empresa, LineaP) and the Facturacion table.

JordyWegman
Partner - Master
Partner - Master

You should bring them under one key or join the data into one table.

Can you show the script that is used for these tables?

Jordy

Climber

Work smarter, not harder
mfcelleri
Contributor II
Contributor II
Author

Hi Jordy;

 

This is part of my load script.