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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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

9 Replies
Kushal_Chawda

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

try below expression

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

sunny_talwar

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

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))