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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors