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
Anonymous
Not applicable

Mostrar porcentaje en una matriz con 2 niveles

Queridos todos,

He comprobado una solución a mi problema en todos los mensajes, pero no lo encontré. Espero que alguien pueda ayudarme.

Tengo este tipo de tabla:

CódigoMes
MercadoReglas
T1EneroAlemaniaSeguir las reglas
T2EneroItaliaNo sigas las reglas
T3EneroAlemaniaSeguir las reglas
T4EneroAlemaniaNo sigas las reglas
T5EneroItaliaNo sigas las reglas
T6EneroItaliaSeguir las reglas
T7FebreroAlemaniaSeguir las reglas
T8FebreroAlemaniaNo sigas las reglas
T9FebreroItaliaSeguir las reglas
T10FebreroItaliaNo sigas las reglas

Por supuesto, mi mesa tiene miles de líneas y cientos de Market. Quiero mostrar una matriz con los porcentajes para cada Mercado (y no el total de la columna) como a continuación:

EneroFebrero
Alemania100%100%
- Seguir las reglas67%50%
- No sigas las reglas33%50%

Italia

100%100%
- Seguir las reglas33%50%
- No sigas las reglas67%

50%

He creado una matriz con estas informaciones:

Filas:

- Mercado

- Reglas

Columnas:

- Mes

Valores:

- Recuento de "Reglas" y Muestra valores como Porcentaje del total de la columna

Pero muestra el porcentaje de toda la columna, que no es lo que quiero ya que tengo cientos de mercados...

¿Puedes ayudarme por favor?

Muchas gracias por su ayuda

Isabelle

4 REPLIES 4
parry2k
Super User
Super User

@mystarc aquí están las medidas

c = COUNTROWS ( Table )

% = DIVIDE( [c], CALCULATE ( [c], ALL ( Table[Rules] ) ))

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionados con Power BI.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Estimado @parry2k

Muchas gracias por su respuesta súper rápida. Funciona !!! Entiendo conocer las medidas...

Sólo tengo un problema, muestra "0.13" en lugar de "13%". He comprobado en la parte "Formato de campo"/"Unidad de visualización", pero sólo permite "Miles, Millones, ...". ¿Sabe cómo mostrarlos como porcentajes "reales"?

Muchas gracias y saludos

Isabelle

@mystarc la medida/columna que usó para mostrar valores, cuál es el formato de esa medida, si es %, se mostrará en %, y puede cambiar el formato de columna/medida seleccionándolo en el panel de campo, en el lado derecho y cambiar el formato en las herramientas de medida/columna en el menú.

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionados con Power BI.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Estimado @parry2k

¡Muchas gracias! De hecho, he utilizado otra medida para poner el formato correcto:

Medida: FORMAT([measure-percent],"-%")

Muchas gracias por toda su ayuda en este tema !

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.