cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bo_afk Member
Member

Dynamic date title

Hi,

 

I'm creating a report that gets refreshed every Sunday. On the title of the report, I want it to display "Sunday, [day of month] [month]" dynamically. i.e. this will change every week when the report is refreshed.

 

I understand we can create titles with conditional formatting, but is it possible to add a date element to this as well?

 

Thanks

afk

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
ntaylo06 Regular Visitor
Regular Visitor

Re: Dynamic date title

Yes, this is possible.

1. Click the "Enter Data" button to create a new table and enter "Date Refreshed" in the first cell, then click "Load"

2. In this new table add a new column and make its formula

Date Refreshed = "Sunday, " & MONTH(UTCNOW()) & "/" & DAY(UTCNOW())

3. Create a card in your report that displays the Max of 'Table1'[Date Refreshed]

 

Whenever the dataset is refreshed the UTCNOW() function will find the current date and then the MONTH() and DAY() will do the math to find out what month and day the current date is. The result looks like this: 

Capture.PNG

EDIT: Oops, I'm dumb. They DAY() and MONTH() should be switched. It will still work the same

 

View solution in original post

2 REPLIES 2
Highlighted
ntaylo06 Regular Visitor
Regular Visitor

Re: Dynamic date title

Yes, this is possible.

1. Click the "Enter Data" button to create a new table and enter "Date Refreshed" in the first cell, then click "Load"

2. In this new table add a new column and make its formula

Date Refreshed = "Sunday, " & MONTH(UTCNOW()) & "/" & DAY(UTCNOW())

3. Create a card in your report that displays the Max of 'Table1'[Date Refreshed]

 

Whenever the dataset is refreshed the UTCNOW() function will find the current date and then the MONTH() and DAY() will do the math to find out what month and day the current date is. The result looks like this: 

Capture.PNG

EDIT: Oops, I'm dumb. They DAY() and MONTH() should be switched. It will still work the same

 

View solution in original post

Community Support Team
Community Support Team

Re: Dynamic date title

Hi @bo_afk ,

The suggestion of ntaylo06 should be much helpful.

Have you solved your problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, please describe your sceario in more details so that we could help further on it.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors