The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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?
Solved! Go to Solution.
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:
How to Get Your Question Answered Quickly
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.
Thank you,
Your help helped me
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:
How to Get Your Question Answered Quickly
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
79 | |
70 | |
48 | |
41 |
User | Count |
---|---|
139 | |
112 | |
72 | |
64 | |
62 |