Forum Discussion
AlexTi
3 years agoNew Member
Time Issue, Powerbi Desktop and Sharepoint
Hey, i have the problem. The Date in my sharepoint list is not the same in the PowerBi Desktop. Maybe in Sharepointlist its 23:00 then it is in PowerBi 00:00. Its depends everytime with the UTC. ...
- 3 years ago
You can use the function DateTime.AddZone.
With the help of this function you can make a custom column that changes the UTC datetime value to your local time.
Just add a custom column with DateTime.AddZone([Columname], hours, minutes)
For example:
DateTime.AddZone([Columname], 2, 30)this adds two hours and 30 minutes to the UTC time
ChielFaber
3 years agoSuper User
You can use the function DateTime.AddZone.
With the help of this function you can make a custom column that changes the UTC datetime value to your local time.
Just add a custom column with DateTime.AddZone([Columname], hours, minutes)
For example:
DateTime.AddZone([Columname], 2, 30)
this adds two hours and 30 minutes to the UTC time