Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Buenas, estoy haciendo un dashboard con data abierta de Bullying en el Perú y quiero hacer un top 10 de los subtipos de violencia, cabe recalcar que son datos tipo string, y utlice este dax :
Solved! Go to Solution.
El TOPN está cambiando el contexto del ajustador para anular la línea, pruébelo con un KEEPFILTERS.
Top10 =
CALCULATE (
[Subtypes],
KEEPFILTERS (
TOPN ( 10, ALL ( 'DM Facts'[SUBTIPO_VIOLENCIA] ), [Subtypes], DESC )
)
)
Hola
Comparta el enlace de descarga del archivo PBI.
No sabia que tenia que compartir el enlace de descarga.
El TOPN está cambiando el contexto del ajustador para anular la línea, pruébelo con un KEEPFILTERS.
Top10 =
CALCULATE (
[Subtypes],
KEEPFILTERS (
TOPN ( 10, ALL ( 'DM Facts'[SUBTIPO_VIOLENCIA] ), [Subtypes], DESC )
)
)
Efectivamente este es la solución, muchas gracias.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.