Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
esam
Frequent Visitor

Power Bi report after refresh not reflecting the latest date.

Spoiler

 

 

Hi Fam,

So in power query I have created a column in some of my table as rundate with date.localnow()

so it shows the today's date 

and then I added those columns in my table visual report but even after successfully refreshing the semantic model in power bi service the Rundate is not getting updated in my report

i have to manually go into power bi desktop or query and refresh the dataset then only it is reflecting.

please help with solution

8 REPLIES 8
Anonymous
Not applicable

Hi @esam ,

Based on the testing, create a column to show local now tiem. After refreshing the semantic model, try to refresh the page.

vjiewumsft_0-1735114144701.png

 

vjiewumsft_0-1734421256166.png

vjiewumsft_0-1733735107966.png

But, power bi service datetime default set to UTC.

 

Best Regards,

Wisdom Wu

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

powerbiexpert22
Impactful Individual
Impactful Individual

Hi @esam , you will have to set up refresh in power bi service to make it work

Hi @powerbiexpert22 my refresh is set 

does it only reflect in schedule refresh or refresh now does the same ? 

Hi @esam ,

 

power bi service doesn’t automatically recalculate or refresh those types of dynamic columns like  rundate () after the initial dataset refresh , refresh now happens in desktop which recognize the rundate()

@powerbiexpert22  So if I run the refresh in power bi service the Rundate will not change until and unless I open the pbix file and refresh that file in power bi desktop ? 
is that what you're saying ? 

Hi @esam 

no, i meant ..try to set up schedule in power bi service and see whether it is showing expected results

Kaviraj11
Super User
Super User

Try this  and adjust your timezone accordingly if you are in region with time change else go with below code:

let

    CurrentDateTime = DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), -5),

    AdjustedDateTime = if DateTimeZone.ToLocal(CurrentDateTime) <> DateTimeZone.ToLocal(DateTimeZone.SwitchZone(CurrentDateTime, -4)) then DateTimeZone.SwitchZone(CurrentDateTime, -4) else CurrentDateTime

in

    AdjustedDateTime

---------------------------------------------------------------

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




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi Kaviraj, 

the thing is the data model should reflect the next day the correct date but I'm not getting that it seems even after refreshes power bi is not reflecting though the refreshes are successful 

image.jpg

 this is even after multiple refreshes 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.