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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.

Top Solution Authors
Top Kudoed Authors