Is there any way to filter data from CDS by month in ODATA filter section?
month(birthdate) eq 11
I have also tried this:
but contains only accepts strings 😞
Thanks in advance.
Not sure you can directly apply that filter via ODATA. You could do the following way.
Above expression I used is as follows:
I really need to filter by year and/or month at data source level, to avoid a huge amount of records to process in PA, as you suggested.
Thanks for the suggestion anyway.
Ok your other option is find the first and the last date of each month and use less than or greater to retrieve the values. You probably need some IF or Switch condition to determine which month and set the range of values in a variable or something. Finally use those values in your query.
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.