Suppose I have the following table where Type,1stPOS,2ndPOS,3rdPOS,4thPOS are the fields:
Type 1stPOS 2ndPOS 3rdPOS 4thPOS
Red 1 1 1 1
Blue 2 2 2 2
Blue 2 2 2 2
And I'm trying to place a total field in a new Report.
I got the following to work:
=Sum([1stPOS])+Sum([2ndPOS])+Sum([3rdPOS])+Sum([4thPOS])
This gives me an answer of 20 which is what I want.
Now I want to extract the total with only the Type="Blue" to give me an answer of 16 but I can't figure it out. I was trying things like:
=Sum([1stPOS])+Sum([2ndPOS])+Sum([3rdPOS])+Sum([4thPOS]) And [Type]="Blue"
But it didn't work.
If you happen to have the time. Would you know the solution? Thanks.
Type 1stPOS 2ndPOS 3rdPOS 4thPOS
Red 1 1 1 1
Blue 2 2 2 2
Blue 2 2 2 2
And I'm trying to place a total field in a new Report.
I got the following to work:
=Sum([1stPOS])+Sum([2ndPOS])+Sum([3rdPOS])+Sum([4thPOS])
This gives me an answer of 20 which is what I want.
Now I want to extract the total with only the Type="Blue" to give me an answer of 16 but I can't figure it out. I was trying things like:
=Sum([1stPOS])+Sum([2ndPOS])+Sum([3rdPOS])+Sum([4thPOS]) And [Type]="Blue"
But it didn't work.
If you happen to have the time. Would you know the solution? Thanks.