Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi there,
I was planning to build a live dashboard that has all the data stored in Azure SQL DB, I was planning to use direct query instead of import so that I would avoid schedule refreshes and avoid load on the database services. Direct Query works fine till I want to modify the UTC to local time. I cannot add a column and use "DateTimeZone.SwitchZone" for converting my dates from UTC to local.
Is there any workaround for conversions? If not should I go back to Import Query mode and perform schedule refreshes?
Solved! Go to Solution.
@Anonymous , when you create a connection there is the connection to give a query. You can use that.
simple addition and subtraction can work in dax and power query. If your timezone do not change with the season then you can simply try to add and subtract time and check
Is there a way to do it in Power BI? The reason is I am not the owner of the SQL DB and any changes to it might be a long process of approvals and documentation.
@Anonymous , when you create a connection there is the connection to give a query. You can use that.
simple addition and subtraction can work in dax and power query. If your timezone do not change with the season then you can simply try to add and subtract time and check
Yeah, that worked brilliantly, thanks for the quick response 🙂
Hi there,
Can you share in details or like hint of the function you used in Power Query or how did you achieve that.
Your response will be helpful.
Thanking you.
User | Count |
---|---|
84 | |
75 | |
73 | |
42 | |
36 |
User | Count |
---|---|
114 | |
56 | |
52 | |
43 | |
42 |