Does anyone know a workaround in PS Query for using a prompt in a group by with SQL SERVER
I get the error message
Error in running query because of SQL Error, Code=8601, Message=[Microsoft][SQL
Server Native Client 11.0][SQL Server]Each GROUP BY expression must contain at
least one column that is not an outer reference
Thanks, Margo Spencer