Focal Point
***CLOSED SET VAXSIS BASED ON NUMBER OF RECORDS IN FILE

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

March 30, 2015, 09:15 AM
RobertF
***CLOSED SET VAXSIS BASED ON NUMBER OF RECORDS IN FILE
Can this be done. I really need to vary the VAXSIS based on the number of employees to be plotted. At times there are 5 and at other times there are 100. Is it possible to query my final file, see how many employees there are and based on the number found set the VAXSIS?

This message has been edited. Last edited by: RobertF,


WebFOCUS 8206.08
Windows, All Outputs
March 30, 2015, 09:39 AM
MartinY
Hi Robert, look at your previous thread ***CLOSED Reccomendation for graph of varying size...
You will have a start of solution.

To know the number of employee read your file first and then the number of employee. Sample using CAR:
TABLE FILE CAR
BY COUNTRY
ON TABLE HOLD
END
-RUN
-SET &VAXIS = IF &LINES GT 5 THEN 500 ELSE 300;



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
March 30, 2015, 11:55 AM
RobertF
&LINES....forgot about that..thanks!


WebFOCUS 8206.08
Windows, All Outputs