Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Hiding ACROSSCOLUMNs or forcing ACROSS COLUMNs

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Hiding ACROSSCOLUMNs or forcing ACROSS COLUMNs
 Login/Join
 
<Meek>
posted
Ok, I have been struggling with this for months and no one has been able to help me. I have this report that uses ACROSS COLUMNS.

Now the report uses a where statement... where SPACETYPE= TYPE1 or TYPE2 or TYPE3.

Under those types are ARE OCC and DNS. DNS is a computed column. DNS is only valid for TYPE2. Base don the way the Report painter and apparently WEBFOCUS, DNS has to show up under TYPE1 and TYPE3 even though the rows are blank. This takes up much needed page width unnecessarily.

The report outputs to Excel. I can hard code the width on the useless DNS columns, but that presents another issue. Because the report is regionalized. Not all regions have TYPE1 and/or TYPE3 so the report may come out with just TYPE2 and TYPE 3 which would throw off the hard coded column widths. Mad Is there a way to force all of the columns to show even if there is no accompanied data?

No only that, the customer doesn't want them shown in alphabetical order so is there anyway to get the ACROSS columns to print TYPE2 TYPE1 TYPE3?

i know this is a lot, but this report has way too many complications and I'm just not advanced or even work with WEBFOCUS enough to know definitive answers about what it can do.

ANY help will be greatly appreciated!
 
Report This Post
Guru
posted Hide Post
Here is a way to order the ACROSS:
DEFINE FILE CAR
COUNTRY_ORD/I2= DECODE COUNTRY('ENGLAND' 1 'FRANCE' 3 'ITALY' 2 'JAPAN' 5 'W GERMANY' 4);
END
-RUN

TABLE FILE CAR
SUM
RETAIL_COST
ACROSS COUNTRY_ORD NOPRINT
ACROSS COUNTRY
BY CAR
END
-RUN

This message has been edited. Last edited by: <Mabel>,
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Guru
posted Hide Post
Here is a way to control the order of the ACROSS columns as well as force the column to appear even if there is no data.

TABLE FILE CAR
SUM RETAIL_COST
BY CAR
ACROSS COUNTRY
COLUMNS 'FRANCE'
AND 'ITALY'
AND 'JAPAN'
AND 'W GERMANY'
AND 'ENGLAND'
AND 'ELSEWHERE'
END
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
<Meek>
posted
quote:
Originally posted by Piipster:
[qb] Here is a way to control the order of the ACROSS columns as well as force the column to appear even if there is no data.

TABLE FILE CAR
SUM RETAIL_COST
BY CAR
ACROSS COUNTRY
COLUMNS 'FRANCE'
AND 'ITALY'
AND 'JAPAN'
AND 'W GERMANY'
AND 'ENGLAND'
AND 'ELSEWHERE'
END [/qb]
Ok, this sort of worked. It worked in the sense that it ordered and forced. However, I have columns that have to come after the across. Unfortunately, WBEFOCUS doesn't understand anything after the columns statement. If I use the end, nothign else (like the styling and output format) are understood. Confused
 
Report This Post
<Meek>
posted
quote:
Originally posted by CurtisA:
[qb] Here is a way to order the ACROSS:
DEFINE FILE CAR
COUNTRY_ORD/I2= DECODE COUNTRY('ENGLAND' 1 'FRANCE' 3 'ITALY' 2 'JAPAN' 5 'W GERMANY' 4);
END
-RUN

TABLE FILE CAR
SUM
RETAIL_COST
ACROSS COUNTRY_ORD NOPRINT
ACROSS COUNTRY
BY CAR
END
-RUN[/code][/qb]
This worked like a charm! Thanks to both of you for your help!

This message has been edited. Last edited by: <Mabel>,
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Hiding ACROSSCOLUMNs or forcing ACROSS COLUMNs

Copyright © 1996-2020 Information Builders