Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ajaysingh29
Contributor III
Contributor III

InputField in Pivot to change overall Avg.

Hi All,

I wanted to make one filed in Pivot as Input filed to change overall Avg . If I enter any new value in avg filed it should change total Avg.

How to achieve this? I have attached test Qvw.

test.PNG

Thank you for your help.

9 Replies
sunny_talwar

Where are you hoping to input a new value? I am not sure I understand the requirement completely

dsharmaqv
Creator III
Creator III

you can try like this

But input field works only with table box not with pivot table.

INPUTFIELD Field3;
INPUTFIELD Field4;
LOAD Month,
Field1,
Field2,
Field3,
Field4,
F
FROM

(
ooxml, embedded labels, table is Sheet1);

ajaysingh29
Contributor III
Contributor III
Author

Hi Sunny,

test.PNG

Highlighted is the required Input values.

If I change any value there it should change overall AVG (93) accordingly.

ajaysingh29
Contributor III
Contributor III
Author

Hi Deepak,

Thank you for your reply.

However, I cant make those filed as input as per required solution. Just wanted to validate if I change AVG of particular value how it will impact on Overall Avg. Is it possible ?

That's fine if its not Pivot. Can I use Straight table instead table box for Input filed? 

dsharmaqv
Creator III
Creator III

Input field will work only with table box not with charts

Yes it will impact overall Avg as well on-fly.

also add row num as row id.

INPUTFIELD Field3;
INPUTFIELD Field4;
LOAD rowno() as ID,

Month,
Field1,
Field2,
Field3,
Field4,
F
FROM

(
ooxml, embedded labels, table is Sheet1);

vinieme12
Champion III
Champion III

I think you want to do What-IF analysis

Search the community for other related posts for more ideas

What If analysis.doc

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
ajaysingh29
Contributor III
Contributor III
Author

  Deepak,

can’t make field3 & 4 as Input field. Those fields contain spend related amt.

My requirement is If I change Avg for particular vendor (suppose A which is in Field1 is vendor), how that will impact on overall avg of all the vendors.

  Test1.PNG

 

Hope this will give you some more clarity about requirement. 

  Thank you for your efforts & help. 

 

ajaysingh29
Contributor III
Contributor III
Author

Thank you Vineeth. I will check the document.

dsharmaqv
Creator III
Creator III

Since AVG is a calculated expression. The work arround I can see is to perform you calculation at the load script and then define that field as input field.