Is there any way to filter data from CDS by month in ODATA filter section?
Something like:
month(birthdate) eq 11
I have also tried this:
contains(birthdate,'-11-')
but contains only accepts strings 😞
Any ideas?
Thanks in advance.
Hi @Bubbler
Not sure you can directly apply that filter via ODATA. You could do the following way.
Above expression I used is as follows:
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsI 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.
Hi @Bubbler
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.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsJoin digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.