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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors