Focal Point
[CLOSED] Across Months

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

October 31, 2017, 11:34 AM
Badr.A
[CLOSED] Across Months
Hello There,
I'm looking to build a report that has data fields retrieved on monthly bases, but the way is the fields sort down( on the left side of the report) and the month names are across( on the top of the report)

the code I have written:
TABLE FILE CALLS
SUM ONLINE_REQUESTS AS 'Online'
EMAIL_REQUESTS AS 'Email'
.
.

BY Month NOPRINT
ACROSS Month

the result I'm getting is the month names and data fields are repeated across the page, what is the way to not repeat the field names across the page.

thank you in advance!

This message has been edited. Last edited by: Badr.A,


WebFocus App Studio
V8201
October 31, 2017, 11:44 AM
MartinY
Are you looking for something similar to this ?
DEFINE FILE GGSALES
MTH /M  = DATE;
MTHX/Mt = DATE;
-* For long month name
-*MTHX/Mtr = DATE;
END
TABLE FILE GGSALES
SUM DOLLARS
BY REGION
BY CITY
BY PRODUCT
ACROSS MTH NOPRINT
ACROSS MTHX AS ''
END


Note that the ACROSS MTH NOPRINT is there to keep alpha month displayed in a calendar order and not in an alphabetical order.


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 31, 2017, 01:54 PM
Badr.A
I'm looking to arrange the fields by the months (BY Month) and at the same time need the month names to be ACROSS!
thank you
quote:
Originally posted by MartinY:
Are you looking for something similar to this ?
DEFINE FILE GGSALES
MTH /M  = DATE;
MTHX/Mt = DATE;
-* For long month name
-*MTHX/Mtr = DATE;
END
TABLE FILE GGSALES
SUM DOLLARS
BY REGION
BY CITY
BY PRODUCT
ACROSS MTH NOPRINT
ACROSS MTHX AS ''
END


Note that the ACROSS MTH NOPRINT is there to keep alpha month displayed in a calendar order and not in an alphabetical order.



WebFocus App Studio
V8201
October 31, 2017, 02:08 PM
MartinY
quote:

I'm looking to arrange the fields by the months (BY Month) and at the same time need the month names to be ACROSS!


Will make a strange output, but...

DEFINE FILE GGSALES
MTH /M  = DATE;
MTHX/Mt = DATE;
-* For long month name
-*MTHX/Mtr = DATE;
END
TABLE FILE GGSALES
SUM DOLLARS
BY REGION
BY CITY
BY PRODUCT
BY MTH AS 'Month'
ACROSS MTHX AS ''
END



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 31, 2017, 02:33 PM
Badr.A
I think it wont be done

thank you!
quote:
Originally posted by MartinY:
quote:

I'm looking to arrange the fields by the months (BY Month) and at the same time need the month names to be ACROSS!


Will make a strange output, but...

DEFINE FILE GGSALES
MTH /M  = DATE;
MTHX/Mt = DATE;
-* For long month name
-*MTHX/Mtr = DATE;
END
TABLE FILE GGSALES
SUM DOLLARS
BY REGION
BY CITY
BY PRODUCT
BY MTH AS 'Month'
ACROSS MTHX AS ''
END



WebFocus App Studio
V8201