cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
racostag
New Member

Valor Máximo en Columnas Calculada.

Estoy creando una columna calculada con DAX en un modelo tabular para encontrar el valor maximo en la filas 

Ejemplo:

racostag_0-1624307867908.png

Logre, encontrar el valor por columnas, pero necesito encotrar las columnas de forma dinamica, ¿alguna segerencia?

Esta es la medida de Dax, que estoy usando:

 

MAXX(
    VALUES(SaldoSafix_MoraMaxima[cedula]),
    CALCULATE(
            MAXX(
                (SaldoSafix_MoraMaxima),
                CALCULATE(
                        MAX(SaldoSafix_MoraMaxima[2021-6])
                        )
                )
            )
    )
 
racostag_1-1624308284502.png

 

Gracias

 

1 REPLY 1
amitchandak
Super User
Super User

@racostag ,based on what i got

if these are columns not rows values

 

you can get max like

max(max(max([2020-11], [2020-12]),[2021-01]), [2020-02])

 

if these are row values , you can use allexcept

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors