Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

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