Forum Discussion
Koritala
10 months agoPost Patron
Custom 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...
- 9 months ago
Hi Ugendar,
Thanks for your solution. it working as expected.
Kedar_Pande
10 months agoSuper User
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
9 months agoPost Patron
Hi Kedhar,
can you please share the pbxi file. I couldn't get the result.
Thanks,
Sri