cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Alternative of IFNA excel function in Power BI

Hi there!

 

I have an excel report which I want to build in Power BI. In excel, I have applied this formula 


=IF(A2="C","Client",IFNA(VLOOKUP(B2,$E$3:$F$15,2,0),"Internal"))

 

in one column. I want to replicate same in Power BI in new calculated column, but since IFNA function is not available in Power BI got no success.

 

Here is the snipnet of excel table

Excel snip.PNG

 

Thank you in advance.

 

 

1 REPLY 1
shomnikoff
Regular Visitor

Hey there,

Alternative for the IFNA function is IFERROR(). 

So the formula would look like this I assume =IF('Table1'[JOBIND]="C","Client",IFERROR(LOOKUPVALUE('Table2'[F],'Table2'[E],'Table1'[Personal]),"Internal"))

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!