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
Anonymous
Not applicable

Columna de suma el último día del mes

Hola

Quiero resumir los números en la columna ActiveLast30ChargeAndDrive en el último día de cada mes. Las filas resaltadas están todas en el último día de enero de 2018. ¿Cómo puedo crear una medida para calcular la suma de estas filas para cada último día de los meses?

Capture.PNG

BR Lars

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Arnis_88 , Trate de cerrarbalancemonth, con tabla de fechas

https://docs.microsoft.com/en-us/dax/closingbalancemonth-function-dax

closingbalancemonth(sum(Table[value]), date[date])

Usted se refiere a este video si es necesario -https://www.youtube.com/watch?v=yPQ9UV37LOU

View solution in original post

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hola Arnis_88 Arnis_88 ,

Estos son los pasos que puede seguir:

1. Cree una medida.

Measure =
CALCULATE(
    SUM('Table'[ActiveLast30ChargeAndDrive]),
    FILTER('Table',
    'Table'[DateKey]=ENDOFMONTH('Table'[DateKey])))

2. Resultado.

v-yangliu-msft_0-1603415530667.jpeg

Puede descargar el archivo PBIX desde aquí.

Saludos

Liu Yang

Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

amitchandak
Super User
Super User

@Arnis_88 , Trate de cerrarbalancemonth, con tabla de fechas

https://docs.microsoft.com/en-us/dax/closingbalancemonth-function-dax

closingbalancemonth(sum(Table[value]), date[date])

Usted se refiere a este video si es necesario -https://www.youtube.com/watch?v=yPQ9UV37LOU

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.