Forum Discussion
Anonymous
8 years agoNot applicable
DATE RANGE LOOKUP
Hello everyone,
I have two tables like the example below. I want to look up the Campaign into my Product table by the condition that the Launch date is in the period of a Campaign.
I want to use LOOKUPVALUE in DAX but dont know how.
Can we use DAX or another way to solve it?
Thank you
- Here it is, Create a Calculated Column
= CALCULATE(VALUES(Campaign[Campaign]),FILTER(Campaign,'Product'[Launch Date]<Campaign[Stop] && 'Product'[Launch Date]>Campaign[Start]))
5 Replies
- iamprajotResponsive ResidentHere it is, Create a Calculated Column
= CALCULATE(VALUES(Campaign[Campaign]),FILTER(Campaign,'Product'[Launch Date]<Campaign[Stop] && 'Product'[Launch Date]>Campaign[Start]))- AnonymousNot applicable
I'm trying to do something similar and for some reason i cannot use the column from the second table in the formula although they have a relationship that is active
- Ashish_MathurSuper User
Hi,
Share a dataset and show the expected result.