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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
v-yiruan-msft
Community Support
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
)
)

yingyinr_0-1652169336936.png

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.

View solution in original post

2 REPLIES 2
v-yiruan-msft
Community Support
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
)
)

yingyinr_0-1652169336936.png

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.
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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors