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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
dw700d
Post Patron
Post Patron

Total de ejecución por fecha

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?

FechaTipogastar
7/27/2020Epl1000
7/27/2020SGC1500
7/27/2020Epl3000
7/27/2020Epl2000
7/28/2020SGC1200
7/28/2020SGC1400
7/282020Epl900
7/29/2020SGC750
7/29/2020Epl1200
7/29/2020SGC1400

4 REPLIES 4
dw700d
Post Patron
Post Patron

Gracias a todos por sus prontas respuestas

amitchandak
Super User
Super User

@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.

Anonymous
Not applicable

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

Tahreem24
Super User
Super User

@dw700d ,

Prueba esto:

CALCULATE(SUM(Sheet4[Value]),FILTER(ALL(Sheet4),Sheet4[Date]<-MAX(Sheet4[Date])))
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors