Forum Discussion
StefanoGrimaldi
2 years agoResident Rockstar
Power Bi Dax Help
hey guysm I have this formula: .Saldo Ejecutado Indicadores / Saldo Ingresos = DIVIDE( [.Saldo Ejecutado Indicadores], CALCULATE( [.Saldo Ejecutado Indicadores], ALL('...
- 2 years ago
Hi StefanoGrimaldi
Please try below codeDIVIDE( [.Saldo Ejecutado Indicadores], CALCULATE( [.Saldo Ejecutado Indicadores], REMOVEFILTER('Indicadores Financieros'[Indicador]), 'Indicadores Financieros'[Categoria de cuenta] = "4. Ingresos" ) )If your requirement is solved, please make sure to MARK AS SOLUTION and help other users find the solution quickly. Please hit the LIKE button if this comment helps you.
Thanks
Pijush
PijushRoy
2 years agoCommunity Champion
Hi StefanoGrimaldi
Please try below code
DIVIDE(
[.Saldo Ejecutado Indicadores],
CALCULATE(
[.Saldo Ejecutado Indicadores],
REMOVEFILTER('Indicadores Financieros'[Indicador]),
'Indicadores Financieros'[Categoria de cuenta] = "4. Ingresos"
)
)
If your requirement is solved, please make sure to MARK AS SOLUTION and help other users find the solution quickly. Please hit the LIKE button if this comment helps you.
Thanks
Pijush
StefanoGrimaldi
2 years agoResident Rockstar
nop, still same behaviour its dividing by the grand total as if its ignoring the column filter.
- StefanoGrimaldi2 years agoResident Rockstar
never mind it worked, need to change a column was using the wrong one, thanks
- PijushRoy2 years agoCommunity Champion
StefanoGrimaldi
You are welcome