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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.