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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
kunkumnaveen
Specialist
Specialist

How to get range

Hello All,

              Kindly suggest me what i am missing from the below expression,i am getting output as zero

sum({<BVALIDFROM={"<$(=YearStart(Today(),0,4))"},BVALIDTO={">$(=YearStart(Today(),0,4))"}>}BPrice)


when i tried in two different expressions  it is working

Expression1:   sum({<BVALIDFROM={"<$(=YearStart(Today(),0,4))"}>}BPrice)

Expression2:   sum({<BVALIDTO={">(=YearStart(Today(),0,4))"}>}BPrice)



when i merge both the expression i am getting zero as output.




Capture.PNG

Thanks

Labels (1)
5 Replies
prma7799
Master III
Master III

Try like this

sum({<BVALIDFROM={"<$(=YearStart(Today(),0,4))"}>}BPrice)

+

sum({<BVALIDTO={">(=YearStart(Today(),0,4))"}>}BPrice)

tresB
Champion III
Champion III

Could you share your sample app?

Not applicable

Kindly share the dummy data, so that can get back to you with correct set analysis.

pradosh_thakur
Master II
Master II

try

sum({<BVALIDFROM={"<$(=YearStart(Today(),0,4))"}>} * {<BVALIDTO={">$(=YearStart(Today(),0,4))"}>}BPrice)


regards

Pradosh

Learning never stops.
Frank_Hartmann
Master II
Master II

Can you share a sample?