This is the code i'm generating the O/P for the below code
TABLE FILE CAR
SUM DEALER_COST
PCT.DEALER_COST/D6.2% WITHIN COUNTRY AS 'PERCENT1'
RETAIL_COST
PCT.RETAIL_COST/D6.2% WITHIN COUNTRY AS 'PERCENT2'
BY COUNTRY
BY SEATS
ON TABLE COLUMN-TOTAL
WHERE COUNTRY EQ 'ENGLAND' OR 'ITALY'
ON TABLE HOLD AS TEST
END
TABLE FILE TEST
SUM
DEALER_COST AS '# of Reviews'
PERCENT1 AS '% of total reviews'
RETAIL_COST AS '# of items with reviews'
PERCENT2 AS '% of total items'
ACROSS COUNTRY
BY SEAT AS 'Review Score'
ON TABLE COLUMN-TOTAL AS 'TOTAL'
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
UNITS=IN,SQUEEZE=ON, $
TYPE=GRANDTOTAL, STYLE=BOLD, SIZE=8,BORDER=LIGHT,BORDER-COLOR=RGB(225 225 225),$
ENDSTYLE
END
COUNTRY
ENGLAND ITALY
Review Score # of Reviews % of total reviews # of items with reviews % of total items # of Reviews % of total reviews # of items with reviews % of total items
2 11,719 30.96% 13,978 30.84% 36,320 88.08% 45,140 88.40%
4 14,940 39.47% 17,850 39.39% 4,915 11.92% 5,925 11.60%
5 11,194 29.57% 13,491 29.77% -- -- -- --
TOTAL 37,853 100.00% 45,319 100.00% 41,235 100.00% 51,065 100.00%
i need to ENGLAND Display this part below to upper part output report ENGLAND Summary Reviews Score for (2&4) is 70%
ENGLAND Summary Reviews Score for (2&5) is 61%(60.53% it is rounded to 61%)
ENGLAND Summary Reviews Score for (4&5) is 69%
same as for ITALY also
Like this i need to display upper part
how can I display this Summary part ,
can anyone give a examples for that plz
WebFOCUS 7.6
Windows, All Outputs