• We are receiving reports of members using the private messaging service (Conversations) in ways that break the forum rules:
    • Do not invite another member to take the question off the forum (i.e. do not suggest that they post to a different forum, do not suggest that they email or private message you the problem, do not simply post a link to another forum, unless it is to a specific, relevant, thread). This applies equally to members asking or answering questions.
    • Soliciting business for yourself is not permitted. This is an all volunteer board, so offering solutions in exchange for compensation is not permitted. Likewise, members seeking solutions must not offer compensation for them. If you have an urgent need, check the Consulting Services page.
    Please help us out by clicking the Report link on any messages you receive that violate these rules. Thank you
  • If you would like to post, please check out the MrExcel Message Board FAQ and click here to register.
    If you forgot your password, you can reset your password.

how to insert calc fields in a pivot table

bigdan

Well-known Member
Joined
Oct 5, 2009
Messages
768
I have a pivot table with a ****load of fields. It would help if I could insert calculation fields within the pivot itself rather than doing it externally.

With the data below I'd like to create a field which shows the Profit per Order and the Shipping Cost per Order.

I went to the Analyze tab, Fields Items and Sets, Calculated Field, so I think I got that part handled. But evidently something didn't work there. When I tried to find the Shipment Cost / Order, the numbers should be $31K divided by 400 orders, but for some reason the result I got was 5. Not sure what I did wrong.

Is there a way to see what's being calculated?


Province# of OrdersShipping CostProfit
ON50$500$20
PQ20$300$10

<tbody>
</tbody>
 

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
7,719
Office Version
365
Platform
Windows
Is that table how your data is set out? It should be just as you said Shipping Cost/Number of orders. Make sure all your numbers are indeed numbers and not text.
 

Forum statistics

Threads
1,077,961
Messages
5,337,425
Members
399,145
Latest member
SPLhorses

Some videos you may like

This Week's Hot Topics

Top