Lookupvalue only for latest data

ayordeky

New Member
Joined
Mar 21, 2016
Messages
6
Hello,

An urgent question and any help appreciated
I am working with a model which uses two tables.
The first one is historical (there is column Updated Date)and is updated every week. So lets say it is my fact table where I have many lookupvalue columns to look data from my other dimension table.
Dimension table is not historic and is just updated every time. Now what I want to do is make my dimension table historic as well but transform my all functions in fact table so to look data not from entire dimension table but only from part of it. So I want to add a column as I have in the other table Updated Date and somehow filter within lookupvalue formulas to not use the entire table because then it is just duplicate values but just use the ones for which column Updated Date is today.

Any ideas how can I do this?
P.S
I am new to PowerPivot and maybe there is another way to do so.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hello,
with lookupvalue() function? smt. like this?

Code:
=LOOKUPVALUE(Table1[Result],Table1[Date_Column],today(),Table1[Search_Column_Name],[Search_Value])
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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