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.
Quiero calcular la fecha de finalización actual del año fiscal (abril - marzo)
Solved! Go to Solution.
Hola, pruebe con esta columna calculada:
CurrentEndFiscalYear =
IF (
MONTH ( 'Table'[Date] ) <= 3;
DATE ( YEAR ( 'Table'[Date] ); 03; 31 );
DATE ( YEAR ( 'Table'[Date] ) + 1; 03; 31 )
)
saludos
Victor
Eso no es mucho para seguir. Vea si mi Inteligencia del Tiempo el Camino Duro proporciona una manera diferente de lograr lo que usted está buscando.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...
No es un profesional en Dax. Por favor, puede ayudar en esto. Probé fórmulas, pero obteniendo datos equivocados.
No tengo claro lo que quieres. ¿Está diciendo que desea tener una medida "total ytd" que va del 1 de abril de 2019 al 31 de marzo de 2020, por ejemplo? Si es así, tal vez algo como:
Measure =
VAR __Date = MAX([Date])
VAR __Year = YEAR(__Date)
VAR __FiscalEndMonth = 3
VAR __FiscalEndDay = 31
VAR __FiscalBeginMonth = 4
VAR __FiscalBeginDay = 1
VAR __FiscalBegin = DATE(__Year - 1,__FiscalBeginMonth,__FiscalBeginDay)
VAR __FiscalEnd = DATE(__Year, __FiscalEndMonth,__FiscalEndDay)
RETURN
SUMX(FILTER('Table',[Date] >= __FiscalBegin && [Date] <= __FiscalEnd),[Column])
No, señor.
FECHA DE INFORME | CURRFISCALYEAREND |
09-01-2015 | 31-03-2015 |
09-05-2015 | 31-03-2016 |
Hola, pruebe con esta columna calculada:
CurrentEndFiscalYear =
IF (
MONTH ( 'Table'[Date] ) <= 3;
DATE ( YEAR ( 'Table'[Date] ); 03; 31 );
DATE ( YEAR ( 'Table'[Date] ) + 1; 03; 31 )
)
saludos
Victor
Gracias hermano, funcionó.
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.