Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
jduluc12
Creator
Creator

InputSum question

Hi,

I am using

INPUTFIELD Field1

in my load script and using

inputSum([Field1]) in the my expression.

I am able to enter the values for Field1 in the pivot table.

But this value changes by itself when ever i filter the chart.

I want to keep the value of Field1 unchanged.

Is there any way to do it?

-Jean

7 Replies
Anil_Babu_Samineni

Even, If i filter it's not changing the value. i am not sure, Whether this is version issue or something.. If not, Please update work file

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
jduluc12
Creator
Creator
Author

I think you are right

i was using

inputsum(Field1, '*')

Anil_Babu_Samineni

* won't consider here. Use InputSum(Field1)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
jduluc12
Creator
Creator
Author

in fact, i will take my word back.

it is still changing.

it changes like this

suppose the initial value is 15 and this is how the table looks like

sales                    Field1              sales*(Field1/100)

1091753.25       15                     163762.99                    

And then i select some filter like date which makes sales as 26643.32

then the value of Field1 changes to 10.38

I want it to be 15 always.

Anil_Babu_Samineni

May be share application or images atleast. Before change and after change with filter?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
jduluc12
Creator
Creator
Author

Before

Screen Shot 2017-09-08 at 5.58.13 AM.png

after date selection

Screen Shot 2017-09-08 at 5.58.54 AM.png

The load script looks like

INPUTFIELD [Commission Rate]

and it is loaded as

0 as [Commission Rate], RowNo() as key


I added RowNo() because it was giving me "Duplicate keys when loading input field"

Anil_Babu_Samineni

Is this is simple, please post sample application

what if we are using this? InputSum({1}Sales) // Sales you need to change?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful