Forum Discussion

bo_afk's avatar
bo_afk
Post Patron
7 years ago
Solved

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 th...
  • ntaylo06's avatar
    7 years ago

    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: 

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