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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to use greater than in set analysis using a single variable?

Hi All,

I am working on a outstanding report.

User will input different outstading days which will be stored in a variable "vOutStandingDays".

This variable is used to show the outstanding amount in a text object.

=num(Sum({<VehicleSparesType={'Vehicle Sales'},OutStandinfDiff={'>=$(vOutstandingDays'},  BusinessArea={'CA01'}>} Outstanding)/10000000,'###,##,##,###.00')

But it does not give me any output.

Please help for "how to use greater than only in set analysis using one variable'

Thanks in advance.

4 Replies
tresesco
MVP
MVP

Missing a closing parenthesis after variable:

'>=$(vOutstandingDays)'}

MK_QSL
MVP
MVP

=num(Sum(

     {$<

               VehicleSparesType={'Vehicle Sales'},

               OutStandinfDiff={'>=$(vOutstandingDays)'}, 

               BusinessArea={'CA01'}

     >}

     Outstanding)/10000000,'###,##,##,###.00')

jagan
Partner - Champion III
Partner - Champion III

Hi,


Try like this

=num(Sum({<VehicleSparesType={'Vehicle Sales'},OutStandinfDiff={'>=$(=vOutstandingDays)'},  BusinessArea={'CA01'}>}Outstanding)/10000000,'###,##,##,###.00')


Regards,

Jagan.

sunilkumarqv
Specialist II
Specialist II

Hi Sarang

try like this

=num(Sum({<VehicleSparesType={'Vehicle Sales'},OutStandinfDiff={"<=$(=vOutstandingDays)"},  BusinessArea={'CA01'}>}Outstanding)/10000000,'###,##,##,###.00')