cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Esabee
Frequent Visitor

NOW() broken?

I have had a datetime stamp on my dashboard for months.

Yesterday evening, we had a server to storage path fail and this morning the NOW() function no longer returns hours minutes and seconds, just the date. NO idea if this is something at the PowerBI end or to do with the fail last night.

I was able to fix this by changing my extremely simple script from

Date Time=NOW()

to

Date Time=NOW()+0

Is this intended or a bug?

1 ACCEPTED SOLUTION

@Greg_Deckler Thank you for testing. I have had someone here test their desktop version as well and they could not replicate the issue either. I assume this is a file corruption and, rather than going with my work around, I decided to go back to an older version where the Now() function works as expected. I have had two instances of spurious file corruption in the last two months, and am wondering whether PowerBI is more sensitive than other Microsoft products to exiting non-gracefully. I will continue to keep backups and ensure that, from now, on I exit gracefully at the end of each working day.

View solution in original post

4 REPLIES 4
Greg_Deckler
Super User
Super User

@Esabee Is this in the Desktop or the Service or both? Is this a measure or a column in the data model? 

 

 


@ me in replies or I'll lose your thread!!!
Check out my External Tool for Power BI Desktop!
Microsoft Hates Greg's Quick Measures
Check out my latest book!

@Greg_Deckler Apologies for not inluding this information. It is in Desktop and it is a measure.

@Esabee Interesting, I can't replicate the behavior on my Desktop. You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".


@ me in replies or I'll lose your thread!!!
Check out my External Tool for Power BI Desktop!
Microsoft Hates Greg's Quick Measures
Check out my latest book!

@Greg_Deckler Thank you for testing. I have had someone here test their desktop version as well and they could not replicate the issue either. I assume this is a file corruption and, rather than going with my work around, I decided to go back to an older version where the Now() function works as expected. I have had two instances of spurious file corruption in the last two months, and am wondering whether PowerBI is more sensitive than other Microsoft products to exiting non-gracefully. I will continue to keep backups and ensure that, from now, on I exit gracefully at the end of each working day.

View solution in original post

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

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