G
Guest
I know this is going to be easy for most of you, but I'm stuck. I am trying
to build a report off a query. The query is basically just giving me the
sales for my team in a date range. I've built the report in the layout that
I want, but I need to do calculations now. I know I have to use a text box,
and type an expression in the control source, but I don't know what to time.
I have 7 different people that I need to calculate for. Here are the
calculations I'm needing:
Number of Total Sales in the query per person
Number of Total Lines in the query per person
Number of sales that have the value "Access","LD","DSL" in a cell
Total Monthly Revenue
Total Contract Value
The Label for the sales person is called [SSC]
The Label for the total lines is [Total Lines]
The Label for the access, ld, dsl value is [Comp Category]
Monthly Revenue is [NNI]
Total Contract Value is [TCV]
I tried doing this, IIF([SSC]="Name",count([SSC],0)) This counted every sale
because the persons name was in the list. I also tried
=sum(IIF([SSC]="Name",[NNI],0)) That didn't work either. If I made any
sense here, can you help?
to build a report off a query. The query is basically just giving me the
sales for my team in a date range. I've built the report in the layout that
I want, but I need to do calculations now. I know I have to use a text box,
and type an expression in the control source, but I don't know what to time.
I have 7 different people that I need to calculate for. Here are the
calculations I'm needing:
Number of Total Sales in the query per person
Number of Total Lines in the query per person
Number of sales that have the value "Access","LD","DSL" in a cell
Total Monthly Revenue
Total Contract Value
The Label for the sales person is called [SSC]
The Label for the total lines is [Total Lines]
The Label for the access, ld, dsl value is [Comp Category]
Monthly Revenue is [NNI]
Total Contract Value is [TCV]
I tried doing this, IIF([SSC]="Name",count([SSC],0)) This counted every sale
because the persons name was in the list. I also tried
=sum(IIF([SSC]="Name",[NNI],0)) That didn't work either. If I made any
sense here, can you help?