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: 
prma7799
Master III
Master III

calculated dimension

Hi All,

How to write below expression in dimension.

[First Invioce Date]={'>=$(=Date(vStartDate))<=$(=Date(vEndDate))'}

Thanks

1 Solution

Accepted Solutions
tamilarasu
Champion
Champion

I am not understand your requirment clearly.

You mean this,

If([First Invioce Date]>=Date(vStartDate) and [First Invioce Date]<=Date(vEndDate),

   Product

)

If not, could you elaborate or post sample application.

View solution in original post

6 Replies
tamilarasu
Champion
Champion

Try,

If([First Invioce Date]>=Date(vStartDate) and [First Invioce Date]<=Date(vEndDate),

    [First Invioce Date]

)

prma7799
Master III
Master III
Author

Hi Tamil ,

Your suggestion is right but am taking   [First Invioce Date] ,Product and many more dimension for   [First Invioce Date] is showing perfect range but for product it will not display for that range .


kindly help.

tamilarasu
Champion
Champion

I am not understand your requirment clearly.

You mean this,

If([First Invioce Date]>=Date(vStartDate) and [First Invioce Date]<=Date(vEndDate),

   Product

)

If not, could you elaborate or post sample application.

Not applicable

Hi,


Try this,


{<[First Invioce Date]={'>=$(=Date(vStartDate))<=$(=Date(vEndDate))'}>}


KR,


Hasvine

PrashantSangle

Hi,

If possible move your condition either in script or in Expression.

if you want in expression you can try liike

Only({<[First Invioce Date]={'>=$(=Date(vStartDate))<=$(=Date(vEndDate))'}>} Product)

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

Example:

Sum({<[First Invioce Date]={'>=$(=Date(vStartDate))<=$(=Date(vEndDate))'}>}XXXXX)