cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FreedJustine
Helper I
Helper I

Date Slicer not updating after the scheduled refresh

Need some help. After schedule refresh, datasets are updated however my date slicer is still stuck in yesterday's date, I need to manually refresh so it will reflect the date slicer.

 

FreedJustine_0-1654224658726.pngFreedJustine_1-1654224689151.png

 

 

I use 2 date table

DATE_ =
ADDCOLUMNS (
CALENDAR (DATE(2022,1,1),TODAY()),
"DateAsInteger", FORMAT ( [Date], "YYYYMMDD" ),
"Yr.", YEAR ( [Date] ),
"Monthnumber", FORMAT ( [Date], "MM" ),
"YearMonthnumber", FORMAT ( [Date], "YYYY/MM" ),
"YearMonthShort", FORMAT ( [Date], "YYYY/mmm" ),
"Month", FORMAT ( [Date],"mmm" ),
"MonthNameLong", FORMAT ( [Date], "mmmm" ),
"Mo. & Yr.", FORMAT([Date],"MMM YYYY"),
"DayOfWeekNumber", WEEKDAY ( [Date] ),
"DayOfWeek", FORMAT ( [Date], "dddd" ),
"DayOfWeekShort", FORMAT ( [Date], "ddd" ),
"Qtr.", "Q" & FORMAT ( [Date], "Q" ),
"YearQuarter", FORMAT ( [Date], "YYYY" ) & "/Q" & FORMAT ( [Date], "Q" ),
"DateNo.",FORMAT([Date],"DD")
)
___________________________________
___________________________________
 
SpecialDates =
VAR _datetable = DATE_
VAR _today = TODAY()
VAR _month = MONTH(TODAY())
VAR _year = YEAR(TODAY())
VAR _thismonthstart = DATE(_year,_month,1)
VAR _thisyearstart = DATE(_year,1,1)
VAR _lastmonthstart = EDATE(_thismonthstart,-1)
VAR _lastmonthend = _thismonthstart-1
VAR _thisquarterstart = DATE(YEAR(_today),SWITCH(true,_month>9,10,_month>6,7,_month>3,4,1),1)


RETURN UNION(
ADDCOLUMNS(FILTER(_datetable,[Date]=_today),"Period","Today","Order",1),
ADDCOLUMNS(FILTER(_datetable,[Date]=_today-1),"Period","Yesterday","Order",2),
ADDCOLUMNS(FILTER(_datetable,[Date]>_today-7),"Period","Last 7 Days","Order",3),
ADDCOLUMNS(FILTER(_datetable,[Date]>=_thismonthstart),"Period","This Month","Order",4),
ADDCOLUMNS(FILTER(_datetable,[Date]>=_thisquarterstart),"Period","This Quarter","Order",5),
ADDCOLUMNS(FILTER(_datetable,[Date]>=_thisyearstart),"Period","This Year","Order",6),
ADDCOLUMNS(FILTER(_datetable,[Date]>_today-30),"Period","Last 30 Days","Order",7),
ADDCOLUMNS(_datetable,"Period","Custom...","Order",8)
)
 
 
 
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

That is working as designed. The only scenarios that will automatically refresh the browser screen is a dashboard behind a dataset that just got updated,  or a report with direct query data source and automatic page refresh.

View solution in original post

2 REPLIES 2
ribisht17
Super User
Super User

@FreedJustine 

 

@lbendlin  answer is correct but 

A few worarounds here Solved: Slicer on Filtered Dataset not updating online - Microsoft Power BI Community

 

Regards,

Ritesh

Mark my post as a solution if it helped you| Munde and Kudis (Ladies and Gentlemen) I like your Kudos!! !!
My YT Channel Dancing With Data !! Connect on Linkedin !!Power BI for Tableau Users 

lbendlin
Super User
Super User

That is working as designed. The only scenarios that will automatically refresh the browser screen is a dashboard behind a dataset that just got updated,  or a report with direct query data source and automatic page refresh.

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors