Focal Point
[SOLVED] 2 RANKs

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

March 18, 2016, 03:14 PM
Ricardo Augusto
[SOLVED] 2 RANKs
Hi,

I am migrating a report from crystal. Can anyone give me a hint how can I reach those ranked columns.

First rank column is based on last full month. ( last month)
Second rank column is based on month to date. ( current month)

thanks

This message has been edited. Last edited by: Ricardo Augusto,


WebFOCUS 8.1.05 / APP Studio
March 18, 2016, 04:11 PM
J.L. Hinds
Not 100% sure I understand but if per chance I do

TABLE FILE WHATEVER
RANKED BY HIGHEST THIS_MONTH
WRITE WHATEVER
ON TABLE HOLD AS 'J1'
END

TABLE FILE WHATEVER
RANKED BY HIGHEST LAST_MONTH
WRITE WHATEVER
ON TABLE FILE HOLD AS 'J2'
END

TABLE FILE J1
PRINT *
ON TABLE HOLD
MORE
FILE J2
END


WebFOCUS 7.6
Windows, All Outputs
March 18, 2016, 04:47 PM
j.gross
Well, no. MORE just adds rows, Here we need to add two new columns.

Match file can be used for that purpose

So can JOIN (create a Focus hold file, index the key; repeat for the other rank; join the original to both.)
March 21, 2016, 07:03 AM
Ricardo Augusto
Thanks Hinds and j.gross


WebFOCUS 8.1.05 / APP Studio