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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Syndicate_Admin
Administrator
Administrator

MIN es mayor que MAX en la columna calculada

¡Hola!
He hecho 2 columnas calculadas en "Supplier Table":

MinOD = 
CALCULATE(
    MIN(Data[Ø Ext]),
    FILTER(
        Data,
        AND( 
            AND(
                Data[HRR Supplier] = 'Supplier Table'[Supplier],
                Data[Turned Ring Supplier] = 'Supplier Table'[Turner]
            ),
            Data[Product type] = 'Supplier Table'[Product]
        )
    )
)
MaxOD = 
CALCULATE(
    MAX(Data[Ø Ext]),
    FILTER(
        (Data),
        AND( 
            AND(
                Data[HRR Supplier] = 'Supplier Table'[Supplier],
                Data[Turned Ring Supplier] = 'Supplier Table'[Turner]
            ),
            Data[Product type] = 'Supplier Table'[Product]
        )
    )
) 

Como puede ver, la única diferencia es que uno está usando MAX y el otro está usando MIN.
Sin embargo, este es el resultado que proporcionan:

einarrattgard_0-1629356740559.png

La tabla de datos tiene este aspecto

einarrattgard_2-1629357007487.png

No hay ninguna relación entre las tablas.

También he controlado que hay valores más pequeños que las funciones max y min.

Gracias

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@einarrattgard , ¿Puede comprobar el tipo de datos de Data[Ø Ext], creo que es el tipo de datos de texto. Debe ser algún tipo de datos numérico

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@einarrattgard , ¿Puede comprobar el tipo de datos de Data[Ø Ext], creo que es el tipo de datos de texto. Debe ser algún tipo de datos numérico

Tienes razón, eso fue embarrasing....

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors