Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
135 | |
118 | |
101 | |
71 | |
61 |