Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.