Hi everyone,
@WarrenBelz provided a solution to the following post.
I was wondering if I could take this further and apply a condition to the concat statement?
In the example below, I want to combine multiple rows into a single row based on a common identifier (Role ID) and where the Active column equals “Yes”
Best regards,
Ami
Thanks for the solution @Drrickryp.
Long shot, but is there a way to do this without filtering the source table? There could be a scenario in future where I need to concat an additional column from the same table, but without filtering on active.
ClearCollect(
col_ConcatEmployees,
AddColumns(
GroupBy(
People_Data,
"cr37a_role_id_display",
"Data"
),
"Assigned Employees",
Concat(
Data,
new_employeename,
", "
),
"People_RecordID",
Text(
Concat(
Data,
new_people_dataid,
", "
)
)
)
);
With({_items: Filter( People_Data_Table, Active ='Yes')},
AddColumns(
GroupBy(
_items,
"Role ID",
"Data"
),
"Role",
First(Data).Role,
"Assigned Employees",
Concat(
Data,
Name,
","
)
)
)
MS.Ragavendar
32
Rajkumar_M
16
Super User 2025 Season 1
mmbr1606
16
Super User 2025 Season 1