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
Syndicate_Admin
Administrator
Administrator

Ayuda necesaria para contar filas de la tabla del mes pasado y de hace 2 meses

Hola

Había encontrado una medida que funcionó bien hasta que llegó 2023 y ahora mis siguientes fórmulas no funcionan como el último mes y hace 2 meses caen en 2022. Quiero contar el número de filas de mis tablas que tienen una fecha en el mes actual, el mes pasado y hace dos meses.

Aquí está mi mes actual:

Este mes = CALCULAR(COUNTROWS('Caja de apoyo a la movilidad') , FILTRO(TODO('Caja de apoyo a la movilidad'[DateTimeReceived]),MES('Caja de apoyo a la movilidad'[DateTimeReceived]) =MES(HOY())))
Aquí está el mes pasado:
Último mes = CALCULAR(COUNTROWS(«compartimento de apoyo a la movilidad»), FILTRO(TODO('cuadro de soporte de movilidad'[DateTimeReceived]),MES('cuadro de soporte de movilidad'[DateTimeReceived]) =MES(HOY())-1))
Hace dos meses:
Hace dos meses = CALCULAR(COUNTROWS(«compartimento de apoyo a la movilidad»), FILTRO(TODO('cuadro de soporte de movilidad'[DateTimeReceived]),MES('cuadro de soporte de movilidad'[DateTimeReceived]) =MES(HOY())-2))
Necesito una forma de agregar el rollover del año, pero no estoy encontrando nada que funcione. ¡Ayuda!
1 REPLY 1
Syndicate_Admin
Administrator
Administrator

En lugar de utilizar FILTER(Table), debe utilizar la función DATESINPERIOD o PARALLELPERIOD, que puede controlar las prórrogas anuales.

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.