This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
¡Hola a todos!
Tengo este archivo PBI Archivo
Necesito poder presentar el año seleccionado en la visualización con respecto al año anterior para mostrar los valores de las medidas. ¿Cómo puedo hacer esto?
Muchas gracias.
No hay necesidad de una 2a tabla de fechas, esto se puede hacer fácilmente usando sólo 1 con las medidas correctas:
MaxYearValue =
VAR vMaxYear =
MAX ( DateTable[Year] )
RETURN
CALCULATE (
SUM ( Data[Value] ),
DateTable[Year] = vMaxYear
)PreviousYearValue =
VAR vMaxYear =
MAX ( DateTable[Year] )
RETURN
CALCULATE (
SUM ( Data[Value] ),
DateTable[Year] = vMaxYear - 1
)Gracias @Arklur y @amitchandak por su ayuda. No es exactamente lo que necesitaba, pero me ha dado un par de ideas.
Hola , @Raul
¿Puedes explicar un poco más?
Por ahora, no hay ningún otro contenido de descripción en el subproceso. Si todavía necesita ayuda, por favor comparta más detalles con nosotros.
Saludos
Equipo de soporte de la comunidad _ Eason
Esta es mi solución:
Medidas:
@Raul, consulte si esto puede ayudar
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601
Necesita dos tablas de fechas en tal caso
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.