The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Tengo una tabla en excel como la siguiente:
Lo que quiero hacer es calcular el costo total de los ingresos del mes, así como una medida que me permita conocer los ingresos totales por cliente, y que estos ingresos por cliente se puedan presentar en un grafico de barra. Los costos se van actualizando por dia y se van agregando conforme es necesario.
Solved! Go to Solution.
Hi @EEEhernan9 ,
You can create the following measure:
Revenue =
CALCULATE (
SUM ( 'Table'[Ingresos] ),
FILTER (
ALLSELECTED ( 'Table' ),
[Cliente] = MAX ( 'Table'[Cliente] )
&& MONTH ( [Fecha] ) = MONTH ( TODAY () )
&& YEAR ( [Fecha] ) = YEAR ( TODAY () )
)
)
The bar chart shows the total current monthly revenue for each customer.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @EEEhernan9 ,
You can create the following measure:
Revenue =
CALCULATE (
SUM ( 'Table'[Ingresos] ),
FILTER (
ALLSELECTED ( 'Table' ),
[Cliente] = MAX ( 'Table'[Cliente] )
&& MONTH ( [Fecha] ) = MONTH ( TODAY () )
&& YEAR ( [Fecha] ) = YEAR ( TODAY () )
)
)
The bar chart shows the total current monthly revenue for each customer.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
93 | |
81 | |
63 | |
56 |
User | Count |
---|---|
247 | |
122 | |
110 | |
77 | |
72 |