Hello,
I have huge database around 2.5 lakh entries. I need to display some data in a specific format, but I am not able to do so.
The data looks something like this:
Customer Number SP 647061 AG 647061 SP01 647061 AG 208689 AG 208689 SP02 208689 SP03 51982 AG 51982 GG 286432 AG 286432 AG 63482 AG 63482 SP01 63482 SP02 63482 SP03
Now I am trying to create a pivot(in excel) with the data which is easy as shown below.
Row Labels Count of Customer Number AG 7 GG 1 SP01 2 SP02 2 SP03 2 Grand Total 14
But here I do not want duplicates within individual rows. For e.g. AG shows 7, but the same customer 647061 has occurrence = 2. I want this to be counted as 1. But I would like it to be counted again for SP01. I tried a lot, but could not reach any conclusions. Please help.
regards.