Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hola:
Tengo una tabla con un dato por meses para el 2024 y 2025. Necesito calcular el valor acumulado para el periodo total 2024-2025,
actualmente lo estoy calculando asi:
Estos serian lo datos tabulados...
@Syndicate_Admin solo agregue un filtro para años como este:
Hola
Escribe esta medida
Medida = calculate([EAC],datesbetween(calendar[date],minx(all(calendar]),calendar[date]),max(calendar[date])))
Espero que esto ayude.
No he podido crear la variable...
Hola
Le falta el corchete de cierre de la función ALL. Debería ser
Medida = CALCULAR([EAC],FECHASENTRE('Calendario'[Fecha],BRIBONA(TODO('Calendario'),'Calendario'[Fecha]),MÁXIMO('Calendario'[Fecha])))
Hola:
Con el ajuste que me indicas funciona bien, el tema es que necesito que tome la informacion desde el año 2024 en adelante. La variable EAC tiene datos de años anteriores que no requiero, por lo cual estaba haciendo este ajuste al codigo pero no me funciono =(
Este debería funcionar
Medida_acumulada = CALCULATE([EAC],DATESBETWEEN('Calendar'[Date],DATE(2024,01,01),max('Calendar'[Date])))
@Syndicate_Admin intente usar este enfoque de fórmula:
Hola:
Gracias por la informacion, este codigo funciona pero requiero poder filtrar los datos solo para el año 2024 y 2025. La base de datos tiene informacion desde el año 2020.
creo que puede ser por eso que no dan iguales los totales
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.