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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
k1ko92
Regular Visitor

IF(AND) CONDITICION

Hi all,

 

Someone can help me to improve this IF(AND) ?

 

My formula is considering BLANK() as a 0, when I have BLANK() on column Cumplimiento should return 0.

Column Eval Pendiente = Text

Column Cumplimiento = Number

Column Pontuacion = Number

 

k1ko92_2-1651765451559.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @k1ko92 ,

You can change the formula of your calculated column [Pontuacion Disponible] as below, the part with red font is updated ones....

Pontuacion Disponible =
IF (
ISBLANK ( 'UNPIVOT KPI'[Cumplimiento] ),
0,
IF (
AND ( 'UNPIVOT KPI'[Eval Pendiente] <> "", 'UNPIVOT KPI'[Cumplimiento] = 0 ),
'UNPIVOT KPI'[Pontuacion] * 1,
0
)
)

yingyinr_0-1652169336936.png

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @k1ko92 ,

You can change the formula of your calculated column [Pontuacion Disponible] as below, the part with red font is updated ones....

Pontuacion Disponible =
IF (
ISBLANK ( 'UNPIVOT KPI'[Cumplimiento] ),
0,
IF (
AND ( 'UNPIVOT KPI'[Eval Pendiente] <> "", 'UNPIVOT KPI'[Cumplimiento] = 0 ),
'UNPIVOT KPI'[Pontuacion] * 1,
0
)
)

yingyinr_0-1652169336936.png

Best Regards

SpartaBI
Community Champion
Community Champion

Hey, not sure exactly what you are trying to do but maybe this will help. These are the rules:
" " = BLANK ()  => TRUE
" " == BLANK ()  => FALSE
0 = BLANK ()  => TRUE
0 == BLANK ()  => FALSE

In case it answered your question please mark this as a solution for community visibility. Appreciate Your Kudos 🙂


Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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