Forum Discussion

JoCurry_Aus's avatar
JoCurry_Aus
Frequent Visitor
6 years ago
Solved

Date Filter Not Working When Using Gateway Refresh

The data I am working with ETLs to a data warehouse overnight and I refresh pbi datasets from the dw using sql via ODBC connection each morning.    I have created a calculated column in my dataset ...
  • Anonymous's avatar
    Anonymous
    6 years ago

    HI JoCurry_Aus ,

    Today function will get different results when you use on the local and power bi server-side.  AFAIK, current power bi service side only supports UTC format DateTime, it does not do any date timezone conversions.

    In my opinion, I'd like to suggest you to use UTCNOW function and local timezone offset to instead today function.

    Formula =
    VAR offset = 8
    RETURN
        UTCNOW + TIME ( offset, 0, 0 ) - 1
    

    DAX function UTCNOW

    Regards,

    Xiaoxin Sheng