Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to use Aggregate function in the Text Box

Hello,

I am using the following expression in the text box.

=count (  IF ([Primary Item Quantity]  + sum( [Alternate Item Quantity] )  < [Safety Stock Quantity], [Inventory Item]))

My objective is to find count of item  with Primary and Alternate quantity is less than safety stock.

Please note, Alternate item  is a separate table with one to many relationships with Primary Item.

Above expression gives error.

Kindly Advice.

Abubakker.

1 Reply
Gysbert_Wassenaar

Perhaps this:

count({<[Inventory Item]={'=only([Primary Item Quantity])+sum([Alternate Item Quantity])<only([Safety Stock Quantity])'}>}[Inventory Item])

If not, please post a document that demonstrates the problem.


talk is cheap, supply exceeds demand