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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How to restrict dates column to today's date

Hello,

 

I have the following table and i want to filter only the dates up until today's date. That is, every time the report is refreshed, it should only show all the rows in the table up to today's date. In other words, all the rows with the dates after today's date should be hidden.

 

Any help would be much appreciated!

 

DateStudent NameSubmissionsFeedback
03/01/2022Lizui42
06/01/2022Laufenburg75
11/01/2022Tegalpapak88
12/01/2022Ar Rabiyah56
22/01/2022Bellegarde38
21/01/2022Gangarampur33
25/02/2022Luntas11
26/02/2022Frei Paulo65
26/03/2022Seedorf21
03/04/2022Bellegarde34
05/04/2022Gangarampur37
11/04/2022Luntas12
09/05/2022Cosamaloapan de Carpio73
15/05/2022Zagrodno99

 

I placed the table above into a table visualization in Power BI, as shown below. I am also trying to show the title of that table as dynamic with the last date that the data was refreshed. How to do this?

 

MakeItReal_0-1646444541852.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

1. Create a flag measure,And apply it to filter pane , set as "is 1":

Flag = IF(MAX('Table'[Date])<=TODAY(),1,0)

2. Create a measure for dynamic header, and apply it to Title Text field in General pane:

Dynamic header = "Date refreshed on "&TODAY() 

Final output:

Eyelyn9_0-1646729700218.png

 

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

1. Create a flag measure,And apply it to filter pane , set as "is 1":

Flag = IF(MAX('Table'[Date])<=TODAY(),1,0)

2. Create a measure for dynamic header, and apply it to Title Text field in General pane:

Dynamic header = "Date refreshed on "&TODAY() 

Final output:

Eyelyn9_0-1646729700218.png

 

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

jianlong
Resolver I
Resolver I

Here is the link for showing refresh date/time. 

https://askgarth.com/blog/how-to-add-the-last-refreshed-date-and-time-to-a-power-bi-report/

 

You can use the refresh date/time as a benchmark, to select all the rows with time before this. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors
Top Kudoed Authors