@bbsin ,
People Picker Display Name: To display just the name from a People Picker field in SharePoint, you need to ensure you're referencing the .DisplayName property of the field. However, if you're dealing with a dropdown control, you should be able to just use Dropdown.Selected.DisplayName or for a gallery, ThisItem.PeoplePickerField.DisplayName.
So, if your People Picker field in SharePoint is EventIC, the formula to display the name would be something like ThisItem.EventIC.DisplayName.
Filtering the Gallery: To filter based on dropdowns, your formula should look something like this:
Filter(
'L&OD Programme Plan Tracking',
(IsBlank(drpStatus.Selected.Value) || EventStatus.Value = drpStatus.Selected.Value) &&
(IsBlank(drpUser.Selected.Value) || EventIC.Email = drpUser.Selected.Email)
)
Gallery Display for Date Range: Your formula for filtering based on the date range looks correct, but ensure that _firstDayInView is properly set to the first visible day in your calendar view and that TimeUnit.Days is the appropriate interval you want to use.
Filter(
'L&OD Programme Plan Tracking',
EventStartDate <= DateAdd(_firstDayInView, ThisItem.Value, TimeUnit.Days) &&
EventEndDate >= DateAdd(_firstDayInView, ThisItem.Value, TimeUnit.Days)
)
If the provided information resolves your query, I'd appreciate it if you could mark it as the solution and leave a thumbs up. Thank you! 😊