Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
@ links to members, content
I have a datetime column in UTC time in my table. I want to add a column to that table and convert the time to Central Standard Time. Is there a simply way to do this. All the blogs are confusing. Do you accomplish this via power query or in the table itself.
Solved! Go to Solution.
Hi @Anonymous ,
You can create a new calculated column in power bi desktop by DAX:
CST Time = [YourUTCDateTimeColumn] - TIME(6, 0, 0)
Or you can create a custom column in power query:
CST = DateTimeZone.SwitchZone([YourUTCDateTimeColumn],-6)
For the sample .pbix file,pls see attached.
Please refer to the following post for more information.
UTC vs Local Timezone, Daylight Savings for Power BI | by Susheel Aakulu | Medium
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You can create a new calculated column in power bi desktop by DAX:
CST Time = [YourUTCDateTimeColumn] - TIME(6, 0, 0)
Or you can create a custom column in power query:
CST = DateTimeZone.SwitchZone([YourUTCDateTimeColumn],-6)
For the sample .pbix file,pls see attached.
Please refer to the following post for more information.
UTC vs Local Timezone, Daylight Savings for Power BI | by Susheel Aakulu | Medium
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You could do that in Power Query. But - why do you need to do it? The Power BI service will show it according to the user's timezone.
Unfortunately, in my desktop it is showing correct time. When I publish it is showing in UTC time. Therefore, I need to do a conversion.
Is it showing to your report users in UTC?
Yes it is
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 67 | |
| 34 | |
| 33 | |
| 30 |