G
Guest
I keep getting an error message saying "Invaid precision for decimal data
type" when I try to run the query I've included below. How can I get this to
work?
(I'm using the design grid, but I thought it might be easier to understand
what I'm trying to do if I post the query in SQL.)
TRANSFORM Avg([Gyn Util by Report Group].PaidAmt) AS AvgOfPaidAmt
SELECT [Gyn Util by Report Group].Dx1Code AS [Diagnosis Code], [Gyn Util by
Report Group].Dx1Desc AS [Diagnosis Description]
FROM [DxCodes for Analysis] INNER JOIN [Gyn Util by Report Group] ON
[DxCodes for Analysis].DxCode = [Gyn Util by Report Group].Dx1Code
GROUP BY [Gyn Util by Report Group].Dx1Code, [Gyn Util by Report
Group].Dx1Desc
PIVOT [Gyn Util by Report Group].ReportGroup;
type" when I try to run the query I've included below. How can I get this to
work?
(I'm using the design grid, but I thought it might be easier to understand
what I'm trying to do if I post the query in SQL.)
TRANSFORM Avg([Gyn Util by Report Group].PaidAmt) AS AvgOfPaidAmt
SELECT [Gyn Util by Report Group].Dx1Code AS [Diagnosis Code], [Gyn Util by
Report Group].Dx1Desc AS [Diagnosis Description]
FROM [DxCodes for Analysis] INNER JOIN [Gyn Util by Report Group] ON
[DxCodes for Analysis].DxCode = [Gyn Util by Report Group].Dx1Code
GROUP BY [Gyn Util by Report Group].Dx1Code, [Gyn Util by Report
Group].Dx1Desc
PIVOT [Gyn Util by Report Group].ReportGroup;