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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Filtrar el nivel superior de la matriz por valor

Tengo una matriz con n nivel de jerarquía.
El nivel superior puede ser de tipos 'característica' o 'corrección de errores', con niveles inferiores, subtareas, etc.
Quiero filtrar la matriz por nivel superior para que solo muestre las características o las correcciones de errores y sus subtareas.

Pero el uso de slicer (type='feature') oculta todas las filas de subnivel.

Estas son algunas de las cosas que he probado sin éxito.

Top check = 
INT(
    CALCULATE(
        MAX(mytable[type]),
        REMOVEFILTERS(mytable)) = "feature"
)

Top Level = IF(ISINSCOPE('mytable'[Level1]) , SUM('mytable'[value]), BLANK())

Top pick = 
IF(
    ISINSCOPE('mytable'[Level1]) && NOT(ISINSCOPE('mytable'[Level2])) && NOT(ISINSCOPE('mytable'[Level3])),
    IF(
        NOT([this_type] = "feature"),
        BLANK(),
        [this_type]
    ),
    [this_type]
)

Cualquier ayuda será muy apreciada. Gracias.

0 REPLIES 0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors
Top Kudoed Authors