Forum Discussion
koorosh
Post Partisan
3 years agoCreate Slicer
Hi, Please check the attached file (testdays.pbix). I need a slicer on page one including 3 options. Option1- filter table visual based on dafediff >60.
Option2- filter table visual based on dated...
- 3 years ago
You need to add the Min field to the MeasureListTable and make sure it is a number.
The SelectedMeasure should be loooking at the Min column.
SelectedMeasure = SELECTEDVALUE(MeasureListTable[Min])Then you write the filter measure and apply it as a filter on your table.
Filter Measure = VAR _Days = [SelectedMeasure] RETURN CALCULATE ( COUNTROWS ( 'Table' ), FILTER ( VALUES ( 'Table'[DifferenceDays] ), 'Table'[DifferenceDays] >= _Days ) )I have attached your file with my updates.
jdbuchanan71
Super User
3 years agoOn the Days Filter table you should also sort the [Days Range] solumn by the [Min] Column so they appear in the correct order.