cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Measure for my title to automatically use last month name in the sentence

Hi,

 

For my report, i need my title to show last month of today's date.

 

For example, if we are Oct. 1st 2020, my report title should be

2020-Sep

 

I have a date table where my lastdate is TODAY()

How can I create a measure for this?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resident Rockstar
Resident Rockstar

Re: Measure for my title to automatically use last month name in the sentence

@RogerSteinberg 

 

Could you please try the following:

 

Measure = DATE(YEAR(TODAY()),MONTH(TODAY())-1,DAY(TODAY()))

 

Measure = FORMAT(DATE(YEAR(TODAY()),MONTH(TODAY())-1,DAY(TODAY())), "YYYY-MM")

 

View solution in original post

1 REPLY 1
Highlighted
Resident Rockstar
Resident Rockstar

Re: Measure for my title to automatically use last month name in the sentence

@RogerSteinberg 

 

Could you please try the following:

 

Measure = DATE(YEAR(TODAY()),MONTH(TODAY())-1,DAY(TODAY()))

 

Measure = FORMAT(DATE(YEAR(TODAY()),MONTH(TODAY())-1,DAY(TODAY())), "YYYY-MM")

 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors