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] Not displaying % sign in EXL2K reports

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Not displaying % sign in EXL2K reports
 Login/Join
 
Silver Member
posted
Hi,

I am trying to display the decimal field with % sign as D6.2% or F6.2% in EXL2K reports and the same is not displaying the %sign in the report. However, the %sign is displaying in HTML report.

Any idea on this?

I guess the workaround would be to convert to character type and cancatenate with % sign.

Please share your ideas.

Thanks

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.1.4
Windows
Both Excel & HTML
 
Posts: 35 | Registered: July 25, 2009Report This Post
Virtuoso
posted Hide Post
I'm not sure why you are having a problem this works. Unless it's your version?
TABLE FILE CAR
PRINT CAR
COMPUTE SSAMTH/D8.2% = (DEALER_COST/SALES ) * 100; AS %
BY COUNTRY
ON TABLE PCHOLD FORMAT EXL2K
END


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Silver Member
posted Hide Post
The version i use is 7.1.4, and instead of compute in your example, i am using RECAP.

As i mentioned in the initial post, it works fine with HTML and when it is changed to EXL2K, it doesn't display.


WebFOCUS 7.1.4
Windows
Both Excel & HTML
 
Posts: 35 | Registered: July 25, 2009Report This Post
Expert
posted Hide Post
This fex with a RECAP works in v7.6.5:

TABLE FILE CAR
SUM
SALES
DEALER_COST

BY COUNTRY RECAP PCT1/D10.2% = (SALES/DEALER_COST) * 100; 

BY CAR

ON TABLE PCHOLD FORMAT EXL2K
END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Silver Member
posted Hide Post
Probably it works with V7.6.5, can you please try with V7.1.4.


WebFOCUS 7.1.4
Windows
Both Excel & HTML
 
Posts: 35 | Registered: July 25, 2009Report This Post
Virtuoso
posted Hide Post
works for me too.

Anybody else out there got 7.1.x and can confirm this does not work?
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Silver Member
posted Hide Post
FYI, The below my sample code.

  
SQL SQLORA SET SERVER CONNECTION
SQL SQLORA
SELECT 'AAA' NAME, 'A' COL2, 100000 CRTD_TOT, 12100 ERROR1 FROM DUAL
UNION
SELECT 'AAA' , 'B' , 200000, 2000 FROM DUAL
UNION
SELECT 'BBB' , 'C' , 300000, 3000 FROM DUAL
UNION
SELECT 'BBB' , 'D' , 400000, 800 FROM DUAL
UNION
SELECT 'CCC' , 'A' , 500000, 5500 FROM DUAL;
TABLE FILE SQLOUT
PRINT
*
ON TABLE HOLD AS TEST_RECAP
END

TABLE FILE TEST_RECAP
PRINT
NAME
COL2
CRTD_TOT
ERROR1
BY COL2 NOPRINT
ON COL2 RECAP RPCT/D6.2% = (ERROR1 / CRTD_TOT) * 100;
ON TABLE PCHOLD FORMAT EXL2K
END


WebFOCUS 7.1.4
Windows
Both Excel & HTML
 
Posts: 35 | Registered: July 25, 2009Report This Post
Expert
posted Hide Post
Vadivel, we cannot run your sample code if we don't have Oracle and "FROM DUAL" will probably not work with other DBMS.

Did you try my example? It can run on all versions of FOCUS and WebFOCUS.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
Francis,

I tried your example in 7.1.3.

It does not work with FORMAT EXCEL.

It works with PDF, HTML and WP.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Expert
posted Hide Post
I guess it was a bug in 7.1.* that was fixed in a later release.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Silver Member
posted Hide Post
I guess mostly it is a bug in 7.1.4 version. As anyone tried this and end-up with a work around. Please share your ideas.

Thanks everyone for trying and confirming.


WebFOCUS 7.1.4
Windows
Both Excel & HTML
 
Posts: 35 | Registered: July 25, 2009Report This Post
Virtuoso
posted Hide Post
YOu might try opening a case with IBI, maybe they have a fix for you. Be sure and send them the simple car FEX example and tell them to run in your version.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Silver Member
posted Hide Post
Sorry to ask this. Can you please help me to know how/where can i open a case for IBI?

Thanks


WebFOCUS 7.1.4
Windows
Both Excel & HTML
 
Posts: 35 | Registered: July 25, 2009Report This Post
Expert
posted Hide Post
If you have maintenance then go to www.informationbuilders.com and then locate the link for Tech Support under Services and Support. To gain access to the support site you will need to have a userid and password, for which you will require your site code and site name as held on IB's database (as far as I can remember it is case sensitive - unless they've changed it!).

Alternatively call your local support branch office.

I would suggest upgrading from 7.1.4 to 7.6.2 as a minimum.

However, if you are on 7.1.4 because you do not have valid maintenance then you will not be able to raise a case anyway.

Let us know how you get on.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Platinum Member
posted Hide Post
You can go to the IBI website www.ibi.com click on Tech Support from the dropbox. Or call the
1-800-736-6130 for IBI's Tech support.


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
 
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007Report This Post
Platinum Member
posted Hide Post
The % show up with the data but not the subfoots and recaps. I ran across this problem a few years ago with WF 7.1.4 when I first starte my current job. My resolution was in my final query where I generate my report I convert my fields P9.2% to alpha using the PTOA() routine, then use my new field name in my footer. The % sign will appear. Here's an example of the PTOA() function.

APCTS01/A21 = PTOA(PPCTS01, '(P9.2%)', APCTS01);

Hope this helps...

Linda


WF 7.7.05
HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files
HTML, Excel, PDF
 
Posts: 149 | Location: Dallas, TX | Registered: June 08, 2007Report This Post
Silver Member
posted Hide Post
This works Great. Thanks to all who tried to help.


WebFOCUS 7.1.4
Windows
Both Excel & HTML
 
Posts: 35 | Registered: July 25, 2009Report 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] Not displaying % sign in EXL2K reports

Copyright © 1996-2020 Information Builders