Forum Discussion
nagaraj
6 years agoPost Patron
LookupValue with Filter
Hi, Need help with DAX for below scenario Scenario: Have TABLE1 and TABLE2, need to populate manager (in TABLE1) by having lookup (in TABLE2). In TABLE2 i have multiple values for a single ...
tctrout
6 years agoResponsive Resident
The approach I would explore in M Code, not DAX.. This can be done within the GUI interface
Create copy of Table 2
Filter for Manager only
Remove duplicates on ID, if eixists. This should provide you a table of manangers, their names and ID
Go to Table 1 and merge table 2 using ID as the key/lookup value.
- nagaraj6 years agoPost Patron
Hi tctrout
Thanks for the help, was able to resolve using below
Property_Manager = CALCULATE(FIRSTNONBLANK(Table2[Name],1),
filter(all(Table2),
Table2[Type] ="Property Manager" &&
'Table1'[Id] = Table2[Id]))- Gokul_G163 years agoResolver I
- Thanks nagaraj
- That is working fine
- But have one concern while we used FIRSTNONBLANK()?
- CAN U PLZ LET US KNOW THAT
- What are the secnario we do it ?