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
berkbulten
Regular Visitor

Valor de KPI como valor final en lugar de ponderado

Queridos todos,

En Visualización de KPI, muestra el valor del mes pasado en lugar de YTD. Estoy usando variable para calcular el valor y cuando voy a "Mostrar como una tabla" Veo que el valor se calcula correctamente. El único problema es que KPI está mostrando el valor más reciente en lugar del valor ponderado.

Gracias por su apoyo de antemano.

1 ACCEPTED SOLUTION

@berkbulten

En la tabla de fechas, ¿tiene una columna para [Año]? Si no es así, cree uno y colóquelo en Trend en el objeto visual en lugar de [Date] y esto debería corregir su KPI.

Aquí está la información en la tabla de fechas si no tienes Año en el tuyo ya:

https://excelwithallison.blogspot.com/2020/04/dimdate-what-why-and-how.html


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

8 REPLIES 8
AllisonKennedy
Super User
Super User

@berkbulten ¿Qué quieres decir con valor "ponderado"? ¿Puede proporcionar las fórmulas, columnas y medidas que está utilizando en el KPI y también qué relaciones existen entre las tablas (supongo que tiene 'mes' en la 'tendencia'?


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Gracias Allison por su tiempo!

Aquí los detalles; como se puede ver en el siguiente, muestra el último mes en lugar del valor YTD.

Variable:

berkbulten_3-1608712205456.png

Kpi

berkbulten_0-1608712114714.png

berkbulten_1-1608712141645.png

berkbulten_2-1608712158668.png

@berkbulten Si quieres YTD tendrás que poner Date[Year] en la tendencia en lugar de [Date]. KPI integrado en visual no es muy intuitivo. Un objeto visual de guage puede ser otra alternativa si estás buscando progreso hacia un objetivo de YTD. El objeto visual KPI siempre muestra el valor del último período en función de lo que se pone en 'tendencia'.

Además, ¿no está seguro de lo que el 6.72 se refiere a como los encabezados de columna se cortan en su captura de pantalla?


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Lo siento, no entendía lo que quieres decir.

Mi propósito es mostrar (Ventas de todo el año / Todo el año Qty). Cuando elijo la tarjeta en lugar de KPI, funciona. Pero cuando elijo KPI, muestra el valor final.

berkbulten_0-1608722762203.png

berkbulten_2-1608722807428.png

@berkbulten

En la tabla de fechas, ¿tiene una columna para [Año]? Si no es así, cree uno y colóquelo en Trend en el objeto visual en lugar de [Date] y esto debería corregir su KPI.

Aquí está la información en la tabla de fechas si no tienes Año en el tuyo ya:

https://excelwithallison.blogspot.com/2020/04/dimdate-what-why-and-how.html


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

@AllisonKennedy, ¡eres el mejor! Muchas gracias que funciona cuando uso el año de la fecha en Tendencia.

@amitchandak,gracias también!

@berkbulten usted es bienvenido. Me llevó años averiguar cómo usar correctamente el objeto visual KPI. 🙂


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

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.