Forum Discussion
STS_Joshua
Helper II
7 years agoUTC time zone work around help
Hi all, I have a report that uses the TODAY() function to calculate a few things such as sales made today: today = CALCULATE(SUMX('Open','Open'[Quantity]*'Open'[Price]*'Open'[DocRate]),'Open'[DocDa...
- 7 years ago
Hi STS_Joshua
Please check if below formula could help.
today = SUMX ( FILTER ( 'Open', 'Open'[DocDate] = LASTDATE ( 'Open'[DocDate] ) ), 'Open'[Quantity] * 'Open'[Price] * 'Open'[DocRate] )Regards,
STS_Joshua
Helper II
7 years agoAs I mentioned above, I changed all the TODAY() to NOW()-(6/24) and that is displays the time in the right time zone. The strange thing is that when I went to access the report sales for the day went to (Blank) after 1800MST (UTC-6) while the time still showed as correct for the time zone.
v-cherch-msft
Microsoft Employee
7 years agoHi STS_Joshua
Please check if below formula could help.
today =
SUMX (
FILTER ( 'Open', 'Open'[DocDate] = LASTDATE ( 'Open'[DocDate] ) ),
'Open'[Quantity] * 'Open'[Price] * 'Open'[DocRate]
)
Regards,