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
Anonymous
Not applicable

Cómo generar series basadas en valores de medida

Hola

He creado una medida y me gustaría crear un parámetro what-if basado en los valores de "delai".

¿Cómo puedo generar series en función de los valores calculados por mi medida?

achhay_1-1600262549067.png

aquí, mi rango de medida está entre -59 y 273. Pero, esa medida se actualiza todos los días por lo que el rango podría cambiar (por ejemplo, -70 a 300)

Gracias por su ayuda,

Otro

1 ACCEPTED SOLUTION

Hola @achhay ,

Por favor, pruebe la tabla calculada a continuación:

Range Table =
GENERATESERIES (
    MINX (
        SUMMARIZE ( 'Table', 'Table'[Column], "_measure", [measure] ),
        [_measure]
    ),
    MAXX (
        SUMMARIZE ( 'Table', 'Table'[Column], "_measure", [measure] ),
        [_measure]
    )
)

Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

Saludos

Dedmon Dai

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@achhay, pude crear una nueva tabla basada en otra tabla

Table = GENERATESERIES(min(Customer[Age]) ,max(Customer[Age]))
Anonymous
Not applicable

@amitchandak no funciona porque mis valores provienen de una medida. No es un valor de una tabla.

CNENFRNL
Community Champion
Community Champion

@achhay Puesto que ya tiene un rango definitivo, ¿por qué no generar una serie directamente?

Range Table = GENERATESERIES( -70, 300 )

Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Anonymous
Not applicable

Hola @CNENFRNL ,

Me gustaría generar una tabla dinámicamente.

Hola @achhay ,

Por favor, pruebe la tabla calculada a continuación:

Range Table =
GENERATESERIES (
    MINX (
        SUMMARIZE ( 'Table', 'Table'[Column], "_measure", [measure] ),
        [_measure]
    ),
    MAXX (
        SUMMARIZE ( 'Table', 'Table'[Column], "_measure", [measure] ),
        [_measure]
    )
)

Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

Saludos

Dedmon Dai

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.