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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Show Data of last refresh date in Report

Hello All,

 

It would be a great help if someone provide a good solution for my Q.A mentioned below.

 

In my report, i have a refresh date column through which user will have feasibility to see past data. i will use this column as slicer. Now, when ever my report got refreshed i want to see data of only last refresh date value. 

 

Pls help me out on this.

 

TIA

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

I suggest you create a query parameter by last refreshed date :

 

DateTime.Time(DateTime.LocalNow())

 

Then filter your raw data by it:

 

= Table.SelectRows(#"Removed Columns2", each [orderdate] = Parameter1)

 

For more details, please refer to https://www.enhansoft.com/how-to-add-the-last-refreshed-date-and-time-to-a-power-bi-report/ and https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/

 

Best Regards,

Dedmon Dai

View solution in original post

6 REPLIES 6
amitchandak
Super User
Super User

Refer:https://community.powerbi.com/t5/Desktop/Last-Refresh-of-Data/m-p/211381

https://community.powerbi.com/t5/Desktop/Last-Refresh-Date-Alternative-Solution/m-p/469651

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

@amitchandak  and @KBO ,
just to make clear, my requirment is not to show the last refresh date in report, i want to filter the whole report data with the latest refresh date.

Hi @Anonymous ,

 

I suggest you create a query parameter by last refreshed date :

 

DateTime.Time(DateTime.LocalNow())

 

Then filter your raw data by it:

 

= Table.SelectRows(#"Removed Columns2", each [orderdate] = Parameter1)

 

For more details, please refer to https://www.enhansoft.com/how-to-add-the-last-refreshed-date-and-time-to-a-power-bi-report/ and https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/

 

Best Regards,

Dedmon Dai

If you have a date calendar. Assume sales table represent the most recent data

Have a new column like

Lastest = if(Date[Date]= maxx(Sales,[Sales Date]),"Latest","Other")

 

You can use this as a filter.

 

Refer : https://www.youtube.com/watch?v=HBFc1eBSfb8

https://community.powerbi.com/t5/Desktop/Latest-Date-Filter/td-p/556579

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
KBO
Memorable Member
Memorable Member

Hi @Anonymous ,

than use this methode :):

Date 3.jpg

You can set this also on page level ;).

Choose the last day or today, what you like ;).

 

Best,

Kathrin

 

 

 

 

If this post has helped you, please give it a thumbs up!
Did I answer your question? Mark my post as a solution!

KBO
Memorable Member
Memorable Member

Hi @Anonymous ,

you can choose this methode:

https://www.excelguru.ca/blog/2016/06/08/display-last-refreshed-date-in-power-bi/

 

 

or you can set the field on earliest date:

Date 2.jpg

Best,

Kathrin

 

 

 

 

If this post has helped you, please give it a thumbs up!
Did I answer your question? Mark my post as a solution!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.