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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Si no, error de resultado

La fórmula utilizada se da en la captura de pantalla. Si longitud, anchura, altura >0 a continuación, "SI" más "No"

Els

 

sbhan4_0-1601341558350.png

 

 

 

1 ACCEPTED SOLUTION
calerof
Impactful Individual
Impactful Individual

Hola @sbhan4 ,

Prueba esto:

GPPCheck = 
SWITCH(
    TRUE(),
    SUM(GPP[Height]) <=  0 ||
    SUM(GPP[Lenght]) <= 0 ||
    SUM(GPP[Width]) <= 0,
    "No",
    "Yes"
)

gpp.png

Espero que ayude.

saludos

Fernando

Si ayudó, por favor considere gustarle la publicación y marcarla como respuesta.

View solution in original post

14 REPLIES 14
calerof
Impactful Individual
Impactful Individual

@sbhan4

¿Está utilizando Anchura o Peso?

F

Anonymous
Not applicable

@calerof ancho

calerof
Impactful Individual
Impactful Individual

@sbhan4

No está mostrando la columna Ancho en la captura de pantalla. Sería útil si comparte una muestra de sus datos.

F

Anonymous
Not applicable

@calerof plz take a look

 

sbhan4_0-1601342116140.png

 

calerof
Impactful Individual
Impactful Individual

Hola @sbhan4 ,

Prueba esto:

GPPCheck = 
SWITCH(
    TRUE(),
    SUM(GPP[Height]) <=  0 ||
    SUM(GPP[Lenght]) <= 0 ||
    SUM(GPP[Width]) <= 0,
    "No",
    "Yes"
)

gpp.png

Espero que ayude.

saludos

Fernando

Si ayudó, por favor considere gustarle la publicación y marcarla como respuesta.

Anonymous
Not applicable

@calerof Hola señor,

Probé tu solución. Todo lo que muestra "SI" solamente. Como se ve en la captura de pantalla,

si alguno de los valores de la columna es 0 o en blanco - NO

Cada columna tiene un valor >0 y, a continuación, solo Sí. puede compartir su archivo pbix.

sbhan4_2-1601586777465.png

sbhan4_1-1601585710392.png

calerof
Impactful Individual
Impactful Individual

Hola @sbhan4 ,

Lo estás haciendo de la manera opuesta, y está bien. Sólo tienes que cambiar el quirófano para AND.

Salud

Fernando

calerof
Impactful Individual
Impactful Individual

and.png

Anonymous
Not applicable

@calerof 

Hi,

 

I tried that too. The first row should be NO. Everything is coming YES. 

sbhan4_0-1601588103970.png

 

calerof
Impactful Individual
Impactful Individual

¿Cuál es su código para GGP ahora?

Anonymous
Not applicable

Hi,

 

As you can see in the screenshot, the code is the same as you told. Now I changed || to &&.

calerof
Impactful Individual
Impactful Individual

Proporcione una muestra de sus datos con su archivo pbix para ayudarle.

F

Anonymous
Not applicable

@calerof It's working now. Great help!

Anonymous
Not applicable

@calerof He actualizado la captura de pantalla con una columna de ancho. Por favor, ayúdame con eso.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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