Hi! I'm using a powerapp to manage meetings rooms.
I need to be able to get the LAST created outlook meetings of my calendar and collect them. This is what I'm using but for some reason it doesn't prioritize the last created ones therefore when there's too many of them the last created ones are being left out when I want the exact opposite to happen. This is the code to get them:
ClearCollect(
MyCalendarEvents;
Sort(
Office365Outlook.GetEventsCalendarViewV3(
MyCalendar;
Text(
_minDate;
UTC
);
Text(
_maxDate;
UTC
);{'$orderby': "createdDateTime"}
).value
; createdDateTime;Descending))
I though that by using 'orderby' my problem would've be solved. Is the first time I'm using Odata so I may be doing it wrong.
Please save me 😁