Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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 |
---|---|
84 | |
80 | |
70 | |
47 | |
43 |
User | Count |
---|---|
109 | |
54 | |
50 | |
40 | |
40 |