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

Join 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.

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
Super User
Super User

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!:
Power BI Cookbook Third Edition (Color)

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
Super User
Super User

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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.