Power Pivot: Trial Balance to P&L Geography with two criteria

PabloXL

New Member
Joined
Apr 25, 2020
Messages
5
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
Hello - I’m trying to make a P&L statement from a trial balance in PowerPivot vs. the historical lookup method. In a simple example, this was easy to do in PowerPivot, but now that I’m trying to add in a pairing that needs to occur I cannot create the relationships.

In my simple example I have three tables:

1) P&L Hierarchy.....three columns “Level I”, ”Level II”, “Level III” which represents a hierarchy of multiple Level IIIs roll up to a Level II, and then multiple Level IIs roll up into a Level I.

2) Trial Balance Extract.....four columns “$”, “Date”, “GL #”, and “Department”. These are all the transactions.

3) P&L Mapping....three columns “Level III”, “GL #”, and “Department”. This table is made to show the combonation of GL # and Department which pair together to drive which Level III of the P&L the combinations go to.

However, for my third table P&L Mapping, I do not have a unique value as many Departments can go to a GL# and then the Level III is repeated numerous times. The same happens with GL #s as they are not unique with the pairings necessary either.

Do I need to create a Lookup with an AND to get this to work, or is there a way in PowerPivot with relationships to do this?
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top