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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
abhaysingh
Specialist II
Specialist II

Logic Help1

Hi Guys,

Pls find the sample file and desired output in it, Pls suggest , totally stuck

Labels (1)
9 Replies
Kushal_Chawda
MVP
MVP

What is expected output in excel? I am not able to open QVW

abhaysingh
Specialist II
Specialist II
Author

Desired Output = if i select any date than that particular raw shud come and rest where date is blank shud come.

thanks

t_chetirbok
Creator III
Creator III

Hello!

if I understand your requirement, try to use this expression: sum({$+1<LinkDate={"-"}>}Qty)

Chanty4u
MVP
MVP

chk dis

Kushal_Chawda
MVP
MVP

try below expression

=sum({<LinkDate ={"$(=max(Date))"}> + <LinkDate-={"*"}> } Qty)

sunny_talwar
MVP
MVP

May be this:

Sum({$+<LinkDate = {'-'}>}Qty)


Capture.PNG

abhaysingh
Specialist II
Specialist II
Author

Small Correction in the Data, LinkDate does not contain "-" in the Data.

So if i do not have "-" in the Data than what shud be the logic?

sunny_talwar
MVP
MVP

If it is truely null, then this:

Sum({$+<LinkDate = {"=Len(Trim(Only({<LinkDate>}LinkDate))) = 0"}>} Qty)

t_chetirbok
Creator III
Creator III

So, if your field LinkDate is null, you can try this expression:

sum({$}Qty)

+sum({1} if(isnull(LinkDate),Qty))