Forum Discussion
2 default dates in slicer
- 9 months ago
lauriedata you should have a new column for default selection and use that as a slicer:
New Column for Slicer = VAR __Today = TODAY () VAR __Date = 'Calendar'[Date] RETURN SWITCH ( TRUE (), __Date = __Today, "Current Date", __Date = __Today - 1, "Prev Date", __Date )Select "Current Date" and "Prev Date" in the slicer; these will be the default selection for every day, and users can pick one if required.
- 9 months ago
Hi lauriedata
Just checking in to see if the previous response helped resolve your issue. If not, feel free to share your questions and we’ll be glad to assist.
lauriedata you should have a new column for default selection and use that as a slicer:
New Column for Slicer =
VAR __Today = TODAY ()
VAR __Date = 'Calendar'[Date]
RETURN
SWITCH (
TRUE (),
__Date = __Today, "Current Date",
__Date = __Today - 1, "Prev Date",
__Date
)
Select "Current Date" and "Prev Date" in the slicer; these will be the default selection for every day, and users can pick one if required.
- v-aatheeque9 months agoCommunity Support
Hi lauriedata
Just checking in to see if the previous response helped resolve your issue. If not, feel free to share your questions and we’ll be glad to assist.