Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Rank by Dates and Customer ID

$
0
0

I have a data set that contains billing information that includes customer id, bill date, and other relevant information. A customer may have received more than one bill in a month so I'd like to "rank" the bills by date created so that I can graph the customers bills in order by that index rather than the bill date.

 

There are ~400,000 customers and 4 million bills in the data set.

 

How do I create an index or rank by Customer (using customer id) and then ascending by bill date? I assume I can use RankX but I'm having issues getting it to work correctly.


Viewing all articles
Browse latest Browse all 213819

Trending Articles