Focal Point
[SOLVED] Filter by Subtotal

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4007098096

October 29, 2018, 02:16 PM
Brandon Andrathy
[SOLVED] Filter by Subtotal
Hello!

I am trying to filter the below code by the subtotal of MEMBERID and PAIDAMT. Can someone advise how to do that? Previously I was doing a complicated match procedure but I feel like this can be A LOT simpler. The WHERE statement is just an example of what I want to accomplish Smiler .

SUM
PAIDAMT
BY MEMBERID
BY ETG
WHERE TOTAL PAIDAMT WITH MEMBERID GT 50000

I tried looking throughout the forum and couldn't find anyone trying to do this.

Thanks in advance!!

This message has been edited. Last edited by: Brandon Andrathy,


WebFOCUS 8204
October 29, 2018, 02:49 PM
MartinY
This could be an option
TABLE FILE CAR
SUM DEALER_COST NOPRINT
BY COUNTRY
WHERE TOTAL DEALER_COST GT 10000;

SUM RETAIL_COST
BY COUNTRY
BY CAR
END
-RUN



WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
October 29, 2018, 02:58 PM
Brandon Andrathy
Works like a charm! Thanks a lot@!!!


WebFOCUS 8204