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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
olivkalivka
Regular Visitor

How to create formula IF with ISBLANC and LOOKUP

Hi,

 

Is it possible to create below formula in PBI?

 

=IF(OR(G8="A";G8="B");IF(ISBLANK(T8);"C";"D");VLOOKUP(G8;Matrix!A:B;2;0))

 

Thanks in advance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @olivkalivka,

 

If you formula not contains any function who request value from specific cell, I think it is possible.

 

Calculate column formula:

LookUP =
IF (
    OR ( Table[G] = "A"; Table[G] = "B" );
    IF ( Table[T] = BLANK() ; "C"; "D" );
    LOOKUPVALUE ( Matrix[B]; Matrix[A]; Table[G] )
)

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @olivkalivka,

 

If you formula not contains any function who request value from specific cell, I think it is possible.

 

Calculate column formula:

LookUP =
IF (
    OR ( Table[G] = "A"; Table[G] = "B" );
    IF ( Table[T] = BLANK() ; "C"; "D" );
    LOOKUPVALUE ( Matrix[B]; Matrix[A]; Table[G] )
)

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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