Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

With INPUTFIELD Unable to show Expression Total

Hello  Frnds,

We have couple of issues while using ‘INPUTFIELD’. These input fields are being used to capture simulation values for certain parameters. Input field values are used in computation of below straight table. While doing so, we have the following challenges:

a)      1)Unable to use the column name in the expression.

b)      2) How to compute weighted average in the total row.

c)      3)Unable to show the expression total.

Explanation:

Parameters table is used to capture Count of rejected products and the % increase / decrease over the average cost of product type.

Simulation straight table column “Product Cost” is the average cost of each product type. We need to compute the weighted average cost of all product types and display the same in total row.

Rejected count and associated % increase / decrease in cost over the average product cost computations are in the subsequent fields.

Net product count = Product count – Rejected count

Net product amount = Product amount – Rejected amount

Net product cost = Net product amount / Net product count

Attached is the example qvw.

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

HI,

     Just change your expression to below.

     Sum([Prod Amt]/[Prod Count])

     The expression should be used in aggregation function to get the total.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
SergeyMak
Partner Ambassador
Partner Ambassador

Hi,

Did you try to use simple variables instead of Inputfields?

Regards,

Sergey

Regards,
Sergey