Hello,
I am working on an SSRS Report where the user selects Month (Jan-Dec) and Year(2022,2021..) as custom parameters. After the user selection, the report should return all the applied leave requests that fall under this range based on the start/end date of the request.
The table resides in dataverse and below is a sample data in an excel sheet:

As you see the start/end dates are formatted in a full-day format and the problem is the below:
I am struggling in building the fetch XML query which should filter the leave requests based on the "Month" and the "Year" selected from the parameters against the start/end date columns since they are in mm-dd-yyyy. In our requirements, the user is not allowed to select from/to dates only month and year.
Example: If the user selects the current month "August" and the Year "2022" the fetchXML should return all the leave requests requested during this period.
What will be the workaround to pass "Year" and "Month" to the fetchXML and return the needed result knowing that the date format is mm-dd-yyyy in the table? Could you please provide an example?
In addition, Is it possible to deploy an SSRS report to PowerApps by using SQL query instead of FetchXML? Because in SQL it can be done very easily.
Mark Carrington would highly appreciate your support and any help is greatly appreciated.
Thank you!