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.
I'm having trouble adding a level of sorting for my calculated column "MARPER" to my report with the columns:
PL_DESCRIPTION AS 'Product Line' CUSTOMER_NAME AS 'Customer' JOB_DESCRIPTION AS 'Job Address' ORDER_NUM AS 'Ticket #' ITEM_NUM AS 'SKU' ITEM_DESCRIPTION AS 'Item Description' INVOICE_DATE AS 'Invoice Date' EXT_SALES_DOLLARS/D11BM AS 'Actual,Sales' COMPUTE MARPER/D11.2B%S = ((EXT_SALES_DOLLARS - EXT_ACT_COST_COMM)/EXT_SALES_DOLLARS)*100; AS 'Margin,Act %'
BY SALESPERSON_NUM NOPRINT BY CUSTOMER_NAME NOPRINT
I can add additional levels of sorting to any other column and it works fine, but when I add:
BY MARPER
...it doesn't sort by margin like I would expect it to.
I need to sort by customer name, then by margin within each customer. What's the trick?
Thanks.This message has been edited. Last edited by: <Kathryn Henning>,
Thank you for the reply Waz, but that didn't work. BTW, my report is using the EXL07 format (although I tried EXL2K with the same result).
I also tried calculating an additional column called "Rank" that used a version of the margin formula to add as the 3rd sorting column but it didn't work either.
Thanks for the idea Tony. I actually hadn't tried that and was excited to try it.
Unfortunately, it didn't work either.
It did, however, put the lines which had zeros for margins at the top... just didn't sort the rest. It also didn't seem to differentiate between the MARPER in the PRINT statement and the MARPER in the BY statement, which I thought was interesting.
I put NOPRINT behind the BY statement (same as with the CUSTOMER_NAME) and the margin didn't print at all on the report. If I removed the NOPRINT, it printed the Margin Act in the last column and the MARPER at the first column.
I changed to BY MARPER COMPUTE NOPRINT and it printed the margin account, but still no sorting.