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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
LoxleyLearner
New Member

Importing date - year only

I'm working with the BP energy report.  For date it provides year only.  How do I get this recognised as a date when I am importing ti to PowerBI?  Currently I am creating another column = "1/1/" and then merging this with the BP date (for example of 1975) creating 1/1/1975 which I can then allocate a date status to.  But I'm sure that there must be a better more professional way of accomplishing this - can you tell me this please?

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @LoxleyLearner ,

 

this pattern Budget – DAX Patterns contains, some techniques to model different granularities.

 

Besides that, there is no way that is more elegant.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@LoxleyLearner , Not very clear , you can date with year like

 date = date([year],1,1)

 

You can join with date table if needed

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

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

Hey @LoxleyLearner ,

 

this pattern Budget – DAX Patterns contains, some techniques to model different granularities.

 

Besides that, there is no way that is more elegant.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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 Solution Authors