Forum Discussion
Bilal_321321
9 years agoHelper I
VLookup help
Hi, I need some help with Power BI pro. I am trying to replicate a vlookup we used in excel which basically is this: =IFERROR(VLOOKUP(B3*1,Mapping!$P:$Q,2,FALSE),"No Group") I have been ab...
- 9 years ago
Hi Bilal_321321,
the Lookupvalue formula returns blank if it doesn't have a match in the lookup (lookpvalue formula) try changing your formula to this:
Column = SWITCH ( TRUE (), ISBLANK ( LOOKUPVALUE ( Report2[Group], Report2[GroupID], Report1[GroupID] ) ), "NoGroup", LOOKUPVALUE ( Report2[Group], Report2[GroupID], Report1[GroupID] ) )Regards,
MFelix
MFelix
9 years agoSuper User
Hi Bilal_321321,
You need to do a formula with the following sintax:
Column =
IFERROR (
LOOKUPVALUE ( Table[Result], Table[Search_Value], "Value_to_Search" ),
"No Group"
)
Regards,
MFelix