cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Add a Custom Column Containing Today's Date

How do I add a custom column which contains a calculated today's date?

1 ACCEPTED SOLUTION

Accepted Solutions
Resolver IV
Resolver IV

Re: Add a Custom Column Containing Today's Date

DAX: TODAY()

 

M: DateTime.LocalNow()

 

Note, for M if you want date only you can do Date.From(DateTime.LocalNow())

View solution in original post

2 REPLIES 2
Resolver IV
Resolver IV

Re: Add a Custom Column Containing Today's Date

DAX: TODAY()

 

M: DateTime.LocalNow()

 

Note, for M if you want date only you can do Date.From(DateTime.LocalNow())

View solution in original post

Highlighted
Regular Visitor

Re: Add a Custom Column Containing Today's Date

Hello MarkLaf,

 

Thank you for your help.  I'm a newbie, just getting started and have a long way to go (as you can tell).  M worked perfectly.

 

Tim

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Don't miss the Power BI Dev Camp this week!

August Community Highlights

Check out a full recap of the month!

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors