Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set analysis not working after data model change

Hi,

I've changed my date format in the script from 'YYYYMM' to 'MM/YYYY'.

Now my set analysis is broken, at least it does not show anything:

sum({$<Abschlusstermin.P= {">=$(=date('$(vFYStart)'))<=$(=date('$(vToday)'))"}>} Value)

Content of vFYStart is '01.04.2013', vFYEnd is '31.03.2014'

How do I have to change the expression to let it work again?

Thanks.

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

sum({$<Abschlusstermin.P= {">=$(=date('$(vFYStart)'),'MM/YYYY')<=$(=date('$(vToday)'),'MM/YYYY')"}>} Value)

View solution in original post

5 Replies
MK_QSL
MVP
MVP

sum({$<Abschlusstermin.P= {">=$(=date('$(vFYStart)'),'MM/YYYY')<=$(=date('$(vToday)'),'MM/YYYY')"}>} Value)

PrashantSangle

Hi,

What is format of Abschlusstermin.P this field???

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 🙂
Not applicable
Author

'MM/YYYY'

PrashantSangle

Hi,

Then try manishkachhia expression ,It should work

Or You can also do one thing save vFYStart and vToday variable in that format .

Then it should Work

If Still not worked then Use

Date(Date#(vFYStart,'DD.MM.YYYY'),''MM/YYYY) and

Date(Date#(vToday,'DD.MM.YYYY'),''MM/YYYY) in above expression

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 🙂
SunilChauhan
Champion II
Champion II

make vFyStart and  Vtoday variable in same format

Sunil Chauhan