Hi, i have two tables and want to make a sort of merged one.
tableA
- classID (int)
- className (text)
tableB
- classID
- studentID
i need to generate a new joint table showing me:
- classID
- studentCount
- className
how to do that? i tried adding this to a button but it gives me "error when trying to retrieve data..."
ClearCollect(
myNewTable,
AddColumns(
GroupBy(
tableB,
"classID",
"students"
),
"studentsCount",
CountRows(students),
"className",
LookUp(
tableA,
ThisRecord.classID = classID
).className
)
)should i do differntly? should i use a ForAll? i never used that function and it seems quite messy

Report
All responses (
Answers (