Forum Discussion
TrentS
Helper IV
2 years agoBest approach for Date sequence check
Good day to all, I have about 20 events/dates in a shipping sequence that I need to run a check on. I need to determine two things: 1. Any missing dates in the sequence (think missing scans dur...
- 2 years ago
you can create two measures
Measure = CALCULATE(COUNTROWS('Table'),FILTER('Table', ISBLANK('Table'[order processed])||ISBLANK('Table'[packed])))Measure 2 = CALCULATE(COUNTROWS('Table'),FILTER('Table', 'Table'[packed]>'Table'[shipping]))or create columnsmissingdate = if(ISBLANK('Table'[order processed])||ISBLANK('Table'[packed]),1,0)wrongdate = if('Table'[packed]>'Table'[shipping],1,0)then you sum the column to get the total numberpls see the attachment below
TrentS
Helper IV
2 years agoThank you Ashish and Ryan. Kudos given.
I am going to leave it as unresolved for a bit as I worry about upscaling that to the 20+ dates that would have to be used in those measures/columns. This data set already has a considerable number of custom columns added and I worry about adding even more.
Any thoughts on an approach to that many steps needing the comparisons? (I only placed 4 in the example but there are considerably more in the actual data set.)