Forum Discussion
Anonymous
8 years agoNot applicable
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...
- 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
v-qiuyu-msft
Community Support
8 years agoHi 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
gvg
Post Prodigy
5 years ago3 years after - DateTime.LocalNow() still doesn't show correct time even on Power BI Desktop :((