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
Gazsim44
Helper III
Helper III

Eliminar rango de la mesa

Hola a todos

Estoy luchando para eliminar un número de rango del total en una mesa. He hecho esto anteriormente en otras tablas usando HASONEVALUE pero no sé cómo, si es posible incorporar esto en esta medida.

Rank (Var to Prior Year) = 
IF(
    NOT( ISBLANK ([Var. to Prior Year EUR])),
    RANKX(
        FILTER(ALLSELECTED('PL Data'[Branch]), NOT( ISBLANK( [Var. to Prior Year EUR]))),
        [Var. to Prior Year EUR]
    )
)

Muchas gracias por cualquier ayuda,

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hola @Gazsim44

Prueba esto,

Rank (Var to Prior Year) =
IF (
    HASONEVALUE ( 'PL Data'[Branch] ),
    RANKX (
        FILTER (
            ALLSELECTED ( 'PL Data'[Branch] ),
            NOT ( ISBLANK ( [Var. to Prior Year EUR] ) )
        ),
        [Var. to Prior Year EUR]
    )
)

Saludos
Mariusz

Si este post ayuda, entonces considere aceptarlo como la solución.

Por favor, siéntase libre de conectarse conmigo.
Linkedin

View solution in original post

2 REPLIES 2
Mariusz
Community Champion
Community Champion

Hola @Gazsim44

Prueba esto,

Rank (Var to Prior Year) =
IF (
    HASONEVALUE ( 'PL Data'[Branch] ),
    RANKX (
        FILTER (
            ALLSELECTED ( 'PL Data'[Branch] ),
            NOT ( ISBLANK ( [Var. to Prior Year EUR] ) )
        ),
        [Var. to Prior Year EUR]
    )
)

Saludos
Mariusz

Si este post ayuda, entonces considere aceptarlo como la solución.

Por favor, siéntase libre de conectarse conmigo.
Linkedin

Muchas gracias @Mariusz que funciona perfectamente!

Todo lo mejor

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.