Forum Discussion
Nicki
7 years agoHelper III
Datetime slicer
Hi , If we want to filter data between 05/01/2019 01:20:50 AM to 05/26/2019 10:10:30 PM, there is no slicer except list and drop down and It is very hard to select a time. I come up with this...
- 7 years ago
Thanks.
I have lots of charts and do not want to add to each visual chart.
Nicki
Nicki
7 years agoHelper III
Thank you for your respond.
I have two slicers for date and time and slider for time is off.
In this case, users can enter any time.
The only things, we can enter any number in slicer.
Is there any way I can check the Number (Hour 1-23 and minute 0-59) for slicer like if parameter?
Regards,
Nicki
v-yuta-msft
7 years agoCommunity Support
Nicki ,
The slicer doesn't have this feature. As a workaround, you can create two measures using DAX like:
Is_Hour_Valid =
IF (
SELECTEDVALUE ( Table[Hour] ) >= 1
&& SELECTEDVALUE ( Table[Hour] ) <= 23,
"Valid",
"Invalid"
)
Is_Minute_Valid =
IF (
SELECTEDVALUE ( Table[Hour] ) >= 0
&& SELECTEDVALUE ( Table[Hour] ) <= 59,
"Valid",
"Invalid"
)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.