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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Crear una tabla de matriz personalizada basada en otra tabla de matriz

Hola

He creado una tabla de matriz como esta:

22222.png

Ahora, me gustaría usar los valores y aplicar una fórmula. A continuación, visualice esto en otra tabla de matriz con el mismo nombre de columna y nombre de fila. Por ejemplo (primera fila, dos fechas primeras): (36*100/323) - 100 a -88,9 % y así sucesivamente...

Mi pregunta es, ¿cómo puedo usar el valor de la tabla y aplicar la fórmula. A continuación, mostrar el resultado en otra tabla?

6 REPLIES 6
Anonymous
Not applicable

Hola @cnat ,

¿La última respuesta resolvió su problema? Por favor considere marcar la respuesta como solución si funciona.

Saludos

Jay

v-easonf-msft
Community Support
Community Support

Hola , @cnat

También puede crear una columna calculada. Algo así:

pbix unido

Value3 =
VAR val =
    SUM ( 'Table'[Value] )
VAR Next_value =
    CALCULATE (
        MAX ( 'Table'[Value] ),
        'Table',
        'Table'[Category] = EARLIER ( 'Table'[Category] ),
        'Table'[Date]
            = EARLIER ( 'Table'[Date] ) + 1
    )
RETURN
    Next_value * 100 / 'Table'[Value] - 100

62.png

Saludos
Equipo de Apoyo Comunitario _ Eason
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.

v-easonf-msft
Community Support
Community Support

Hola , @cnat

También puede crear una columna calculada. Algo así:

pbix unido

Value3 =
VAR val =
    SUM ( 'Table'[Value] )
VAR Next_value =
    CALCULATE (
        MAX ( 'Table'[Value] ),
        'Table',
        'Table'[Category] = EARLIER ( 'Table'[Category] ),
        'Table'[Date]
            = EARLIER ( 'Table'[Date] ) + 1
    )
RETURN
    Next_value * 100 / 'Table'[Value] - 100

62.png

Saludos
Equipo de Apoyo Comunitario _ Eason
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.

v-easonf-msft
Community Support
Community Support

Hola , @cnat

También puede crear una columna calculada. Algo así:

pbix unido

Value3 =
VAR val =
    SUM ( 'Table'[Value] )
VAR Next_value =
    CALCULATE (
        MAX ( 'Table'[Value] ),
        'Table',
        'Table'[Category] = EARLIER ( 'Table'[Category] ),
        'Table'[Date]
            = EARLIER ( 'Table'[Date] ) + 1
    )
RETURN
    Next_value * 100 / 'Table'[Value] - 100

62.png

Saludos
Equipo de Apoyo Comunitario _ Eason
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.

mwegener
Most Valuable Professional
Most Valuable Professional

Hola @cnat ,

El poste es doble.
Por favor, miren esto.

https://community.powerbi.com/t5/Desktop/Create-customised-matrix-table-based-on-another-matrix-tabl...

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


mwegener
Most Valuable Professional
Most Valuable Professional

Hola @cnat ,

Tienes que escribir la fórmula como una medida DAX. Algo así...

MyCalc =
VAR _DAY =
    SUM ( Table[Value] )
VAR _PREV_DAY =
    CALCULATE ( SUM ( Table[Value] ), DATEADD ( 'Date'[Date], -1, DAY ) )
RETURN
    DIVIDE ( _DAY * 100, _PREV_DAY ) - 100

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors
Top Kudoed Authors