cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

## Analisis comparativo

Hola,

Tengo una consulta sobre como generar un analisis de comparacion.

Se tiene una tabla resumen donde se obtiene los numeros de produccion de cierto material, y se quiere comparar con el total de estimacion que nace de un resumen de otra tabla.

De la tabla grande, estan todos los detalles de produccion que se quiere comparar con el total de estimación.

¿Como se puede realizar?

Modelo

EstimacionesEjemplo

1 ACCEPTED SOLUTION
Community Support

Hi, @Gipardos

Based your information, I create a table

Create two measures, you can try these DAX:

``Difference = CALCULATE(SUM('Table'[Real])-SUM('Table'[Estimate]),'Table'[Region]='Table'[Region] )``
``Difference total = CALCULATE(SUM('Table'[Estimate total]) - SUM('Table'[Real]),'Table'[Region]='Table'[Region])``

Put them in the table view, here is my preview:

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data)

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

2 REPLIES 2
Frequent Visitor

Thank you,

Community Support

Hi, @Gipardos

Based your information, I create a table

Create two measures, you can try these DAX:

``Difference = CALCULATE(SUM('Table'[Real])-SUM('Table'[Estimate]),'Table'[Region]='Table'[Region] )``
``Difference total = CALCULATE(SUM('Table'[Estimate total]) - SUM('Table'[Real]),'Table'[Region]='Table'[Region])``

Put them in the table view, here is my preview:

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data)

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

#### Fabric Community Update - August 2024

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

Top Solution Authors
Top Kudoed Authors