why rows repeated in this cross tab query ?

siamandm
BronzeLounger
Posts: 1266
Joined: 01 May 2016, 09:58

why rows repeated in this cross tab query ?

Post by siamandm »

Hi i have a crosstab query and I noticed that it repeat row and make it twice,
could you help me to find why is that and how to solve it
https://www.dropbox.com/s/5cxh9il5h6qjm ... 2.zip?dl=0
regards

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: why rows repeated in this cross tab query ?

Post by Rudi »

It is duplicating the BenefID because there are multiple dates for each ID.
If you remove the DateReceived field out of the query (or count by date), it will summarize to one record per BenefID.
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

siamandm
BronzeLounger
Posts: 1266
Joined: 01 May 2016, 09:58

Re: why rows repeated in this cross tab query ?

Post by siamandm »

thanks ruddy