Forum Discussion

adnankabina's avatar
adnankabina
Helper II
5 years ago
Solved

Refresh time on visual

I want to show Estern time on my visual. I have schedule for every 2 hours to refresh my data.  what I did on measure Last Refreshed Time = UTCNOW()-TIME(4,0,0) It is showing fine but it should s...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi adnankabina ,

     

    In your scenario, you should use Calculated Column or M Query instead of Measure.

    The former will refresh time after the dataset was refreshed, the latter will refresh time after the page was refreshed.

    For calculated column, right click on the table and create a new column using your formula.

    For M Query, open query editor and add custom column with below formula.

    DateTime.LocalNow() + #duration(0,4,0,0)

     

    Best Regards,

    Jay