Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors