The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
In the Report, i need to show the logged in users current Datetime and type of timezone it is showing. Using DAX Now() i will get the current date and time however i am not getting whether it is EST,PST or CET timezone. I need to add timezone also to the timestamp. Please suggest if anything related to Power Query or DAX function this can be achieved. Thanks in Advance.
Hi @Anonymous
You can use DateTimeZone.From() in power query/
e.g:= DateTimeZone.From(DateTimeZone.LocalNow())
Output:
You can refer to the following link:
DateTimeZone.From - PowerQuery M | Microsoft Learn
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your response. i have tried the one that you provided i getting like this
18/01/2022 10.33:57 AM +00:00 . What i need is 18/01/2022 10.33:57 AM GMT . Is that possible to show GMT/EST/CET like this. It will vary if user runs the report from US then as per his timezone it should show.
Thanks for your response. What i need is 18/01/2022 10.33:57 AM GMT . Is that possible to show GMT/EST/CET like this. It will vary if user runs the report from US then as per his timezone it should show. if i run from Indian it show India timings and with IST at the end of the date
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |