Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
Thank you in advance.
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"))
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |