Showing results for 
Search instead for 
Did you mean: 

Power BI Online Service today() not refreshing

I've created two columns using DAX formulas on Power BI Desktop, one is to calculate the number of days until a date listed in a separate column (using =[DATE]-today()) and the other is to return 1 or 0 depending on if there's 21 days until the listed date (using an IF function). The purpose is to be able to send an email alert when it's 3 weeks from the date listed. I think that I can do that with a card set to the max of the column returning 1 or 0 and send a Power BI alert for that card and use Microsoft Flow to send an email then. However, I can't get the column's formulas to update on ther Power BI Service. It updates fine each day (the "days until" steadily decreasing) in Power BI Desktop, but the number is frozen on the day I uploaded the report and dataset online. Even when I manually publish the report/dataset again from Power BI Desktop, the numbers don't update. How do I get the today() function, or any of the functions in the columns, to update on their own? Or is there a way I can schedule desktop to publish the report (if it will update the numbers) every day? If anyone has any better suggestions for how I can schedule an email alert to certain people 3 weeks from a listed date, that would also be very helpful!

Status: Needs Info
Community Support Team

Hi @liujessie39,


I will check my test mode tomorrow. BTW, did you set the scheduled refresh?


Best Regards,


Established Member
Status changed to: Needs Info
New Member

@v-jiascu-msft I did not, but I did look into it. Since it's only a table instead of an outside data source I wasn't sure if a scheduled refresh would be necessary or in what way to set it up. I considered if republishing from desktop would work but when I manually did so the numbers did not update online even though they were updated in desktop. 

Frequent Visitor

Hi liujessie39, did you manage to solve this issue? I have the same problem. I calculate a state based on TODAY() date, but my published report does not update. I have to reload it from the desktop everytime. 

The manual Refresh did not work either.


Thanks in advance!


New Member


I seem to have a similar issue. I have created a DAX date table with several calculated columns utilizing the function TODAY(). Yesterday I published my report to the PBI service. Today, none of these columns have updated on the PBI service, however, all updated on my desktop version upon opening the file.


That said, one standalone measure using TODAY() did refresh on the PBI service. This leads me to believe that TODAY() behaves differently in measures compared to in columns on the PBI service.


Today I have marked the table as a "Date Table"... I'm hoping that will fix the problem. Any ideas would be appreciated.


Here is my DAX date table:

DDateTable = 
CALENDAR (DATE(2010,1,1), DATE(2030,12,31)),
"ExcelDate", FORMAT([Date], "####" ),
"Year", YEAR([Date]),
"Quarter", SWITCH(MONTH([Date]),1,1,2,1,3,1,4,2,5,2,6,2,7,3,8,3,9,3,10,4,11,4,12,4),
"DayOfYear",DATEDIFF ( DATE ( YEAR ( [Date] ), 1, 1 ), [Date], DAY ) + 1,
"WeekendWeekday",IF(WEEKDAY([Date],2)>5,"Weekend","Week Day"),
"FYContextNum", (YEAR([Date])+(MONTH([Date])>=4))-(YEAR(TODAY())+(MONTH(TODAY())>=4)),
"FYContextVerbose", IF(YEAR([Date])+(MONTH([Date])>=4)-(YEAR(TODAY())+(MONTH(TODAY())>=4))=0,"Current FY",IF(YEAR([Date])+(MONTH([Date])>=4)-(YEAR(TODAY())+(MONTH(TODAY())>=4))=1,"Next FY",IF(YEAR([Date])+(MONTH([Date])>=4)-(YEAR(TODAY())+(MONTH(TODAY())>=4))=-1,"Previous FY",IF(YEAR([Date])+(MONTH([Date])>=4)-(YEAR(TODAY())+(MONTH(TODAY())>=4))>1,(YEAR([Date])+(MONTH([Date])>=4))-(YEAR(TODAY())+(MONTH(TODAY())>=4))&" FYs From Now",((YEAR([Date])+(MONTH([Date])>=4))-(YEAR(TODAY())+(MONTH(TODAY())>=4)))*-1&" FYs Ago")))),
"FYQContextVerbose", IF(DATEDIFF(TODAY(),[Date],QUARTER)=0,"Current Quarter", IF(DATEDIFF(TODAY(),[Date],QUARTER)=-1,"Previous Quarter", IF(DATEDIFF(TODAY(),[Date],QUARTER)=1,"Next Quarter",IF(DATEDIFF(TODAY(),[Date],QUARTER)>1,DATEDIFF(TODAY(),[Date],QUARTER)&" Quarters From Now",(DATEDIFF(TODAY(),[Date],QUARTER))*-1&" Quarters Ago")))),
"MonthContextVerbose",IF(DATEDIFF(TODAY(),[Date],MONTH)=0,"Current Month",IF(DATEDIFF(TODAY(),[Date],MONTH)=-1,"Previous Month",IF(DATEDIFF(TODAY(),[Date],MONTH)=1,"Next Month",IF(DATEDIFF(TODAY(),[Date],MONTH)>1,DATEDIFF(TODAY(),[Date],MONTH)&" Months From Now",DATEDIFF(TODAY(),[Date],MONTH)*-1&" Months Ago")))),
"DayContextVerbose",IF(DATEDIFF(TODAY(),[Date],DAY)=0,"Today",IF(DATEDIFF(TODAY(),[Date],DAY)=1,"Tomorrow",IF(DATEDIFF(TODAY(),[Date],DAY)=-1,"Yesterday",IF(DATEDIFF(TODAY(),[Date],DAY)>1,DATEDIFF(TODAY(),[Date],DAY)&" Days From Now",DATEDIFF(TODAY(),[Date],DAY)*-1&" Days Ago"))))



Idea Statuses