Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Filtering data that hasn't been present last 7 days

GoldenDesign04
8 - Asteroid

I have two columns that I am pulling and comparing. Signal, Date/Time

Source is a historical log of every-time a Signal has thrown an error in a postgres.

 

 

I already have a workflow that grabs the error feed dynamically and sorts it out to techs to respond to said errors. There are, through analysis, several stations that are continually throwing errors. They are known. I filtered them out of the main daily report to techs but also want to have a check to see if they "fix", don't send an error, for X amount of time and then throw an error again that they pop up appropriately. 

 

That way if they do get fixed and then break again we don't ignore them as it may be a new problem not the known issue waiting on a fix.

 

I've pulled the offending stations into a workflow that then compares them to the historical log. I created a multi-row formula that does a date time difference column and selected only the last "8" days, today plus the previous week.

 

I want to be able to have an output that is IF today [date time diff 0] is present but no others THEN pass on.

 

StationDate TimeDate Time diff
A1/130
A1/112
A1/103
3 REPLIES 3
DiganP
Alteryx Alumni (Retired)

@GoldenDesign04 are you looking for something like this?

DiganP_2-1578935243387.png

If not,  am not sure if I understand your question. Can you elaborate a little bit more please? 

Digan
Alteryx
GoldenDesign04
8 - Asteroid

I'll try and elaborate.

 

I want to only pass on the first row, if the next most recent record is older than 7 days prior

 

So in my first example data:

StationDate TimeDate Time diff
A1/130
A1/112
A1/103

 

Nothing would be passed.

But if:

StationDate TimeDate Time diff
A1/130
A1/39
A1/210

 

Then this record (row 1) should be passed through the workflow.

 

So out put would be 

StationDate TimeDate Time diff
A1/130

 

 

Again, the idea is to filter out a station that is a known issue. In this case it has reported the last 400 days running. I want to remove it, and quite a few others, from the tech supports workload as it is something their not going to fix. At the same time I want to build in a safeguard if it gets fixed (no longer reporting) but then throws an error again (could be something new) so it doesn't get missed.

 

 

DiganP
Alteryx Alumni (Retired)

@GoldenDesign04 I see, attached is the workflow with the logic you described. Does this work for you?

Digan
Alteryx
Labels