문제

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