Hi everyone,
I'm trying to find the right approach for my problem & now after many hours need help.
Table with 3 columns:
1) Customer ID (unique value)
2) Payer ID (not unique values), could be the same like customer ID or some other ID
3) Ship to ID (not unique values)
I.e. many unique customer IDs can have same payer ID, or Ship to ID etc.
600001;600001;600001
600002;600001;600002
600003;600003;600003
600004;600004;600003
The challenge is to find a formula (calculated measure), which counts for every customer ID how many times this ID number appears in the other two columns.
The final outcome should be as follows
600001;2;1
600002;0;1
600003;1;2
600004;1;0
Your help would be really appreciated!