You can configure Current and Last month date filter with the Relative Date option in the Date Picker widget.
Follow these steps to configure the Last Month and Current Month relative date options.
After configuring the date picker widget with the date column, go to the Properties tab and enable the Range
property to enable the Relative Date filter option of this widget.
Navigate to Assign Data tab, click on the Setting
icon of the dropped column, and click on the Relative Dates
filter option.
In the Pop-up window, select the Last or Current
item from the left end drop down and Month(s)
from the right-side dropdown and click Add
. Finally click Apply
to save the changes.
In the preview, you can see that the added relative date filter items will be added like in the following screenshot.