August 09, 2008, 11:15 AM
Mikel Have:
TABLE FILE EMPLOYEE
PRINT LAST_NAME HIRE_DATE
END
-RUN
Need:
TABLE FILE EMPLOYEE
SUM FST.HIRE_DATE
ACROSS LAST_NAME AS ' '
END
-RUN
Regards,
Mikel
August 10, 2008, 08:32 PM
susannahquote:
Can i obtain the result by pushing the button?
i don't know of a button you can push...
-* creates a simple extract file
TABLE FILE CAR
SUM SALES DEALER_COST BY MODEL
ON TABLE HOLD
END
-* creates an ordering field called 'LIST' with values 1,2,3,etc
TABLE FILE HOLD
LIST SALES MODEL DEALER_COST
ON TABLE HOLD
END
-* displays the 3 variables you asked for, cost, sales and model, across the order of that LIST variable,
-* w/o displaying actually displaying ing.
TABLE FILE HOLD
SUM MODEL OVER SALES OVER DEALER_COST
ACROSS LIST NOPRINT
END
-*
You can copy this code and run it on your site, then adapt the concept to your data. We use the CAR file (or one of the other sample files) here on the Point to pose questions and illustrate techniques, when we can.
August 10, 2008, 08:35 PM
susannahMikel, you're back!!! cool.
August 11, 2008, 05:28 PM
WazIf you just want to change a BY to an ACROSS with a push of a button, then why not use OLAP.
Otherwise a drilldown will do the job.