Forum Discussion
Date / Lookup Tables
- 8 years ago
Hi Valentin,
Always happy to help a Skyrim fan!
You can create a relationship to both, but only one will be active. But then in your calculations you can use the USERELATIONSHIP function to reference the inactive relationship instead. For example:
No. Rentals = CALCULATE(SUM(Table[Rentals]), USERELATIONSHIP(LookupTable[Station], Table[StationFrom]))
Otherwise, there is a LOOKUPVALUE function that may be of use.
Hope that helps!
Hi Valentin,
Always happy to help a Skyrim fan!
You can create a relationship to both, but only one will be active. But then in your calculations you can use the USERELATIONSHIP function to reference the inactive relationship instead. For example:
No. Rentals = CALCULATE(SUM(Table[Rentals]), USERELATIONSHIP(LookupTable[Station], Table[StationFrom]))
Otherwise, there is a LOOKUPVALUE function that may be of use.
Hope that helps!
- ValentinBIA8 years agoResolver I
Hi JoHo,
Thank you very much, that is exactly what I was looking for !
(glad you noticed the Skyrim reference :) )