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

matriz Visual-Totals en la izquierda

Hola a todos

Tengo un requisito para crear una matriz que muestre el total de la izquierda. Plaese se refieren a la hoja de informe simulada adjunta. He intentado todas las formas posibles, pero sin esperanza.

Alguien puede ayudarme en esto.

Gracias

NitinTotals in left.PNG

11 REPLIES 11
Icey
Community Support
Community Support

Hola @NithinShetty ,

¿La solución que proporcioné cumple con sus requisitos?

Saludos

Icey

Anonymous
Not applicable

He probado tu solución. Pero funciona bien wenver tenemos una mesaure ,En mi caso tengo 3 medidas. En matriz muestra 3 capas

Icey
Community Support
Community Support

Hola @NithinShetty ,

Si no le importa, compárme un archivo PBIX ficticio, eliminando información confidencial, y llevaré a cabo pruebas específicas para ver si se puede lograr.

Saludos

Icey

Anonymous
Not applicable

Icey
Community Support
Community Support

Hola @NithinShetty ,

Cargue el archivo en OneDrive para la Empresa y pegue el vínculo aquí.

Mejores Regadrs,

Icey

Icey
Community Support
Community Support

Hola @NithinShetty ,

Power BI no admite establecer "Total" en la izquierda actualmente.

Aquí hay una idea similar que se podría votar hacia arriba: Mover columnas Sub-Total y Total al lado izquierdo.

Una solución alternativa, puede crear sus medidas así:

1. Tabla de hechos:

table.PNG

2. Introduzca una tabla:

measuretable.jpg

3. Crear medidas.

Current Year = SUM('Table'[Value])
Last Year =
VAR ThisYear =
    MAX ( 'Table'[Year] )
RETURN
    CALCULATE ( SUM ( 'Table'[Value] ), 'Table'[Year] = ThisYear - 1 )
Measure = 
VAR ThisYear =
    IF (
        MAX ( 'Year & Measure'[Year] ) <> "All Years",
        VALUE ( MAX ( 'Year & Measure'[Year] ) )
    )
RETURN
    SWITCH (
        TRUE (),
        MAX ( 'Year & Measure'[Year] ) = "All Years"
            && MAX ( 'Year & Measure'[MeasureName] ) = "Current Year", [Current Year],
        MAX ( 'Year & Measure'[Year] ) = "All Years"
            && MAX ( 'Year & Measure'[MeasureName] ) = "Last Year", [Last Year],
        VALUE ( MAX ( 'Year & Measure'[Year] ) ) IN VALUES ( 'Table'[Year] )
            && MAX ( 'Year & Measure'[MeasureName] ) = "Current Year", CALCULATE ( [Current Year], 'Table'[Year] = ThisYear ),
        VALUE ( MAX ( 'Year & Measure'[Year] ) ) IN VALUES ( 'Table'[Year] )
            && MAX ( 'Year & Measure'[MeasureName] ) = "Last Year", CALCULATE ( [Last Year], 'Table'[Year] = ThisYear )
    )

4. Cree un objeto visual Matrix.

left.PNG

Para obtener más información, compruebe el archivo PBIX adjunto.

Saludos

Icey

Si este post ayuda,entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

parry2k
Super User
Super User

@NithinShetty usted debe capaz de lograr siguiendo:

- Añadir la primera columna en las filas

- añadir columna de divison en las columnas

- suponiendo que tenga dos medidas, una para el año en curso y otra para el año anterior, añada estas dos medidas sobre el valor



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

No tengo primera columna. Los totales renombrados como Total de la Compañía. Instado de conseguir totales en el extremo derecho lo necesito en la izquierda

@NithinShetty no está seguro de lo que quiere decir con que no tiene primeras columnas, lo que BU Nivel1 , Nivel 2 , Nivel 3. de dónde vienen estos valores?

Lea este post para obtener su respuesta rápidamente.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



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

He hecho lo mismo que usted mencionó, pero los totales no están llegando en el comienzo de su llegada en el extremo derecho de la imagen

@NithinShetty hmmm, veo que quieres totalizar como el primer set, no estoy seguro de si hay fuera de la manera de hacer eso. Los totales de columna siempre están al final. Creo que debe agregar idea en el foro de ideas para permitir cambiar el total de la columna en el frente o al final.

Me ❤ Kudos 🙂 si mi solución me ayudara. ?



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.

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.