Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
bsbernabe
Creator
Creator

Get updated data using expression

Hello There,

My concern is how to get the updated data and if no update gets the previews data.

sample data:

NameADateBDate
MC SyCollector08/25/2016Branch Name10/08/2019
Abiah TengCashier02/16/2017- 
Ashly TanCredit Asso.12/08/2017Credit Approver08/28/2019

 

I try this expression but the output its not working base on the output I need.

If(len(A)>,A,If(len(B)>,B))

The output should be that I need is like below:

NameBDate
MC SyBranch Name10/08/2019
Abiah TengCashier02/16/2017
Ashly TanCredit Approver08/28/2019

 

Is there any other way for this kind of concern?

Best Regards,

Bing

 

Labels (1)
1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Something like:

If(len(B) > 0, B, A) as B,
If(len(Date1) > 0, Date1, Date) as Date,

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

1 Reply
jonathandienst
Partner - Champion III
Partner - Champion III

Something like:

If(len(B) > 0, B, A) as B,
If(len(Date1) > 0, Date1, Date) as Date,

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein