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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Uzi2019
Super User
Super User

convertir medida a columna que tengo que utilizar en el gráfico circular

Hola expertos,

Tengo medida que muestra el top 10 ciudad n 11o como otro valor. Quiero mostrar en el gráfico circular, pero no puedo mostrar porque la medida no se puede agregar en el campo "Leyenda" del gráfico circular. Por favor, ayúdame a resolver este problema. He creado una columna pero no muestra el resultado correcto.

Capture.PNG

La respuesta real debe ser esta. He tomado medida porque la medida muestra el valor correcto.. pero la misma fórmula no funciona para la columna calculada.

Capture.PNG

por favor ayúdeme a crear la columna correcta que muestra el resultado anterior. Gracias de antemano.

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hola

Creo que esto funcionará para usted:

legend = var a = RANKX(Facebook, CALCULATE(SUM(Facebook[Impressions]), ALLEXCEPT(Facebook, Facebook[Region])),,DESC,Dense)
return 
if(a >= 11 , "others", Facebook[Region])

¡Avísame si necesitas ayuda!

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hola

Creo que esto funcionará para usted:

legend = var a = RANKX(Facebook, CALCULATE(SUM(Facebook[Impressions]), ALLEXCEPT(Facebook, Facebook[Region])),,DESC,Dense)
return 
if(a >= 11 , "others", Facebook[Region])

¡Avísame si necesitas ayuda!

@Jef

Muchas gracias... Resolvió mi problema...

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
Uzi2019
Super User
Super User

Hola

Para la refrencia estoy attcahing enlace del archivo Pbix.

¿Quieres mostrar el gráfico circular de la parte superior 10 ciudad + 11o como otros valores...

gracias de antemano

https://drive.google.com/file/d/1nNSktMkDxrgLyyz0fZCnZwJxjOgyPrTw/view?usp=sharing

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors