Need help with Percentages

P

Paul B.

This is my SQL statement:

SELECT Abs(Sum([Form2]="Filed")) AS Unit1Form2Filed,
Abs(Sum([CAMT]="Filed")) AS Unit1CAMTFiled, Abs(Sum([Form2]="Req & Rec")) AS
Unit1Form2ReqRec, Abs(Sum([CAMT]="Req & Rec")) AS Unit1CAMTReqRec,
Abs(Sum([Form2]="Outstanding")) AS Unit1Form2Outstanding,
Abs(Sum([CAMT]="Outstanding")) AS Unit1CAMTOutstanding, Abs(Sum([Form2]="Not
Required")) AS Unit1Form2NotRequired, Abs(Sum([CAMT]="Not Required")) AS
Unit1CAMTNotRequired, Abs(Sum(IsNull([Form2]))) AS Unit1Form2NoInfo,
Abs(Sum(IsNull([CAMT]))) AS Unit1CAMTNoInfo, Count(*) AS Total FROM tblUnit1;


I need to add percentages to each and I haven't had any luck using the
examples from this forum.

Any help would be appreciated.

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top