Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

If there is no row-1/+1

df
8 - Asteroid

Hello,

I use the multirow-formular. I want to flag every Timestamp that has a other timestamp before or after with the (time)difference of 15 minutes.
now my probleme is that the first and the last row always gets flaged because there is no row-1 (for the first) and no row+1 (for the last).

How can i improve the formular that for the first timestamp only row+1 is used and for the last only row-1. Is this possible?

grafik.png

1 REPLY 1
LordNeilLord
15 - Aurora

Hey @df

 

You could add an extra contidion to your formula to say AND !IsNull([ROW+1:TimeStampDateTime])/AND !IsNull([ROW-1:TimeStampDateTime])

 

You will need to change your multirow formula to be NULL for Values that don't exist.

 

MultiNull.PNG

 

@LordNeilLord

Part time Tableau, Part Time Alteryx. Full Time Awesome


Data Lover

Labels
Top Solution Authors