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

set Analysis

Hi to All,

 

I have the data from 01 Dec 2008 to 03/02/2015... if we select any date between these dates,,i want get the data from 01/12/2008 to selected date. 


My expression Like....

=sum({<postingdate={"<=$(=date(max(date)),'DD/MM/YYYY))"}>} quantity_in Base)

Above expression is not working pls help me.

I want display data from starting date to Selected date....

I did n't store any dates into variables..

i have my column Posting date,

Pls give me expresion for that...

Thanks for advance

please help me....


chandra

11 Replies
Anonymous
Not applicable
Author

Can you just attach sample application.

PrashantSangle


Hi,

Check Date format.

and if possible share sample app.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

You have a misplaced bracket and you need square brackets around the field with a space in the name:

=sum({<postingdate={"<=$(=date(max(date),'DD/MM/YYYY'))"}>} [quantity_in Base])

HTH

Jonathan

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

Hi Jonathan,

thans for ur reply

its not working.

give me suggestion.

Not applicable
Author

Hi Max,

i entered both formatts like (1) DD/MM/YYYY

                                           (2)MM/DD/YYYY

     i checked both this formatts but its not working max.

Thanks for ur reply.

Not applicable
Author

Hi Chandra,

try this

=sum({<postingdate={">=$(=date(max(date)),'DD/MM/YYYY))"},   postingdate={"<=$(=date(max(date)),'DD/MM/YYYY))"}>} quantity_in Base)

This will work

Regards,

Lalit

Not applicable
Author

Hi to All,

Not getting Answer..

Thanks for ur reply.

robert_mika
Master III
Master III

A sample of file would be helpful.

jerrysvensson
Partner - Specialist II
Partner - Specialist II

Put this in a variable to verify that your formula works.

date(max(date),'DD/MM/YYYY'))

I don't know why you are complaing on not getting answers, most people on the forum is not paid by Qlik.

We help out when we have time.