cancel
Showing results for
Did you mean:
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

1 ACCEPTED SOLUTION
Community Support

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 ) )

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Community Support

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 ) )

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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

Announcements

#### 2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

#### Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

#### 2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors