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     [SOLVED] Display Dimension in the same row as another Dimension

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Display Dimension in the same row as another Dimension
 Login/Join
 
Gold member
posted
Hi all,

I have a fairly easy question but I don't know how to accurately describe it to find an answer to it..

I want to display Country in a column, and under each country I want categories displayed, ex. OPEX, REVENUE, etc.. all in the same column. Then I will have other columns displaying facts for each category by country. I have a screen shot of the excel report I'm trying to replicate: https://imgur.com/a/yEX6Zj3

Thank you in advance!

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 88 | Registered: December 06, 2016Report This Post
Platinum Member
posted Hide Post
Hi,

Can you please re - paste your image again.
I can't open your image.
 
Posts: 109 | Registered: February 02, 2016Report This Post
Gold member
posted Hide Post
I reposted it with just the imgur link.

Thanks!


WebFOCUS 8
Windows, All Outputs
 
Posts: 88 | Registered: December 06, 2016Report This Post
Virtuoso
posted Hide Post
Something such as this ?

TABLE FILE CAR
SUM SEATS OVER RETAIL_COST OVER DEALER_COST
ACROSS COUNTRY
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
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
TABLE FILE CAR
SUM
COUNTRY
CAR
COMPUTE FLD_1/A500V=IF COUNTRY NE LAST COUNTRY THEN CAR ELSE FLD_1 |' '| CAR;
BY COUNTRY NOPRINT
BY CAR NOPRINT
ON TABLE HOLD AS HOLD_1
END
-RUN

-*DEFINE FILE HOLD_1
-*CRLF/A2= HEXBYT(13,'A1') | HEXBYT(10,'A1');
-*END

TABLE FILE HOLD_1
SUM
COUNTRY AS ''
FLD_1 NOPRINT
BY COUNTRY NOPRINT
ON COUNTRY SUBFOOT


"

ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT,WRAP=1,LINEBREAK='CRLF',$
TYPE=SUBFOOT,BY=COUNTRY,COLOR=RED,$
ENDSTYLE
END
-RUN

and calling fld_1 in subfooting.

I dont know why can't paste the code completely.
When I paste the code, I miss some code.
 
Posts: 109 | Registered: February 02, 2016Report This Post
Expert
posted Hide Post
Are you pasting it within the </> brackets as shown in the above toolbar? If not, please do so.
quote:
I dont know why can't paste the code completely.
When I paste the code, I miss some code.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
TABLE FILE CAR
SUM
COUNTRY
CAR 
COMPUTE FLD_1/A500V=IF COUNTRY NE LAST COUNTRY THEN CAR ELSE FLD_1 |' '| CAR; 
BY COUNTRY NOPRINT
BY CAR NOPRINT
ON TABLE HOLD AS HOLD_1
END
-RUN

-*DEFINE FILE HOLD_1
-*CRLF/A2= HEXBYT(13,'A1') | HEXBYT(10,'A1');
-*END

TABLE FILE HOLD_1
SUM
COUNTRY AS ''
FLD_1 NOPRINT
BY COUNTRY NOPRINT
ON COUNTRY SUBFOOT
""
"<FLD_1"
""
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT,WRAP=1,LINEBREAK='CRLF',$
TYPE=SUBFOOT,BY=COUNTRY,COLOR=RED,$
ENDSTYLE
END
-RUN  
 
Posts: 109 | Registered: February 02, 2016Report This Post
Platinum Member
posted Hide Post
Thank you doug
 
Posts: 109 | Registered: February 02, 2016Report This Post
Gold member
posted Hide Post
Thank you Doug for helping pav.

And thank you pav! This is exactly what I was hoping for!


WebFOCUS 8
Windows, All Outputs
 
Posts: 88 | Registered: December 06, 2016Report 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     [SOLVED] Display Dimension in the same row as another Dimension

Copyright © 1996-2020 Information Builders