So I have a collection, and I wanted to make a collection of these items because it is going to be used in a gallery. I thought this was going to make several columns in the collection. However, I realised that using distinct is going to return a table. So, I can no longer use the results in a label inside the gallery. I would appreciate any idea, and help
ClearCollect(
disPracTeam,
Distinct(
'dbJS.ISTaxes',
isTaxPracTeam
)
)*/
ClearCollect(
disPracTeam,
{
title: Distinct(
'dbJS.ISTaxes',
isTaxPracTeam),
grade: Distinct(
SortByColumns(
Filter(
'dbJS.dealsStaffMngrUps',
!IsBlank(GlobalGradeName)
),
"crfb2_globalgradename",
Ascending
),
GlobalGradeName
),
location: Distinct(
SortByColumns(
Filter(
'dbJS.dealsStaffMngrUps',
!IsBlank(OfficeLocationCity)
),
"crfb2_officelocationcity",
Ascending
),
OfficeLocationCity
),
name: Distinct(
SortByColumns(
Filter(
'dbJS.dealsStaffMngrUps',
!IsBlank(Name)
),
"crfb2_name",
Ascending
),
Name
)
}
);