Forum Discussion
Running Measure filter
Hi,
Is it possible to filter the page to say only display when e.g. table1[End Date] is greater than the Parameter[start date]?
I was hoping this could be a running measure if thats possible?
Thanks
Liam
Anonymous
Check the attached file. I created a relationship between Parameter Table and the Room Utilization Table. Added a New Column in Room utilization table to Flag more than MIN. The Report filters the new column with value TRUE.
https://1drv.ms/u/s!AmoScH5srsIYgYImqrSWw9X3ydaXuw?e=NDL21k________________________
Did I answer your question? Mark this post as a solution, this will help others!.
I accept KUDOS 🙂
16 Replies
- AnonymousNot applicable
you could add a custom column
= Table.AddColumn(#"Renamed Columns", "Custom", each if [End Date] > [Start Date] then [End Date] else null)
then filter out the null values.
- AnonymousNot applicable
Hi Anonymous ,
Apologies, it will be a parameter date so e.g. MIN(date[date]), which will be a moving date so I dont think this will work in a column form.
Thanks
Liam
- FowmySuper User
Anonymous
Create Measure like MyParameterDate
Add new column in the calendar table in the model as: Calendar[Date] < MyParameterDate
Now place that New Column in the page filter and set to TRUE.This will dynamically filter the calendar table based on the measure value.
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
I accept KUDOS 🙂
- amitchandakSuper User
Anonymous , date slicer you have an option for greater than there is a small icon on slicer to change type.
- AnonymousNot applicable
Hi amitchandak ,
I dont think that would let me on the standard filter.
I only want it so the end date field is greater than e.g. below 01/01/2020 (first parameter), but it wont let me reference the measure there.
Is this possible?
- amitchandakSuper User
Anonymous , No, you are not allowed to have function, static you can have.
This Min is based on some other parameter ??