How do I seperate Info on a report?

  • Thread starter Matt W via AccessMonster.com
  • Start date
M

Matt W via AccessMonster.com

I've built a report based on a crosstab query of Dates, Stores, Approved
Credits, Denied Credits and Costs. The report is Grouped first by Month, then
by Stores. There are three summeries for each store. Approved Credits: Sum,
Avg,Total; Denied Credits: Sum,Avg,Total; and Summery: Sum,Avg,Total.

The report shows the groupings correctly. However I need to show the cost by
store of the Approved Credits and Denied Credits seperately. In this report
it lumps them together. In design view I can see that it shows =sum([Cost])
for both approved and denied. What do I type in to make it differentiate?

Thanks in Advance.
Matt Wollert
 
G

George Nicholson

Maybe something like:
=Sum(iif([DeniedCredit]>0, [Cost], 0))
=Sum(iif([ApprovedCredit]>0, [Cost], 0))

Not sure what Denied/Approved Credits contains (number, T/F or string), but
the above would probably work with a numeric or T/F field.

HTH,
 

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