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

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.

Reply
Kpham
Resolver I
Resolver I

Comenzando a correr total a partir de today()

Hola

¿Cómo puedo crear una medida o columna que inicie el total de ejecución desde hoy hasta el final del año?

Capture.PNG

4 REPLIES 4
AllisonKennedy
Super User
Super User

Usted podría hacer como se calculó COLUMN:
RunningTotal ??
SUMX(FILTER(ALL(Table), Table[Date]>-Today() &&Table[Date]<- EARLIER(Table[Date])

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

@Kpham , Pruebe con una tabla de fechas

Ejemplo

Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(date,date[date] <=maxx(date,date[date]) && date[date]>=today))

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, tengo un error de dependencia circular. Cualquier consejo de cómo podría evitar esto

Capture.PNG

Amount to be Delivered Running Total(future) = 
                CALCULATE(
                    SUM('Month overview'[Amount To Be Delivered (€)]),
                    FILTER(ALLSELECTED(DimDate),
                    DimDate[Date]<=MAX(DimDate[Date])
                    && DimDate[Date]>= TODAY()
                    ))

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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