Forum Discussion
Boycie92
Resolver I
9 years agoFirst and Last Date a product was bought
Hi, I am hoping someone could help. I have a table that contains product ID (numerous different products) and Transaction Date I want to be able to identify the First Date a product was...
vanessafvg
Community Champion
9 years ago
this might work?
datetype=
IF (
transactiondate = FIRSTDATE ( transactiondate ),
"first date",
IF ( transactiondate = LASTDATE ( transactiondate ), "last date", "n/a" )
)
Boycie92
Resolver I
9 years agoHi,
Thanks for the reply. I have tried it and for some reason all I am getting is "first date" for every row/product?
Any ideas why?
Thanks,
Boycie92