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: 
Not applicable

Question regarding field value within parenthesis

I have 2 fields that both contain the value (Inventory)  - the parenthesis is included in the field value

Whenever I have tried to do set analysis, such as Customer -={(Inventory)} or Customer -=('(Inventory')'}, the condition always fails (have done as an equal test as well but that test fails as well).

I then tried to modify my load script to do the following

LOAD*,
If ([Customer] = '(Inventory)','-Inventory') as Inventory;

The field inventory is crated but contains nulls.  If I replace (Inventory) with any other value that does not include parenthesis, the if test and set analysis works successfully

Labels (1)
1 Solution

Accepted Solutions
malini_qlikview
Creator II
Creator II

try Customer -={'*(Inventory)'}

View solution in original post

3 Replies
malini_qlikview
Creator II
Creator II

try Customer -={'*(Inventory)'}

Digvijay_Singh
MVP
MVP

Try like this -

= Sum({<ProdType-={"=ProdType='(Inventory)'"}  >} Sales)

Not applicable
Author

This appears to work!!

Thanks