Forum Discussion
mattyj2009
Helper II
8 years agoPull data from two rows to compare dates and service identifiers and return true or false
Good Afternoon, I have a report I'm needing to see if a service just moved from one account to another like changing ownership. So if the connect date and the disconnect date are the same for the...
- 8 years ago
Perhaps something along these lines:
Column = VAR previous = MAXX(FILTER(Services,[Service Identifier]=EARLIER(Services[Service Identifier]) && [Connect Date]=EARLIER([Disconnect Date]) && [Account Number]<>EARLIER(Services[Account Number])),Services[Connect Date]) RETURN IF(ISBLANK(previous),FALSE(),TRUE())
Greg_Deckler
Community Champion
8 years agoPerhaps something along these lines:
Column = VAR previous = MAXX(FILTER(Services,[Service Identifier]=EARLIER(Services[Service Identifier]) && [Connect Date]=EARLIER([Disconnect Date]) && [Account Number]<>EARLIER(Services[Account Number])),Services[Connect Date]) RETURN IF(ISBLANK(previous),FALSE(),TRUE())