Forum Discussion
DateDiff in CallDate Not Updating without a Data Refresh
I have created a dataset with Directqueries to data held on an on-premise SQL server. At the same time, I have created a CatDate Table with the formula:-
CalDate = CALENDAR(DATE(2020,1,1),DATE(2040,12,31))
There are a number of calculated columns in the table. One is the Date in LTC time. The formula is:-
TIA
6 Replies
- lbendlinSuper User
What is LTC, and are you saying it is 9 hrs ahead of UTC?
- AnonymousNot applicable
Correct. The data is in UTC, but the users are in Sydney (UTC+9 currently).
The reason we are looking at this is the Date Slicer, relative date slider only works on UTC time, and therefore we cannot get today's information until after 9 am using that day. Getting a bit desperate to sort the issue out. Using a Date Offset and a slider to choose the dates we need was the last option to make sure that today was chosen, along with a number of previous days for comparison.
The problem appears to be that we need to set a refreshing time for the CalDate Table, to get the datediff function to rerun, and choose the right offset for today.
- lbendlinSuper User
Aren't you on AEST?
Anyway, this might help:
https://community.powerbi.com/t5/Desktop/Convert-UTC-to-local-time-zone-in-DAX/td-p/43328