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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.