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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

dynamic page filter / measure

Hi All, 

I can only create measures, not columns. 

 

I have created a page filter for the date column, and I want to filter the 'most recent date' for example 21/12/2019, and also the last three dates which are the last day in the previous months. 
When the database updates overnight, the most recent date changes, for example, 21/12/2019 to 22/12/2019. 

My page filter then removes the most recent but does not select the new most recent.  22/12/2019.  

Is there a way i can solve this with a mesasure.  

I already have a measure built into the database which is a most recent flag..  this show a 1 on all rows with the most recent date, and a 0 on all other row. 

 

Thanks in advance for any help.

 

datemeasure1measure 2
31/07/2019a12
31/07/2019b12
31/07/2019c1
31/08/2019a1
31/08/2019b2
31/08/2019c6
30/09/2019a3
30/09/2019b3
30/09/2019c5
31/10/2019a4
31/10/2019b3
30/11/2019a2
30/11/2019b1
21/12/2019a1
21/12/2019b2
1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

Maybe you can use Dynamic Date dimension for this

https://community.powerbi.com/t5/Community-Blog/Relative-Date-Dimension/ba-p/779039

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

 

View solution in original post

1 REPLY 1
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

Maybe you can use Dynamic Date dimension for this

https://community.powerbi.com/t5/Community-Blog/Relative-Date-Dimension/ba-p/779039

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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