Forum Discussion
bharka
8 years agoRegular Visitor
lookupvalue filtering 2 columns
Hi, sorry if this problem was already solved here, i was trying to find it but none of the solutions i found helped (but i'm a beginner). I have two tables: i need to get the pass...
- 8 years ago
Try this
coef = CALCULATE ( FIRSTNONBLANK ( Table2[Coef], 1 ), FILTER ( Table2, Table2[group1] = Table1[group1] && Table2[group2] = Table1[group2] ) )
bharka
8 years agoRegular Visitor
it works, thank you Zubair_Muhammad!
Zubair_Muhammad
8 years agoCommunity Champion
LookupValue should also work. Try this
coef =
LOOKUPVALUE (
Table2[coef],
Table2[group1], Table1[group1],
Table2[group2], Table1[group2]
)