cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

Tarjeta KPI: desea que muestre el valor actual del trimestre, en lugar de Mes.

Hola a todos,

Me gustaría que la tarjeta KPI muestre el valor trimestral más actual. Aquí (ver captura de pantalla adjunta) mi tarjeta KPI muestra el valor del mes más actual, ¿cómo puedo hacer que muestre el valor trimestral más actual en su lugar? Imagino que tendré que escribir un cálculo de DAX, pero no sé cómo. Si alguien pudiera enseñarme y ayudarme, ¡lo agradecería mucho!

850 = 
IF(
    ISBLANK(
        SUM(Retailer_Compliance[VOL_850])
    ),
    0,
    SUM(Retailer_Compliance[VOL_850]
    )
)

855 = 
IF(
    ISBLANK(
        SUM(Retailer_Compliance[VOL_855])
    ),
    0,
    SUM(Retailer_Compliance[VOL_855]
    )
)
855_TO_850 = 
IFERROR(
    [855] / [850],
    0
)

mhsieh_1-1660240443240.png

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Hola a todos,

Pude resolverlo yo mismo calculando el 850_QTD, 855_QTD, 855_TO_850_QTD

850_QTD = 
CALCULATE(
    [850],
    DATESQTD(
        'Calendar Lookup'[Start of Month]
    )
)
855_QTD = 
CALCULATE(
    [855],
    DATESQTD(
        'Calendar Lookup'[Start of Month]
    )
)
855_TO_850_QTD = 
IFERROR(
    [855_QTD] / [850_QTD],
    0
)



View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

Hola a todos,

Pude resolverlo yo mismo calculando el 850_QTD, 855_QTD, 855_TO_850_QTD

850_QTD = 
CALCULATE(
    [850],
    DATESQTD(
        'Calendar Lookup'[Start of Month]
    )
)
855_QTD = 
CALCULATE(
    [855],
    DATESQTD(
        'Calendar Lookup'[Start of Month]
    )
)
855_TO_850_QTD = 
IFERROR(
    [855_QTD] / [850_QTD],
    0
)



Helpful resources

Announcements
Power BI Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

Ted's Dev Camp - October 6, 2022

Watch the playback of Session 26 with Ted Pattison!

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Ignite 2022

What's Next at Microsoft Ignite 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.