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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors