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
liz_dooley
Advocate I
Advocate I

Make a Date Function

Hey guys, so I am trying to create a static date. We take snapshots of our data every quarter and I need to create a date for the day the snapshot was taken. We use age and have age groups and I would need to determine someone's age by their birthday AND the quarterly reporting date. We have thousands of people in this data set so cannot look at this dynamically or it will change on a daily basis due to birthdays.

 

I have worked in Tableau for a while and I am use to the Make A Date function. Is there an equivalent?

 

Thanks!

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

There is the DATE function. If you want January 2nd, 2018 it would be:

 

MyDate = DATE(2018,1,2)



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

3 REPLIES 3
popov
Resolver III
Resolver III

Hello,

Equivalent of MAKEDATE function in DAX is DATE.

 

Greg_Deckler
Community Champion
Community Champion

There is the DATE function. If you want January 2nd, 2018 it would be:

 

MyDate = DATE(2018,1,2)



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

Thank you!

 

Of course it was that simple 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.