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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
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,216,105
Messages
6,128,861
Members
449,472
Latest member
ebc9

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