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.
Estoy tratando de crear un total en ejecución para la columna de suma por fecha para la tabla siguiente. ¿Cómo puedo lograr esto creando una medida?
Fecha | Tipo | gastar |
7/27/2020 | Epl | 1000 |
7/27/2020 | SGC | 1500 |
7/27/2020 | Epl | 3000 |
7/27/2020 | Epl | 2000 |
7/28/2020 | SGC | 1200 |
7/28/2020 | SGC | 1400 |
7/282020 | Epl | 900 |
7/29/2020 | SGC | 750 |
7/29/2020 | Epl | 1200 |
7/29/2020 | SGC | 1400 |
Gracias a todos por sus prontas respuestas
@dw700d , Pruebe con la tabla de fechas
Ventas de Cumm: CALCULATE(SUM(Sales[Sales Amount]),filter(date,date[date] <-maxx(date,date[date]))
Ventas de Cumm: CALCULATE(SUM(Sales[Sales Amount]),filter(date,date[date] <-max(Sales[Sales Date]))
Para obtener lo mejor de la función de inteligencia del tiempo. Asegúrese de que tiene un calendario de fechas y que se ha marcado como la fecha en la vista de modelo. Además, únase a ella con la columna de fecha de su/s hecho/s. Consulte:
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
Vea si mi seminario web sobre Time Intelligence puede ayudar: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-Y...
Apreciamos tus Felicitaciones.
Hola @dw700d
Prueba esta medida
RuningTotal =
VAR selectedDate = SelectedValue(Table[Date])
VAR FilteredTable = Filter(
All(Table)
, Table[Date] <=selectedDate
)
Return Sumx(filteredTable, Table[Spend])
Espero que esto ayude.
Gracias
@dw700d ,
Prueba esto:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
1 | |
1 |