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

Trying to create measure to display duration that company has been active

$
0
0

I have a large monthly billing file dating back to January '15 - each row is a monthly billing record for a customer's product.

 

Example:

 

DateCustomer NumberProduct NumberCustomer DurationProduct Duration
10/1/2016100501001712
9/1/2016100501001611
8/1/2016100501001510
7/1/201610050100149
6/1/201610050100138
5/1/201610050100127
4/1/201610050100116
3/1/201610050100105
2/1/20161005010094
1/1/20161005010083
12/1/20151005010072
11/1/20151005010061
10/1/20151005020055
9/1/20151005020044
8/1/20151005020033
7/1/20151005020022
6/1/20151005020011

 

I filled out the two columns I want to create a measure for (Customer Duration & Product Duration). The file has thousands of different customers so that will need to be the lookup value I suppose, but how do I account for the time factor? I've linked a calendar table's Date Key to the Date in the above table if that helps.

 

Thanks!


Viewing all articles
Browse latest Browse all 219128

Trending Articles