Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
ronaldwang
Creator III
Creator III

set analysis with > symbol in the field value

I have a filed name days to pay with the below four possible values:

>60 days, no date, 30 days, 60 days as possible value

And when I use in set analysis

Sum({$<[days to pay]={“30 days”}>} amount) will work

But Sum({$<[days to pay]={“>60days”}>} a unt) will work

  Any idea ?

1 Solution

Accepted Solutions
effinty2112
Master
Master

Hi Ronald,

I think the problem lies with the > character in the dimension value >60 days. Enclosing this in double quotes will tell QlikView to look at the inequality greater than the text "60 days" rather than where the dimension value equals '>60 days'.


Try using single quotes instead.


Sum({$<[days to pay]={'>60days'}>} amount)


good luck


Andrew

View solution in original post

4 Replies
Anil_Babu_Samineni

What is the issue? You said, 2 expressions working

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
effinty2112
Master
Master

Hi Ronald,

I think the problem lies with the > character in the dimension value >60 days. Enclosing this in double quotes will tell QlikView to look at the inequality greater than the text "60 days" rather than where the dimension value equals '>60 days'.


Try using single quotes instead.


Sum({$<[days to pay]={'>60days'}>} amount)


good luck


Andrew

sunny_talwar

You can also try this

Sum({$<[days to pay] = {“=Only({1} [days to pay]) = '>60days' ”}>} a unt)

pradosh_thakur
Master II
Master II

QlikView accepts the three syntax for text. You may write:

{<[days to pay]={">60days"}>}

if its not working then

{<[days to pay]={'>60days'}>}

{<[days to pay]={[>60days]} >}

regards

Pradosh

Learning never stops.