PivotTable Error with Relationships't%20think%20of%20a%20straightforward%20way%20to%20do%20that.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPotentially%20could%20be%20done%20with%20some%20DAX%20formula%20using%20Power%20Pivot%20but%20if%20you've%20not%20used%20that%20before%20this%20isn't%20the%20type%20of%20thing%20that%20can%20be%20explained%20here%20sorry.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'd%20go%20for%20a%20couple%20of%20separate%20pivot%20tables%20then%20add%20a%20slicer%20connecting%20to%20both%20as%20per%20the%20attached%20maybe%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224669%22%20slang%3D%22en-US%22%3ERe%3A%20PivotTable%20Error%20with%20Relationships%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224669%22%20slang%3D%22en-US%22%3E%3CP%3EI%20do%20not%20quite%20get%20the%20answer%20I%20am%20looking%20for%20when%20I%20remove%20Sum%20of%20PO%20amount%20and%20Sum%20of%20Ledger%20amount.%20Is%20there%20any%20way%20to%20have%20the%20pivot%20table%20show%20so
Roy Roongseang
New Contributor


Could someone help me with a pivot table issue? I am having difficulties combining 3 tables together. I created a one to many relationship from table 1 to table 2 and table 3 as shown by the arrows in the below image. However, when I add a pivot table, all of the invoice numbers are showing up under every purchase order number. How do I set up the pivot table so that only the corresponding invoice number shows up under the purchase order, and blank if there is no corresponding invoice.

I tried the auto-detect in case I was missing something and 0 results came up. 


Excel Pivot Table Issue.JPG

4 Replies

Hi Roy


If you remove Sum of PO amount and Sum of Ledger amount do you get the answer you want?


Also, are you using Power Pivot or just the relationship buttons on the data ribbon?

I do not quite get the answer I am looking for when I remove Sum of PO amount and Sum of Ledger amount. Is there any way to have the pivot table show something like this screen shot?


Excel PO Pivot Table example.JPG


I am using just the relationship buttons on the data ribbon. 


Hi Roy


I can't think of a straightforward way to do that.  


Potentially could be done with some DAX formula using Power Pivot but if you've not used that before this isn't the type of thing that can be explained here sorry.


I'd go for a couple of separate pivot tables then add a slicer connecting to both as per the attached maybe

Hi Roy,

Did you solve your problem with PivotTable ¿? I have the same problem here.


Thank you.


Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies