Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Tengo una tabla de fechas con la columna FiscalYear establecida de 2020 a 2060
La medida CurrentFiscalYear =
Pruebe esto:
FiscalYearTest =
VAR actualaño fiscal = año(hoy())
DEVOLUCIÓN
Filtro (
distinct (Fechas[FiscalAño] ) ,
Fechas[FiscalYear] < = año fiscal actual
)
Hazme saber si funciona para ti
Gracias, esto no devuelve el año posterior al año fiscal actual. Estoy buscando la tabla para volver 2020-2025. Básicamente, año fiscal actual +1 año
Pruebe esto:
FiscalYearTest =
CurrentFiscalYear = SI(MES(HOY()) >= 7, AÑO(HOY()) + 2, AÑO(HOY()) +1 )
DEVOLUCIÓN
Filtro (
distinct (Fechas[FiscalAño] ) ,
Fechas[FiscalYear] < = año fiscal actual
)
Así que si entiendo bien,
Si estoy en el mes >=7, entonces mi año fiscal actual debería ser 2025 y, por lo tanto, necesito obtener datos de 2020 a 2026
sin embargo
Si el mes <=7 entonces mi año fiscal actual es 2024 y, por lo tanto, necesito obtener los datos de 2020 a 2025.
¿Estoy en lo cierto?
Gracias por ayudar.... Sí, lo hacemos Año Fiscal
Utilicé:
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.