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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Make timestamp from a fiscal month and fiscal year

Hi,

 

Our GL database has a Fiscal Month and Fiscal Year field (both integers) but not date field.  In order to make time logic formulas easier, I want to create a timestamp using 1 as the day.  (example:  Fiscal year = 2015, Fiscal Month equals 7, so I would add a custom column in query editor that would create a time stamp of 2015-07-01 that I could then use for timeintelligence functions.

 

I am fairly new to Power BI Desktop so how would I create a timestamp using a fiscal year field, fiscal month field, and a 1 for the day?  (and defaul to 12:00:00 AM for time so it matches my BasicCalendar database).

 

Thank you very much for any help with this...

 

 

1 ACCEPTED SOLUTION
austinsense
Impactful Individual
Impactful Individual

I think a calculated column (DAX) like this ...

 

=DATE(Table[Fiscal Year], Table[Fiscal Month],1)

 

Here's the link to the DAX documentation (LINK)

 

 

Or as a custom column (M) inside the query ...

 

=Date.FromText(Table[Fiscal Year] & Table[Fiscal Month] & "01")

Here's the link to the M documentation (LINK)

 

Austin is VP Operations at PowerPivotPro and a professional self-service enthusiast 🙂

View solution in original post

2 REPLIES 2
austinsense
Impactful Individual
Impactful Individual

I think a calculated column (DAX) like this ...

 

=DATE(Table[Fiscal Year], Table[Fiscal Month],1)

 

Here's the link to the DAX documentation (LINK)

 

 

Or as a custom column (M) inside the query ...

 

=Date.FromText(Table[Fiscal Year] & Table[Fiscal Month] & "01")

Here's the link to the M documentation (LINK)

 

Austin is VP Operations at PowerPivotPro and a professional self-service enthusiast 🙂
Anonymous
Not applicable

This worked - thanks!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Solution Authors
Top Kudoed Authors