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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
jaymeknapp
Contributor III
Contributor III

Using < or > in a Set Expression

I'm trying to pull only transactions where the BackOrder Quantity is >=1..  Here is the expression I have so far, not sure how to use the >= expression.

COUNT(

               {$<[Transaction Order Status]={'Open'},

                    [Items Item Category]={'Catalog'},

                      [Transaction Type]={'Sales Order'},

                        [Transaction Line Backorder Flag]={1},

                          [Transaction Line Backorder Quantity] {'=> 1'}, 

                            [Transaction Line Expected Ship Date]={'<$(=num(date(today()-1)))'}>}

   

    [Transaction Line Backorder Quantity]

)

1 Reply
sunny_talwar
MVP
MVP

May be try to place the = sign after < or > and add an equal sign after the field name you testing the condition against...

COUNT(

              {$<[Transaction Order Status]={'Open'},

                    [Items Item Category]={'Catalog'},

                      [Transaction Type]={'Sales Order'},

                        [Transaction Line Backorder Flag]={1},

                          [Transaction Line Backorder Quantity] = {">=1"},

                            [Transaction Line Expected Ship Date]={'<$(=num(date(today()-1)))'}>}

    [Transaction Line Backorder Quantity]

)