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: 
cspindley
Contributor III
Contributor III

help with set anlysis

i am trying to use a var within set analysis but with the > operator rather than the = operator

can anyone help with this ?

Labels (1)
23 Replies
cspindley
Contributor III
Contributor III
Author

=count( {$< InTheMoney = {0,1} , ResponseW8 = {" >= $(=num(86400*vMinResponse)) <= $(=num(86400*vMaxResponse)) "} >} ResponseW8)

stil struggling, any ideas?

cspindley
Contributor III
Contributor III
Author

=count( {$< InTheMoney = {0,1} , ResponseW8 = {" >= $(=num(86400*vMinResponse)) <= $(=num(86400*vMaxResponse)) "} >} ResponseW8)

still struggling ...

cspindley
Contributor III
Contributor III
Author

=count( {$< InTheMoney = {0,1} , ResponseW8 = {" >= num(86400) "} >} ResponseW8 )

even the above simpler ver does not work

cspindley
Contributor III
Contributor III
Author

=count( {$< InTheMoney = {0,1} , ResponseW8 = {" >= num(86400) "} >} ResponseW8 )

this not working either

sasiparupudi1
Master III
Master III

count( {$< InTheMoney = {0,1} , ResponseW8 = {">=86400"} >} ResponseW8 )

sasiparupudi1
Master III
Master III

What are the expressons in your variables

cspindley
Contributor III
Contributor III
Author

blunckc1
Creator
Creator

This is a set analysis formula I use to calculate the last 12 months only.

ENTERTHEAGGREGATION({<MonthYear ={">=$(=date(addmonths(date#('$(vYearMonth)','MMM-YYYY'),-11),'MMM-YYYY')) <=$(=date#('$(vYearMonth)','MMM-YYYY'))"}, Year=,Month=>} ENTERTHEFIELD)

Variables isloaded as follows

=if(isnull(GetFieldSelections(CalendarMonthYear)),date(today(),'MMM-YYYY'),date(max(CalendarMonthYear),'MMM-YYYY'))

cspindley
Contributor III
Contributor III
Author

blunckc1
Creator
Creator

???

It is rather annoying getting a blank message.