Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

How to get the last non null row value

jdbustamantec
6 - Meteoroid

I have the following data:

 

jdbustamantec_1-1665002465858.png

 

I need the las date that is not null for each intake. Results for each intake are highlighted

 

I tried using a sample tool set to Last N rows but it returns the last row including nulls

 

Any ideas on how to solve this? Thank you

2 REPLIES 2
Luke_C
17 - Castor

Hi @jdbustamantec 

 

You could filter out the null rows prior to your sample tool, that should get you what you need. Add a filter tool and filter to Value 'Is Not Null'.

 

Alternatively based on your data, you could use a summarize tool, group on project and group by Max Value (assuming Value is a Date Time data type). 

binuacs
20 - Arcturus

@jdbustamantec One way of doing this with the summarise tool and the join tool

 

binuacs_0-1665003738278.png

 

Labels