Also @QMcKay (sorry to call} but I am trying to use your explanation of using 2 parameters in a Report ‘$1’ and ‘$2’ created from a single {REPORT SQL DETAILS:x} command.
This syntax almost meets a departmentalised report:
Delimiter should be the last section so it should be either
@{REPORT SQL DETAILS:SELECT Departments.Id FROM Departments:F.Id::,}
or
@{REPORT SQL DETAILS:SELECT Departments.Id FROM Departments:F.Id::{0}:,}
Seems like you defined both line format and value delimiter on last section and it thought you want to generate rows each ending with a comma.
PS {0} is not needed as you’re already fetching single value. In some cases we fetch 2 values, group by one of them (by using sum or distinct) and use the other value as report parameter… We use {0} (or {1} in some cases) to build a parameter list from that specific value (column). That is useful if your parameter list query returns non-distinct values.