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.
Hola a todos, he creado una matriz de la siguiente manera, que muestra una lista de los 25 mejores empleados por horas. He utilizado el filtro n superior para filtrar los datos por horas. Lo que me gustaría hacer es crear una tarjeta de esta lista y mostrar sólo el valor superior según abajo debe ser 159,2 en mi tablero. He intentado muchas maneras diferentes utilizando la función max, pero me da resultados extraños. Las horas se suturan por mes por la matriz. Cualquier ayuda sería apreciada. Gracias
Compañía X | Departamento A | Número de empleado | Julio | Agosto | Total |
COMP A | DEPARTAMENTO A | 1234 | 1280 | 31,2 | 159,2 |
5678 | 79,2 | 51,4 | 130,7 | ||
9101 | 72,8 | 51,5 | 124,3 |
Solved! Go to Solution.
Hola
Esto es sólo un golpe y un juicio. Prueba esta medida
•MAXX(VALUES(Datos[Número de empleado]),[Sumas])
Espero que esto ayude.
Jin
Comparte el enlace desde donde puedo descargar tu archivo PBI.
Disculpas, pero no se me permite compartir la información
Hola
Esto es sólo un golpe y un juicio. Prueba esta medida
•MAXX(VALUES(Datos[Número de empleado]),[Sumas])
Espero que esto ayude.
¡Tan simple gracias! ¡Esto funcionó para mí!
De nada.
Puede codificar datos en el archivo PBI y luego compartir el enlace de descarga.
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
La medida que utilizo para los valores de las columnas es
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
@Bradley , La información no es suficiente. Pero puedes usar Rank y TOPN o Ambos juntos
Ejemplo
Rango de ciudad e ID: RANKX(all(Geography[City],Geography[City Id]),[Sales]) // Filtro 25. Puede utilizar sólo una columna en total, estoy dando un ejemplo de 2 porque su matriz muestra 2 columna s
Top 25 Rango de ciudad : CALCULATE([Sales],TOPN(25,all(Geography[City]),[Sales],DESC),VALUES(Geography[City Id])) // 25 record se filtran
Diferente ejemplo //Top2 es el nombre de la tabla
Top Rank á rankx(ALL(Top2),[PO],,DESC,Dense) + RAND()/1000 // Rank se crea en la medida PO + rand para aviod overlap
Top 25 Rango de la tienda - CALCULATE([PO],TOPN(25,all(Top2),[Top2 Rank],ASC),VALUES(Top2)) // Rank has been filtered , grouped on table
Para rango Consulte estos enlaces
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/3...
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |