Forum Discussion
refint650
5 years agoHelper III
calendar filter
Hello All
Instead of date drop down slicers, if we choose between as show in image, can we get selected Max & Min dates..?
Ref
Hi refint650 ,
To get the max and min dates, first check whether the dates in the date slicer are continuously.
min_date = CALCULATE(MIN('Table'[Date]),ALLSELECTED('Table'[Date]))max_date = CALCULATE(MAX('Table'[Date]),ALLSELECTED('Table'[Date]))Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- V-lianl-msftCommunity Support
Hi refint650 ,
To get the max and min dates, first check whether the dates in the date slicer are continuously.
min_date = CALCULATE(MIN('Table'[Date]),ALLSELECTED('Table'[Date]))max_date = CALCULATE(MAX('Table'[Date]),ALLSELECTED('Table'[Date]))Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.