Forum Discussion
SLima
4 years agoHelper I
Min date filter
I need get min date the filter. shown in example
- Anonymous4 years ago
Hi SLima ,
You can create a column like below:
Min Date= EOMONTH(Table[Date],-1)+1Hope it helps,
Community Support Team _ CaitlynIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
4 years agoSuper User
SLima , if you have slicer, you can create var in measure like given below
measure =
var _max = maxx(allselected('Date'),'Date'[Date])
var _min = minx(allselected('Date'),'Date'[Date])
return
<Code>
- SLima4 years agoHelper I
No, I need it to return the first date of the selected month.
filter = 01/10/2021 - 21/11/2021
Return = 01/10/2021
filter = 04/10/2021 - 21/11/2021
Return = 01/10/2021
filter = 20/10/2021 - 21/11/2021
Return = 01/10/2021
filter = 30/11/2021 - 21/12/2021
Return = 01/11/2021