Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
rdiazd73
Helper I
Helper I

calendario automático

hola Equipo poder bi

gracias en avance por su ayuda

Tengo un calendario fiscal especifico comenzar en abril terminar en marzo, y la funcionalidad está bien

mi problema aparece cuando adjunto nuevas tablas y las fechas no son estándar o iguales que las fechas cargadas.

tabla cargada á sep ok
nueva tabla añadida - sept

tabla cargada - mes fiscal 1 2020 ok
nueva tabla añadida - mes fiscal 01 2020
mi calendario no regonize este sept o 01 2020

Calendario Fiscal II ?
VAR BaseCalendar - CALENDARAUTO(3)
devolución
GENERAR(
BaseCalendar;
VAR BaseDate á [Fecha]
VAR YearDate - AÑO ( BaseDate )
VAR MonthNumber - MES ( BaseDate )
VAR FiscalMontNumber ? IF(MonthNumber > ? 4; MonthNumber - 3; MonthNumber + 9)
VAR FiscalQuarter á IF(FiscalMontNumber < 4;
"Q1";
IF(FiscalMontNumber < 7;
"Q2";
IF(FiscalMontNumber < 10;
"Q3";
"Q4"
)
)
)
VAR FiscalYear á IF(MonthNumber < FiscalMontNumber; YearDate - 1; YearDate+1)
ROW DE RETORNO (
"Mes"; FORMAT( BaseDate; "mmmm");
"FiscalMonthNumber"; FiscalMontNumber;
"Mes Fiscal"; FORMAT( BaseDate; "mmm");
"FiscalQuarter"; FiscalQuarter;
"FiscalYearQuarter"; FiscalYear & " " & FiscalQuarter;
"Año Fiscal"; Año Fiscal;
"FiscalYearMonth"; FiscalYear & " " & FiscalMontNumber;
"FY"; CONCATENAR("FY"; DERECHO(Año Fiscal;2))
))

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

Parece que debería corregir este tipo de problemas durante la importación de datos en Power Query.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
v-lili6-msft
Community Support
Community Support

hola @rdiazd73

Será mejor que transforme los datos ficticios cuando cargue una nueva tabla en las consultas de edición y establezca la columna como una columna de fecha.

https://docs.microsoft.com/en-us/power-bi/desktop-shape-and-combine-data

saludos

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@rdiazd73 , he generado un calendario fiscal de abril a sep. Por favor, fórtelo. Si juegas con la fecha de inicio del año y el cálculo de la fecha y el mes de fin de año, puedes obtener lo mismo.

https://www.dropbox.com/s/wrcyk5j66corvjg/Apr2Mar-Cal.pbix?dl=0

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

muchas gracias por su respuesta

para su idea de añadir +++colums en el calendario de la tabla

Estoy intentando solución incluyendo en power querry una +nueva columna en la tabla de origen de datos

año del fiscar/año fiscal/período 2

03 2020 3 2020

Greg_Deckler
Community Champion
Community Champion

Parece que debería corregir este tipo de problemas durante la importación de datos en Power Query.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.