Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have 2 tables "consultation" et "bénéficiaire" and i want count the number of consultations per beneficiary.
I tried with this function
(consultation.idBeneficiaire == beneficiaire.idBeneficiaire)? (NombreTotal = NombreTotal+1) : 0
but i receive a message of error in figure 2.
I hope receive your help for resolve my problem.
Thank you.
Thank you for all.
I delete the "Annee" attribute,
and i delete the tAggregateRow, but i find the same error.
ok , Thank you.
and have a good evening.
Hi,
Did you get your solution?
Else, here is a new proposal:
I have 2 tables:
- beneficiaire with an id and a name:
- consultation with an idbeneficiaire:
The objective is to get the number of consultations for a beneficiaire.
So, the 2 tables are joined using a tMap with beneficiaire as the main table and consultation as the lookup table.
Before to join these 2 tables, I use a tAggregateRow to count the number of consultation records per beneficiaire (see previous answer to see the configuration for this component).
Here is the tMap:
And finally, the result:
What else?
Good Morning,
yes i found a solution as in picture.
and now i want load my data cube with tPaloOutputMulti.
i'll launch a new topic above.
thank you