Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Tabular using DAX: Possible to lookup across multiple tables (LOOKUPVALUE or CALCULATE?)

$
0
0
I am working with some row filters and am having a heck of a time trying to lookup across multiple tables.[img]http://social.msdn.microsoft.com/Forums/getfile/468379[/img]I need to return States[StateID] row in States where an Employee has a related CityID.So States[StateID] to Cities[StateID] on Citites[CityID] to Employees[CityID] perhaps where Employees[Employee ID] is 3 or Employees[Login ID] = "Sam".I can not seem to get this to work.I can easily do Cities to Employees on Employee Login ID that isn't an issue:LOOKUPVALUE(Employees[CityID],Employees[Login Id],"Sam",Employees[CityID],Cities[CityID])it is Starting at State and moving through Cities to Employees that I just can't seem to do....

Viewing all articles
Browse latest Browse all 1341

Trending Articles