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

How to get Maximum date in Load Script

Hi Friends,

Need a small help

I am having a field called Receipt date

I want to calculate Minimum Receipt Date only in script

I am using

Load

Min(Receipt Date) as Minimum Date

from xyz.qvd

But it is showing error

could any one of you help how to write this inn script level

Thank you,

Satya

20 Replies
robert_mika
Master III
Master III

Maybe

Min(ReceiptDate)

or

Min([Receipt Date])


You can not have space between two words.


If that does not help..

What is your error?


BTW:

in subject you have Max but you are using Min.

Feeling Qlikngry?

How To /Missing Manual(25 articles)

SatyaPaleti
Creator III
Creator III
Author

Hi Robert,

Thank you for reply I am using Min([Receipt Date]) only

but still it shows error

Thank you,

Satya

Chanty4u
MVP
MVP

as mika said is correct.

try this.

Min(Receipt Date) as MinimumDate    no space in MinimumDate

robert_mika
Master III
Master III

What is your error?

SatyaPaleti
Creator III
Creator III
Author

Its Dislaying Invalid Expression

SatyaPaleti
Creator III
Creator III
Author

Its Displaying Invalid Expression

Chanty4u
MVP
MVP

hi,'

try dis

date--.png

Load*,

Min(Receipt Date) as MinimumDate

from xyz.qvd

SatyaPaleti
Creator III
Creator III
Author

I have done the same thing but it is showing invalid exression

Chanty4u
MVP
MVP

can u shre the screen shot of that ?