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
ghosh_kavitha
Helper IV
Helper IV

Cálculo del mes siguiente

Hola

ghosh_kavitha_0-1594980302434.png

Esta es mi mesa. Sólo quiero calcular el valor total de las horas del mes de agosto.

Usé esta medida

Valor del mes siguiente: calculate(sum('table'[valor total de horas]),dateadd(table[month year],+1,month

puede alguien ayudar.

Gracias

Kg

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@ghosh_kavitha ,

Valor del mes siguiente: CALCULATE(sum('table'[valor total de horas]),DATESMTD(dateadd('Date'[Date],1,MONTH)))

CALCULATE(sum('table'[valor total de horas]),nextmonth('Date'[Date]))

Usar la tabla de fechas correctamente

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.

View solution in original post

19 REPLIES 19

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