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
gmq
Frequent Visitor

Matriz personalizada - utilizando columnas y/o medidas calculadas

Por alguna razón mi post anterior se eliminó...

De todos modos

He estado trabajando con algunos datos y finalmente encontrar una manera de poner en marcha las medidas, mis objetos visuales se ven bien, pero no puedo crear esta matriz de resumen comparando diferentes medidas en la misma columna

Tengo los datos iniciales, Escenario A (calculado dentro de PowerBI) y escenario B (Uso del parámetro what if)

Estoy buscando crear una matriz como esta, sin embargo los ingresos brutos de datos iniciales son una medida/columna, escenario Un ingreso bruto es otra medida/columna y el escenario B es otra medida (no hay columna aquí ya que se hizo usando lo que parámetro)

Ingresos brutosIngresos netosMargen brutoMargen bruto %GR DiffNR Diff$ GM Diff% GR Ser% NR Var% GM Var
Datos iniciales 9,700,000 9,000,000 3,000,00033%
Escenario A 10,670,000 9,970,000 3,970,00040% 970,000 970,000 970,00010.0%10.8%32.3%
Escenario B 11,155,000 10,455,000 4,455,00043% 1,455,000 1,455,000 1,455,00015.0%16.2%48.5%

Espero im ser lo suficientemente claro, la verdad se dice que ni siquiera sé si puedo crear esto en power bi y tal vez debería seguir exportando y trabajando en excel...

No he usado DAX mucho, así que ten paciencia conmigo en este...

gracias de antemano!

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hola @gmq,

¿Puede compartir algunos datos ficticios con la estructura de la tabla sin procesar y los resultados esperados para ayudarnos a aclarar su escenario y probar la fórmula de codificación?

Cómo obtener respuestas a su pregunta rápidamente

saludos

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
AllisonKennedy
Super User
Super User

@gmq Creo que puede estar buscando mostrar los valores en filas - Seleccione la matriz, haga clic en el icono de rodillo de pintura para dar formato al objeto visual, expanda Valores > gire Mostrar filas en activado.


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

amitchandak
Super User
Super User

@gmq , para mí me parece que tiene una medida que necesita ser dividida en la fila y la columna.

No estoy seguro de lasmedes y los datos.

Refiera este ejemplo

sindicato(
resume("Measure","Share of Voice", "YTD",[Share of Voice YTD], "LYTD",[Share of Voice LYTD], "Change %",[Share of Voice %]),
resume("Measure","SOV Rank", "YTD",[SOV Rank YTD], "LYTD",[SOV Rank LYTD], "Change %",[SOV Rank %])
)

meausres son Compartir de Voz YTD, Compartir de Voz LYTD, SOV Rango YTD y SOV Rango LYTD se ha convertido en fila y columna

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.

Top Kudoed Authors