Forum Discussion
Anonymous
6 years agoNot applicable
Find status for a customer
Hi guys, I am trying to build a report that can tell me whether a customer is new / current / lost. This depends on the when they last ordered something at the company. I thought I had it figur...
amitchandak
Super User
6 years agoAnonymous , Try based on date like
Summarize(Customer,Customer[Csutomer],"Status",
Switch( True(),
datediff(max(Reservations[Reservations Date]),today(),Year) >= 3 ,"Lost",
datediff(max(Reservations[Reservations Date]),today(),Year) >= 0 ,"Current",
"New"))Anonymous
6 years agoNot applicable
Hi amitchandak thanks for the quick reply,
sadly this still gives all three results for most customers.