Forum Discussion
Displaying Last Refresh Time in PST
- Anonymous6 years ago
This is what I ended up doing.
I used the original code: #table(type table[LastRefresh=datetime], {{DateTime.LocalNow()}})
Then I created a measure: Last Refresh_PST = MIN('Last Refresh'[LastRefresh])-7/24
That seemed to work after I published to PBI service.
Thanks!
Hi Anonymous
if you are sure in -8 hours offset try to use
DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), -8)This is what I ended up doing.
I used the original code: #table(type table[LastRefresh=datetime], {{DateTime.LocalNow()}})
Then I created a measure: Last Refresh_PST = MIN('Last Refresh'[LastRefresh])-7/24
That seemed to work after I published to PBI service.
Thanks!
- Anonymous6 years agoNot applicable
Hi Anonymous ,
Thanks for sharing your solution. Could you please mark your post as Answered? It will help others in the community find this solution easily if they face the same problem with you. Thank you.
Best Regards
Rena