cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Now() function not updated on Power BI Service

Hello Power BI Community.

 

I'm facing a strange issue with the use of Now() function.

I use it as a card visual so that I could display the current date and time.

In Power BI Desktop when I click on the refresh button, no problem the card shows the good date and time.

I publish it into the Power BI Service, when I click on the Refresh button, I can see the card to be effectively updated.

 

But, as I export the report in public mode (with the use of a public URL link), I would expect, when I click on refresh of the browser (Google Chrome), to see the card to be updated but that's not the case.

As you can see in the screenshot below, the header report which contains the card visual and the use of Now() function display 12:20:13 but in the bottom of the screenshot, it was 12:53.

 

vtalimscs_0-1624532145554.png

 

FYI the formula used in the card visual is  :

Aujourd'hui = Now()+(2/24)

NB: the +(2/24) is used for the UTC + 2 hours

 

Sometimes I can see the card visual refreshed with the new Date and time but it's because whether I set up some planned refreshes during the day or I click on refresh now for the dataset.

 

I saw a post here : https://community.powerbi.com/t5/Service/NOW-Function-Not-Updating-on-Refresh-Web-Service/m-p/142590...

 

I checked in Power Query from Power BI Desktop and the "Include in report refresh" is enabled and the card is not updated.

 

Thank you for your help and support.

 

Best regards,

Vincent.

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@Anonymous 

Publish to Web comes with its own limitations, 

After you create your Publish to web embed code and share it, the report updates with any changes you make. The embed code link is immediately active. Anyone who opens the link can view it. The data is cached for one hour from the time it is retrieved.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

1 REPLY 1
Fowmy
Super User
Super User

@Anonymous 

Publish to Web comes with its own limitations, 

After you create your Publish to web embed code and share it, the report updates with any changes you make. The embed code link is immediately active. Anyone who opens the link can view it. The data is cached for one hour from the time it is retrieved.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors