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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
christianfcbmx
Post Patron
Post Patron

Refresh Dahboard to the day before

Hi Dear Community,

 

I need and advice on how to set my dashboard to be updated automatically to the day before, meaning not considering the data related to he actual date

 

Any Suggestion?

 

Thank you in advance!

4 REPLIES 4
chethan
Resolver III
Resolver III

@christianfcbmx Lets refresh for today & Set RLS for Day before date & assign in Service

 

 

Regards,

Chetan K 

Anonymous
Not applicable

It's not perfect, but what if you set the Dataset refresh to only refresh once a day, make the time displayed 11:30pm.  You would then capture almost all of your data from the current day, and when users look at the dashboard, the last update will be from the previous day. (Except for those looking just post your dataset refresh).  You could also mess with the timezones to get closer to your target time for the data to be refreshed. 

Im trying to solve it over desktop with some DAX...any Idea?

It wasn't in DAX, but in PowerQuery I added a custom line to only populate the date table through the current date.  It could be modified to be the previous date.

 

= Table.SelectRows(#"Changed Type", each [Date] <= Date.From(DateTime.LocalNow()))

I suppose removing the " = " would get the date table to only have values up to yesterday.

 

Hope this helps

David

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.