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
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
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.