As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
In SQL I can create views to achieve this, can anyone help on how to do it in WF
I have a table like the one below: Name trandate type countA Count B CountC John 20110512 book1 105 27 18 John 20110512 book2 17 25 10 Amy 20110512 book1 108 7 78 Amy 20110512 book2 99 31 16 Bill 20110512 book1 125 2 41 Bill 20110512 book2 36 25 25 John 20110512 book3 41 22 2 Amy 20110512 book3 88 14 3
I need the report to look like the following: Name trandate type cnta cntb cntc type cnta cntb cntc type cnta cntb cnt3 John 20110512 book1 105 27 18 book2 17 25 10 book3 41 22 2 Amy 20110512 book1 108 7 78 book2 99 31 16 book3 88 14 3 Bill 20110512 book1 125 2 41 book2 36 25 25 book3 0 0 0This message has been edited. Last edited by: Kerry,
WebFOCUS 7.7.03 Windows 7
Posts: 55 | Location: USA | Registered: November 02, 2009
DEFINE FILE CAR
DUMMY/A1 = ' ';
END
TABLE FILE CAR
SUM SEATS AND DEALER_COST
BY DUMMY NOPRINT
BY CAR
ACROSS COUNTRY
ON DUMMY SUBFOOT
" "
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE NOPAGE
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=CAR, BORDER-LEFT=LIGHT, BORDER-RIGHT=LIGHT, $
TYPE=TITLE, COLUMN=CAR, BORDER=LIGHT, $
$
TYPE=DATA, ACROSSCOLUMN=SEATS, BORDER-LEFT=LIGHT, $
TYPE=TITLE, ACROSSCOLUMN=SEATS, BORDER-LEFT=LIGHT, BORDER-BOTTOM=LIGHT, $
TYPE=DATA, ACROSSCOLUMN=DEALER_COST, BORDER-RIGHT=LIGHT, $
TYPE=TITLE, ACROSSCOLUMN=DEALER_COST, BORDER-RIGHT=LIGHT, BORDER-BOTTOM=LIGHT, $
$
TYPE=TITLE, STYLE=NORMAL, BORDER-BOTTOM=LIGHT, $
TYPE=ACROSSVALUE, BORDER=LIGHT, $
TYPE=ACROSSTITLE, BORDER=LIGHT, $
$
TYPE=SUBFOOT, BY=1, BORDER-TOP=LIGHT, $
ENDSTYLE
END
Whew is right, I am trying the same thingin my report and it is grueling. I have 2 hidden columns with a total of 8 columns so I have to include those as well to get all the formatting. The hidden columns presents problems, but this has helped me alot.
Thx sooooo much,
WebFOCUS 7.7.03 Windows 7
Posts: 55 | Location: USA | Registered: November 02, 2009
well now it seems they want a report that summarizes by month with qtr totals. I added the date field and formated it as YY and again for M as sum fields but the report lists each record. Could you help again?
BOOK1 BOOK2 BOOK3 Name Year Month CNTA CNTB CNTC CNTA CNTB CNTC CNTA CNTB CNTC John 2011 January 105 17 18 2 0 25 10 11 6 February 100 27 11 12 17 0 11 21 6 March 117 11 28 14 27 0 0 31 6 QTR Totals 322 55 59 28 38 25 22 63 18 Amy 2011 January 100 16 18 12 0 25 10 21 6 February 102 26 11 2 17 0 19 21 6 March 147 21 28 24 28 0 70 431 6 QTR Totals 349 63 67 38 45 25 99 473 18 I am pretty new to WF and just did mostly drag and drop type reports so you have been a trememdous help.
WebFOCUS 7.7.03 Windows 7
Posts: 55 | Location: USA | Registered: November 02, 2009