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

Columnas de valor de matriz Formato condicional

Hola a todos

Estoy buscando ayuda con el formato condicional; He creado una matriz de entrenamiento que requiere que la columna de estado sea naranja si se ha completado la fecha de finalización de la capacitación y la fecha de re-auditoría está en blanco, y si se rellenan tanto la fecha de finalización de capacitación como la fecha de re-auditoría, entonces el estado debe volverse verde.

Así es como se ven mis columnas en la tabla de matriz:

ArturDj_0-1626770121412.png

Gracias

1 ACCEPTED SOLUTION

Hay @ArturDj ,

pruebe la siguiente medida para dar formato.

CF =
IF (
    MIN ( 'Training Records'[DateTrainingCompleted] ) <> BLANK ()
        && MIN ( 'Audit Record'[Re Audit Date] ) = BLANK (),
    "#E66C37",
    IF (
        MIN ( 'Training Records'[DateTrainingCompleted] ) <> BLANK ()
            && MIN ( 'Audit Record'[Re Audit Date] ) <> BLANK (),
        "#00FF00",
        BLANK ()
    )
)

CF_TrainStatus.pngCF_TrainStatus2.png

View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

Hay @ArturDj ,

¿Puede proporcionar un ejemplo de PBIX?

No @mwegener,

Por favor, encuentre un archivo pbix de ejemplo: https://1drv.ms/u/s!AqpscUO4vhcRkgmpWKu5Wt-ET72b?e=zVyx33

Gracias

Hay @ArturDj ,

pruebe la siguiente medida para dar formato.

CF =
IF (
    MIN ( 'Training Records'[DateTrainingCompleted] ) <> BLANK ()
        && MIN ( 'Audit Record'[Re Audit Date] ) = BLANK (),
    "#E66C37",
    IF (
        MIN ( 'Training Records'[DateTrainingCompleted] ) <> BLANK ()
            && MIN ( 'Audit Record'[Re Audit Date] ) <> BLANK (),
        "#00FF00",
        BLANK ()
    )
)

CF_TrainStatus.pngCF_TrainStatus2.png

No @mwegener ,

¡Eso funcionó perfectamente!

Gracias

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.