Forum Discussion
help regards to Lookup
- 6 years ago
Hi,
This calculated column formula in Table2 works
=LOOKUPVALUE(Table1[Dept],Table1[Month],Table2[Month],Table1[Email ID],Table2[Email ID])Hope this helps.
- 6 years ago
Hi Anonymous ,
We can also create calculated colmun use following formula if there are multi matched Dept Values in Table1
Dept = VAR emp = [Emp] VAR month = [Month] VAR t = FILTER ( 'Table1', 'Table1'[Email Id] = emp && 'Table1'[Month] = month ) RETURN MAXX ( t, [Dept] )
BTW, pbix as attached.Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is in my file.
Max Sales order id = Maxx(filter(sales,Sales[item_id]='Item'[Item ID]),Sales[Order Id])
created a new one as Column not measure
Could you pls attach .. I was creatig Column..
- v-lid-msft6 years agoCommunity Support
Hi Anonymous ,
We can also create calculated colmun use following formula if there are multi matched Dept Values in Table1
Dept = VAR emp = [Emp] VAR month = [Month] VAR t = FILTER ( 'Table1', 'Table1'[Email Id] = emp && 'Table1'[Month] = month ) RETURN MAXX ( t, [Dept] )
BTW, pbix as attached.Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- Anonymous6 years agoNot applicable
Thanks it works for me