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
Syndicate_Admin
Administrator
Administrator

O en una declaración IF

Hola a todos,

Tengo la necesidad de asegurarme de que el TTSCORE muestre valor en el gráfico sólo si se selecciona un valor en el filtro "Unidad" o

Predeterminado =
IF(OR((HASONEFILTER(Unit[Unit]),(HASONEFILTER(Site[Site])) ,SUM(GraphPlot[TTSCORE]), 0)
))
1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Me perdí entre paréntesis. ¿Es esto lo que intentas escribir?

Default =
IF (
    HASONEVALUE ( Unit[Unit] ) || HASONEVALUE ( Site[Site] ),
    SUM ( GraphPlot[TTSCORE] ),
    0
)

View solution in original post

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

Me perdí entre paréntesis. ¿Es esto lo que intentas escribir?

Default =
IF (
    HASONEVALUE ( Unit[Unit] ) || HASONEVALUE ( Site[Site] ),
    SUM ( GraphPlot[TTSCORE] ),
    0
)

Alexis

He ampliado aún más la medida como se indica a continuación, pero no está funcionando!

TotalScore =
IF (
HASONEFILTER ( Unidad[Unidad] ) || HASONEfilter ( Sitio[Sitio] ) || HASONEfilter ( SystemTotalScore[SYSTEM] ) || SELECTEDVALUE(System[System]) <> "Múltiples selecciones",
SUM ( SystemTotalScore[TTSCORE] ),
0
)
El filtro "sistema", he seleccionado desde la pestaña "formato" para tener el "seleccionar todo" activado, pero cuando seleccionamos varios sistemas, el gráfico necesita mostrar TTSCORE como 0 y no pude averiguarlo. ¿Ayudaste?

¡Creo que sí Alexis! usted es increíble. ¡No sabía que puedes hacerlo de esta manera!

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.