RELATED, RELATEDTABLE or Measure for Power pivot

shophoney

Active Member
Joined
Jun 16, 2014
Messages
286
Hi,

I have 2 tables that I would like to look up the MAX date of when an item was marked down based on a specific date.

The first table is OH HISTORICAL. I would like to add a column or measure to find out what the discount was on a SKU. That is on or before the DATE.

So fi the item was marked down on the 9/8/19, 12/6/19, 6/7/20, 9/15/20 and 12/26/20 I would like to know the discount was on 9/15/20 as that is on or before "DATE".

I have the 2 tables related to a main table that has the SKU# listed only once. And in table OH HISTORY the sku# will be listed at many locations and on many count dates. In table DISCOUNT the same sku could be list 20-30 times as it would be discounted throughout the season.

1605829503138.png


Discount table
1605829514966.png


I'm not sure if I need to add a column RELATED or RELATEDTABLE? Or if the most efficient way is a MEASURE.

All of this DATA will be pulled into Excel as a pivot table.

Thanks
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,223,713
Messages
6,174,039
Members
452,542
Latest member
Bricklin

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