0

NL function "LAST" in Universal DB not working

Hi, hopefully someone has a suggestion on how I can accomplish this.

I'm using the following NL function that pulls from a Universal SQL data source (Oracle)
NL("last","MBR_PLAN","EXP_DATE","DataSource=","Oracle","MEM ID",H10366,"MEM SFX",I10366)
I'm trying to get the last record in the data source for "EXP Date" but it's returning the first record. Why is this not working correctly and giving me the last record?

I've attached a spreadsheet that reflects the order the datasource is storing the data.

1 comment

Please sign in to leave a comment.