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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AllanBerces
Post Prodigy
Post Prodigy

Lookupvalue with if

Hi Good day

Can anyone help me to change the blank to "Injected" from a lookupvalue column.

 

AllanBerces_0-1719384944604.png

AllanBerces_1-1719384966675.png

Thank you

 

2 ACCEPTED SOLUTIONS
qwasze
New Member

Hi allan,

 

You might want to do:

=IF(
ISBLANK(
LOOKUPVALUE(Sign_OFF[SIGN OFF], Sign_OFF[Job Card], 'BSP TA'[Job Card])
),
"Injected",
LOOKUPVALUE(Sign_OFF[SIGN OFF], Sign_OFF[Job Card], 'BSP TA'[Job Card])
)

View solution in original post

rajendraongole1
Super User
Super User

Hi @AllanBerces - you can try the below function suggested by @qwasze .adding one more another approach with variable: Try below calculated column

 

Base_Scope =
VAR lookupResult = LOOKUPVALUE(sign_off[sign off], sign_off[Job Card], 'BSA TA'[Job card])
RETURN IF(ISBLANK(lookupResult), "Injected", lookupResult)

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
rajendraongole1
Super User
Super User

Hi @AllanBerces - you can try the below function suggested by @qwasze .adding one more another approach with variable: Try below calculated column

 

Base_Scope =
VAR lookupResult = LOOKUPVALUE(sign_off[sign off], sign_off[Job Card], 'BSA TA'[Job card])
RETURN IF(ISBLANK(lookupResult), "Injected", lookupResult)

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





qwasze
New Member

Hi allan,

 

You might want to do:

=IF(
ISBLANK(
LOOKUPVALUE(Sign_OFF[SIGN OFF], Sign_OFF[Job Card], 'BSP TA'[Job Card])
),
"Injected",
LOOKUPVALUE(Sign_OFF[SIGN OFF], Sign_OFF[Job Card], 'BSP TA'[Job Card])
)

Hi @qwasze @rajendraongole1 thank you very much, you save my day.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.