Forum Discussion
Suma de Varias filas
Buenas Comunidad, requiero de su ayuda.
El caso es el siguiente: tengo una tabla que tienen varias filas con un mismo número de "Código de Ingreso", la cual tiene un valor numérico que requiero sumar. Esto me funciona sin inconveniente para el primer valor de "Código de Ingreso" utilizando la siguiente sixtasis:
- Anonymous2 years ago
Hi, saipcca
If you want to change your DAX expression to three income codes, then the new DAX expression is as follows:
Emergencia = CALCULATE ( [Total-De-Ingresos], 'Servicios2022'[Codigo de Ingreso] IN { "6001001", "6001030", "6001031" } )How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- AnonymousNot applicable
Hi, saipcca
If you want to change your DAX expression to three income codes, then the new DAX expression is as follows:
Emergencia = CALCULATE ( [Total-De-Ingresos], 'Servicios2022'[Codigo de Ingreso] IN { "6001001", "6001030", "6001031" } )How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.