How to send Selected Date from a drop down as input parameter to a different data view

I have a requirement, where I need to provide a drop down which would show only previous two month end dates. When the user selects any one of the value form the drop down this value should be available to other data views so that data can pulled based on the selected date value.
1 answers

Add an on change microflow to the first dropdown and in this on change refresh the dataview entity.

Populate the dropdown, depending on the first selection, by datasource microflow. This will get triggered once the on change triggers the refresh of the data view. In this datasource microflow, retrieve the selected value of the first dropdown and filter the list of objects you want to show in the second dropdown based on this.