I need to get the Sub-Datatable from the above datatable such that the Month name shall be referred and corrospoding range is gotten in the sub-datatable.
NOTE:- I have handled the variables, just need logic or idea to extract conditional Range.
Input variables
1.:- dtInput
2.:- InputMonth
For eg:
1.:- dtInput is as shown in abve dt
2.:- InputMonth is “18-Jul”
then output sub-datatable contains below:-
For eg:-
1.:- dtInput is as shown in abve dt
2.:- InputMonth is “19-Mar”
then output sub-datatable contains below:-
Hope the examples made it clear.
Note:- I do have multiple approaches but wanted a most efficient one.