Hi Gurus,
I have a query to solve in Power Pivot. Seems like a small formula in Excel, I am unable to crack it on Power Pivot.
I have 2 tables.
Table1: ID, DateIn, DateOut, Value
Table2: ID, DateAsOn
There are multiple values for the Same ID, but falls in different DateRange (DateIn - DateOut)
I need a DAX formula which can lookup in the Table1 and fetch me the Value specific to an ID on that Particular Date.
Something like this criteria:
1. Table1.ID = Table2.ID
2. Table1.DateIn <= Table2.DateAsOn
3. Table1.DateOut >= Table2.DateAsOn
Please help me on this trick.
Thank you,
Ravi.
I have a query to solve in Power Pivot. Seems like a small formula in Excel, I am unable to crack it on Power Pivot.
I have 2 tables.
Table1: ID, DateIn, DateOut, Value
Table2: ID, DateAsOn
There are multiple values for the Same ID, but falls in different DateRange (DateIn - DateOut)
I need a DAX formula which can lookup in the Table1 and fetch me the Value specific to an ID on that Particular Date.
Something like this criteria:
1. Table1.ID = Table2.ID
2. Table1.DateIn <= Table2.DateAsOn
3. Table1.DateOut >= Table2.DateAsOn
Please help me on this trick.
Thank you,
Ravi.