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 moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hola
Estoy creando una medida a través de la cual cualquier rango de fechas que se esté seleccionando en el filtro de fechas obtenga el año máximo para él y calcule el gasto para ese año para todos los Qtr de los cuales los datos están presentes.
Por favor, revise la siguiente medida que he creado y adjuntar y por favor sugiera el camino a seguir para ello. Necesito el gasto total para el año máximo sin tener en cuenta la fecha seleccionada en el filtro.
En ella, @laraibashfaq
Prueba algo como:
MaxyearAmount =
VAR MaxYear =
CALCULAR (
MAX ( 'Date'[DateValue] ),
ALLEXCEPT ( 'Date', 'Date'[DateValue] )
)
DEVOLUCIÓN
CALCULAR (
MAX ( [Gastar] ),
FILTRO (
ALLEXCEPT ( 'Date', 'Date'[DateValue] ),
'Date'[DateValue] = MaxYear
)
)
Nops, esta función no funciona
Check out the May 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.