Hello strange thing is happening (maybe by design). I want to make a small 1 pager, that shows the next 3 calendar events, 3 flagged emails, etc.. a quick daily overview.
I have dropped in a Gallery and set Items = Filter(Office365Outlook.CalendarGetItems("Calendar").value,Start>=Now()). This results in 3 events, however not sorted by date/time. I tried wrapping a Sort() function around/in it but cannot seem to get it to work. Ideally i want to sort and show the next three events that will occur from Now().
Then i also want to display a Label showing human readable relative times like "Your next event is in 39 minutes". I am trying to achieve this with something like Text = Text(DateDiff(Now(),ThisItem.Start,Minutes),"[$-en-GB]hh:mm")
Ps. I used color to represent code, as the Code formatter is not working.. I click it and nothing, at all, happens..