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     Converting Columns into Rows

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Converting Columns into Rows
 Login/Join
 
Platinum Member
posted
Hi All,

i have 10 columns iwant put alll these 10 columns in to 2 columns i there any workaround please let me know.

thanks,
Kalyan


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Report This Post
Master
posted Hide Post
I don't understand this question.

I think what you're looking for may be a SQL Decode or CASE statement.


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
sounds like you're just converting columns to columns. try using a DEFINE. Otherwise, try the McGyver technique or one of the other solutions which have been posted numerous times. You can probably do a find on "columns to rows" and get a bunch of hits.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Platinum Member
posted Hide Post
Hi i dont want to convert columns to columns.
i will explain clearly,
TABLE FILE ABCD
PRINT
ABC
COMPUTE aCTUAL/D12=....;
COMPUTE ASD/D12 = ;
COMPUTE DDD/D12=;
BBC
COMPUTE XCTUAL/D12=....;
COMPUTE AXD/D12 = ;
COMPUTE XDD/D12=;
aCROSS VVVV
END

THIS IS THE REPORT I WANT TO ARRANGE THE ABOVE REPORT TO BE LIKE THIS
ACROSS VALUES
------------
ABC ACTUAL 222 222 222
ASD 342 11 11
DDD 234 123 11
BBC XCTUAL 112 332 33
AXD 22 22 35
XXD 121 231 34

I WANT THE OUTPUT LIKE ABOVE.


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Report This Post
Virtuoso
posted Hide Post
I"m not exactly sure what you want...but try using OVER.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report 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     Converting Columns into Rows

Copyright © 1996-2020 Information Builders