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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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

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

Try like this -

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

Not applicable
Author

This appears to work!!

Thanks