Forum Discussion

mdaamirkhan's avatar
mdaamirkhan
Post Prodigy
5 years ago
Solved

Last Refresh data issue

Hi All   I have create Last Refresh Date using M Query and dax. i want to used GMT +6 time zone. Its working fine in PC in the pbix file but when I publish the report its showing wrong value. Can y...
  • v-robertq-msft's avatar
    5 years ago

    Hi, mdaamirkhan 

    According to your description and sample DAX formula, it seems that you are facing the problem that the time zone can’t sync when the report is published to the web service.

     

    This is because the power bi service only supports UTC DateTime currently. It doesn’t contain any features that can auto transform DateTime based on location.

     

    Here’s a blog that describes several ways to deal with this kind of problem:

    https://radacad.com/solving-dax-time-zone-issue-in-power-bi

     

    You can also vote for and comment on the below idea submitted by other users, so the Power BI team can update that issue asap.

    https://ideas.powerbi.com/ideas/idea/?ideaid=6636c895-418e-4477-9e68-f216c3162015

     

    Thank you very much!

     

    Best Regards,

    Community Support Team _Robert Qin

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • v-robertq-msft's avatar
    v-robertq-msft
    5 years ago

    Hi, mdaamirkhan 

    The reason why this problem happens is explained in my first reply:

     

    This is because the power bi service only supports UTC DateTime currently. It doesn’t contain any features that can auto transform DateTime based on location.

     

    And it’s also an issue with great influence in the Power BI idea, you can also vote for and comment on the below idea submitted by other users, so the Power BI team can update that issue asap.

    https://ideas.powerbi.com/ideas/idea/?ideaid=6636c895-418e-4477-9e68-f216c3162015

     

     

    In my opinion, if you usually view your reports in the Power BI service most of the time, I suggest you to use the DAX formula I posted above to make the DateTime display correctly in the Power BI service. This is also the most effective way to use at present.

     

    Thank you very much!

     

    Best Regards,

    Community Support Team _Robert Qin

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.