Forum Discussion
Koritala
Post Patron
10 months agoCustom Date Range Slicer
Hi, Could you help me with the scenario below? I want to dynamically show the 2 differnt date slicers based on slicer value slection. In slicer, I should have 2 values, one is MTD, second on...
- 10 months ago
Hi Ugendar,
Thanks for your solution. it working as expected.
Kedar_Pande
Super User
10 months ago
Create a disconnected table with values MTD and Custom.
Use a measure to set min/max dates based on the selected value, e.g.:
DateFilter =
IF(SELECTEDVALUE(Slicer[Type]) = "MTD",
Dates[Date] >= STARTOFMONTH(TODAY()) && Dates[Date] <= TODAY(),
TRUE()
)
Apply this as a visual-level filter on your date slicer.
Koritala
Post Patron
9 months agoHi Kedhar,
can you please share the pbxi file. I couldn't get the result.
Thanks,
Sri