First time here? Check out the FAQ!
0

I need status change activity by day

  • retag add tags

I need to create a report showing the number of listings that went to any of the statuses on a given day

I can pull history but need a way to determine when a status is changed, since some listings with go back and forth among statuses in a single day

I am loading the history records in a sql database if that helps.

Alex Cook's avatar
Alex Cook
asked 2020-04-03 13:21:07 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

I would create a table with listingid, status, previousStatus, datetime, price

when searching for records, check if the status has changed, if it has insert into the new table.

unomateo's avatar
unomateo
answered 2020-04-06 13:05:06 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer