Jump to content
  • 0

Question regarding pivot table using a view with repeating values in some columns


zedbee
 Share

Question

Hello,

I would like to create a pivot table for data similar to the table below. I'm using a view to create the pivot table. The view joins the PO table and SO table, and that's causing the PO ID rows to be repeated.

PO Qty total should calculate the sum of  qty of unique PO IDs. I was thinking of using the custom totals/aggregations formula to calculate it, but I'm getting stuck.. 

Any help on this would really be appreciated!

Product PO ID PO Qty SO ID  SO Qty
Product A POA1 5 SOA1 1
Product A POA1 5 SOA2 2
Product A POA1 5 SOA3 1
Product A POA2 10 SOA4 3
Product A POA2 10 SOA5 2
Product A POA2 10 SOA6 1

PO Qty Total: 15 (unique PO ID);  SO Qty Total:  10

Thank you!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...