Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Cómo dividir cada fila de una columna por la suma de todas las filas dentro de un grupo (columna calculada)

Hola

Me gustaría saber cómo calcular la relación de cada fila dividida por la suma de las mismas filas dentro de un grupo utilizando la columna calculada.

saludos

projectskeyfiscalPeriodDistribución de pronósticosSuma de distribución de pronósticosFactor
12996472020010.011.230.00813
12996472020020.041.230.03252
12996472020030.081.230.065041
12996472020040.151.230.121951
12996472020050.221.230.178862
12996472020060.221.230.178862
12996472020070.221.230.178862
12996472020080.151.230.121951
12996472020090.081.230.065041
12996472020100.041.230.03252
12996472020110.011.230.00813
12996472020120.011.230.00813
13014202020010.011.150.008696
13014202020020.041.150.034783
13014202020040.151.150.130435
13014202020050.221.150.191304
13014202020060.221.150.191304
13014202020070.221.150.191304
13014202020080.151.150.130435
13014202020090.081.150.069565
13014202020100.041.150.034783
13014202020110.011.150.008696
13014202020120.011.150.008696
1 ACCEPTED SOLUTION

Hola @alepage ,

Tratar

Column = 'Table'[Forecast Distribution]/CALCULATE(SUM('Table'[Forecast Distribution]),ALLEXCEPT('Table','Table'[projectskey]))

5.PNG

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@alepage ,

utilizar todos excepto

Ejemplo

calculate(sum(Table[column),allexcept(Table,Table[projectskey]))

Además, consulte

https://community.powerbi.com/t5/Desktop/Percentage-of-subtotal/td-p/95390

Anonymous
Not applicable

Aquí está el Dax que me da los resultados de la 5a columna.

Distribución de previsión de base por proyecto ?

calculate(sum('Project's Info'[Target % Revenue Completed]),allexcept('Project's Info','Project's Info'[projectskey],'Project's Info'[fiscalPeriod]))/
calculate(sum('Project's Info'[Target % Revenue Revenue Completed]),allexcept('Project's Info','Project's Info'[projectskey]))

Muchas gracias por su ayuda.

Hola @alepage ,

Tratar

Column = 'Table'[Forecast Distribution]/CALCULATE(SUM('Table'[Forecast Distribution]),ALLEXCEPT('Table','Table'[projectskey]))

5.PNG

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
Anonymous
Not applicable

Este Dax me da la 4a columna . Me pregunto si es posible dividir la 3a columna por la 4a columna para obtener los resultados que se muestran en la 5a columna sin generar una dependencia circular.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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