Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

NOW() Function Not Updating on Refresh (Web Service)

The NOW() function does not update when using the automated daily refresh option (via gateway) or the manual refresh option within the PowerBI service.     It does update when I open the desktop ve...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi V-lianl-msft 

     

    I believe I found the issue.

     

    The table that contained the NOW() function was NOT set to "Include in report refresh".  

    This table has been set this way for over a year and previously the column that used the NOW() function would still update even though the underlying data was not being refreshed.  The underlying data did not need refreshing so I set it this way purposely.

     

    Something changed recently that is now preventing columns that use the NOW() function from being updated if the table is NOT set to "Include in report refresh".

     

    The desktop console still updates columns that use the NOW() function even though the table is NOT set to "Include in report refresh".  When I publish from the console to the website, the NOW() column is accurate.  However, once I try to refresh via the web service the column that uses NOW() no longer updates.

     

    I've used this data model for over a year and never ran into this problem.  I've made no changes on my end to it.  Something has definitely changed on the web service end with regards to how the NOW() and likely other time/date functions are handled when they are used to populate columns on a table where the underlying data is not set to "Include in report refresh".  The NOW() function when used to populate a column was previously independent of whether or not the underlying table was being updated, now it seems dependent on it.