Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Calculated date wrong on Power BI Server

I have a "Last Refresh Date" field in my report that is populated from a manual query: let Source = #table(type table[LastRefresh=datetime], {{DateTime.LocalNow()}}) in Source   When I run it l...
  • v-qiuyu-msft's avatar
    8 years ago

    Hi Anonymous,

     

    Based on my test, the DateTime.LocalNow() function will display in UTC time ignore the local region setting. So the report data is different from schedule refresh time. 

     

    Best Regards,
    Qiuyun Yu