i want apply this query
select sum(NetAccountingCurrencyAmount),sum(GrossAccountingCurrencyAmount),count(Worker) from payrollPayStatement where payrollPayStatement.PayPeriod == payrollPayPeriodRecId exists join payrollPayStatementLine where payrollPayStatementLine.PayStatement==payrollPayStatement.RecId exists join hcmPosition where hcmPosition.RecId==payrollPayStatementLine.Position && strReplace(hcmPosition.PositionId, "-", "") like dimensionFinancialTag.Value;
but i getting this error
the problem is this field (hcmPosition.PositionId) content -
and i want compare it without -