Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Counting returning customers

$
0
0

Hello everybody.

 

I am trying to work out how to count returning customers from the previous year for a report i'm currently writing and i'm really struggling.  The data is part of a BEX and I have 2 objects, first is the account reference number and the second is the year.  Account reference number lists all of the unique accounts that we have dealt with against the year, so if account number 000001 purchased stuff in 2013 and 2015, but not 2014, then the account number will only show up in Year 13 and 15.

 

Account refYear
00000113
00000115
00000214
00000313
00000314
00000413
00000414
00000415
00000513
00000514
00000515
00000615

 

 

The idea is to create a small summary table, whereby it provides a count of the number of customers that have purchased stuff from us in Year 13 and Year 14 or a count of the customers that have purchased items from us in Year 14 and 15.

 

So based off the sample table above, the report would look like -

YearRetained Customers
130
143
15

2


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>