If(
varUsageClaims = true,
Filter(
Claims,
Title = Gallery3_1.Selected.authorisation
),
Sort(
With(
{
_preFilter: Filter(
AddColumns(Claims,wma,LookUp(Events As _events,_events.theeventID=eventID).wma.Value),
startdatetime >= (DatePickerFrom_1.SelectedDate) && (enddatetime <= DatePickerTo_1.SelectedDate) && (StartsWith(
Title,
TextInput7.Text
) || StartsWith(
licensee,
TextInput7.Text
))&& wma=ComboBox4.Selected.Value
)
},
If(
!IsBlank(Searchbox.Selected.Result),
Filter(
_preFilter,
(eventID in Searchbox.SelectedItems.Result)
),
_preFilter
)
),
dateentered,
SortOrder.Descending
)
)
André Arnaud de Cal... 283,860 Moderator
Ludwig Reinhard Microsoft Employee
Martin Dráb 225,155 Moderator