Hi - I am a beginner with Power Apps. I would appreciate any insights on the issue -
The first argument to the Group By Function cannot be blank. would it be because OfficeManagers having no values. OfficeManagers is declared under global variables
SortByColumns(
GroupBy(
AddColumns(
Filter(
OfficeManagers,
Len(EMAIL) > 0
),
"DisplayText",
FORMATTED_FULL_NAME & " (" & Left(
EMAIL,
Find(
"@",
EMAIL
) - 1
) & ")"
),
"DisplayText",
"OFCMGR_EMP_ID",
"EMAIL",
"grouping"
),
"DisplayText",
SortOrder.Ascending
)