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.
Necesito ayuda con las formulas DAX para cálcular la tercera columna. La primera fila es el cálculo de 100/300 (300 es la suma de proyectos tipo A).....parece simple pero no me resulta con distintas funciones.
gracias, Mauricio
Tipo | Presupuesto | Peso relativo por tipo |
Proyecto tipo A | 100 | 0,333 |
Proyecto tipo A | 80 | 0,267 |
Proyecto tipo A | 120 | 0,400 |
Proyecto tipo B | 90 | 0,375 |
Proyecto tipo B | 150 | 0,625 |
Solved! Go to Solution.
Hi @macg1976 ,
You can add a calculated column with below formula:
Diff = [Presupuesto] / CALCULATE ( SUM ( T2[Presupuesto] ), FILTER ( ALL ( T2 ), [Tipo] = EARLIER ( T2[Tipo] ) ) )
Regards,
Xiaoxin Sheng
Hi @macg1976 ,
You can add a calculated column with below formula:
Diff = [Presupuesto] / CALCULATE ( SUM ( T2[Presupuesto] ), FILTER ( ALL ( T2 ), [Tipo] = EARLIER ( T2[Tipo] ) ) )
Regards,
Xiaoxin Sheng
Excellent, thank you very much ..... greetings
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |