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
Boveitj
Frequent Visitor

Make Items with No Lookup in Reference Table Show Up as Something Besides "(Blank)"

Hey Guys,

 

The data I am aggregating is user input so there are several errors time to time. The bigggest error is when a person inputs their badge number wrong so it does not have an appropriate lookup in the relation table to display their name on the charts. Instead of showing up as "(Blank)" on all subsequent charts, is there a way I can make all badge numbers that dont have a lookup show up as "ID Not Found".  

 

Thanks in Advance!

1 ACCEPTED SOLUTION
sumit4732
Advocate II
Advocate II

Hi @Boveitj,

 

You can alsways use ISBLANK() funtion here to catch the ecxeption, use it in if condition to get the desired result.

Some thinglike : 

IF(ISBLANK(LOOKUPVALUE( <result_columnName>, <search_columnName>, <search_value>)),"ID Not Found",LOOKUPVALUE( <result_columnName>, <search_columnName>, <search_value>))

Hope this helps

 

Regards,

Sumit

View solution in original post

1 REPLY 1
sumit4732
Advocate II
Advocate II

Hi @Boveitj,

 

You can alsways use ISBLANK() funtion here to catch the ecxeption, use it in if condition to get the desired result.

Some thinglike : 

IF(ISBLANK(LOOKUPVALUE( <result_columnName>, <search_columnName>, <search_value>)),"ID Not Found",LOOKUPVALUE( <result_columnName>, <search_columnName>, <search_value>))

Hope this helps

 

Regards,

Sumit

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.