Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Leo_5117
Regular Visitor

IFERROR CAN'T RETURN NULL as Text

Dear all

 

I use IFERROR to get sheet1 value from foglio1, but there are some data can't be queried.

So I use this 

Chinese Description = IFERROR(LOOKUPVALUE(foglio1[Chinese Description],foglio1[物料],Sheet1[物料]),"null")

 

But Power BI just return blank without "null" as follow you see:

001.PNG

 

And it missing blank line within PowerBI report like this:

002.PNG

 

Please help me to slove it,thank you very much!!!

 

1 ACCEPTED SOLUTION
Hoangechip910
Frequent Visitor

Hi

LOOKUPVALUE function have parameter of AlternateResult when result return to error, not need to use IFERROR

 

Chinese Description = LOOKUPVALUE(foglio1[Chinese Description],foglio1[物料],Sheet1[物料],"null")

View solution in original post

2 REPLIES 2
Leo_5117
Regular Visitor

Thanks you very much! This is good way to solve it!😀

Hoangechip910
Frequent Visitor

Hi

LOOKUPVALUE function have parameter of AlternateResult when result return to error, not need to use IFERROR

 

Chinese Description = LOOKUPVALUE(foglio1[Chinese Description],foglio1[物料],Sheet1[物料],"null")

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.