Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
carolin01
Partner - Creator II
Partner - Creator II

if(Date(floor

Hi,

Could anybody tell me what´s wrong with this function in my script load:

If(Date(Floor( PlannedDeliveryDate) = '20.10.2020', 'Blanket Order', 'Order')) as Type,

I do not see the error...

Many thanks!!!

Carolin

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try: if(Date(Floor(PlannedDeliveryDate)) = '20.10.2020', 'Blanket Order', 'Order') as Type,


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try: if(Date(Floor(PlannedDeliveryDate)) = '20.10.2020', 'Blanket Order', 'Order') as Type,


talk is cheap, supply exceeds demand
sushil353
Master II
Master II

Hi,

try below one:

if(DAte(Floor(PlannedDeliveryDate),'DD.MM.YYYY')='20.10.2020','Blanket Order','Order') as Type

HTH

sushil

MarcoWedel

Hi,

bracket at wrong position:

If(Date(Floor( PlannedDeliveryDate)) = '20.10.2020', 'Blanket Order', 'Order') as Type,


hope this helps


regards


MArco

carolin01
Partner - Creator II
Partner - Creator II
Author

So simple sometimes - Thank you