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

Help with syntx conversion

Hello

I know what I would like to achieve in Qlikview, but require some assiatcne with a conversion to qlikview syntax

It is a between statement and the syntex that I would require help with is:

If(Today()-1 between admission_date and Today()-1, 1)

Anyone able to help

Kind Regards

Helen


6 Replies
sunny_talwar

Not sure I understand what you mean by this -> Today()-1 between admission_date

Can you may be share a few lines of sample with the expected output?

Peter_Cammaert
Partner - Champion III
Partner - Champion III

This is a weird requirement, as your test value is at the same time the outer boundary of your range. This makes the IF always result in true(). So your code boils down to:

IF (true(), 1)...

swuehl
MVP
MVP

If yesterday is between admission and yesterday?

Isn't that always true (or false, depending on how you look at the borders of your between range)?

Kushal_Chawda

this?

if( admission_date <= today()-1,1)

Anonymous
Not applicable

You can try this, it wud give you same:


If(Today()-1 >= admission_date, 1)

buzzy996
Master II
Master II

hey,u have to explain a bit more ur expected out ..that helps qlickers to respond quickly.