質問

I have 2 fields ITEMID and QTYSOLD, I need to get a total for each ITEMID from the QTYSOLD.

However when running this query it shows each and every ITEMID and QTY sold. For example

ITEMID QTYSOLD
QEE123             3<br>
QEE123            10
                  <br>
                  **13**

HEE123             3
<br>
HEE123            20<br>
                  **23**

I need it to show

QEE123 13
HEE    23 

I have tried to supress the ITEMID and QTYSOLD if theres a duplicate however it then only calculates the first entry.

役に立ちましたか?

解決

  1. Group by ITEMID and place QTYSOLD in detail part.

  2. Now you take the summary of QTYSOLD in group footer of ITEMID and supress detail part. and place ITEMID to the extreme left of group footer.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top