Forum Discussion
Powerbi.com Server Time
- Anonymous10 years ago
JuliaYebra You can tell where you data is being stored by clicking on the question mark in the upper right hand corner, and selecting "About Power BI". This may help in troubleshooting.
elliotdixon I guess I would need to know more about what you are trying to accomplish. If I read this correctly, you are in NZ timesone, and your data is being stored in a DC that is 12 hours ahead and the dates are stored in the TZ of the DC? Can you elaborate a bit?
Hi Anonymous Thanks for your help with this.
I seemed to have solved the issue for the Import model of Power BI but now need to get it working for my DirectQuery model.
On each data table with dates I can add two columns
Add Column –> Add Custom Column
- Name: Date_TABLENAME (NZ+12)
- Formula: =DateTime.AddZone([Column with Date / time values],12)
Then
Add Column –> Add Custom Column
- Name: Date_TABLENAME_GMTTime
- Formula: =DateTimeZone.SwitchZone([#"Date_TABLENAME (NZ+12)"],0)
I then connect the GMTTime colum back to the main dates table I have setup. It all then works online. Great.
The 12 hours is due to NZ being 12 hours ahead at the moment - I will have to fix during the summer months when we go +13 but thats something to worry about another time.
The next issue is that I need to relicate this in Direct Query but it does not allow the adding of new columns.
Any idea how to solve that?
Cheers
ED.