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     [CLOSED] Direct excel retrival issue in master file

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Direct excel retrival issue in master file
 Login/Join
 
Member
posted
Hi All,

I am uploading the excel via direct retrieval which just have two columns , one is Company and other is a cost in decimal places.

Below is content of excel.

Company Cost
ABC 422.56
PQR 12.5
XYZ 7000.67

I created synonym for the sheet which creates below master file.

FILENAME=COSTSHEET, SUFFIX=DIREXCEL,
DATASET=E:\WEBFOCUS\ibi\apps\baseapp\Book1.xlsx, $
SEGMENT=COSTSHEET, SEGTYPE=S0, $
FIELDNAME=COMPANY, ALIAS=Company, USAGE=A3V, ACTUAL=A3V,
MISSING=ON,
TITLE='Company', $
FIELDNAME=COST, ALIAS=Cost, USAGE=A13, ACTUAL=A13,
MISSING=ON,
TITLE='Cost', $

When I create a report on top of this master file it doesn't show me the decimal numbers.

I tried editing the master file with diffrent types like P13.2, D9.2 etc but it doesnt work for me.

It either adds the decimal point to actual number or prefix two digit befor the acutal numbers .

Below are some of my outputs .Which shows the wrong cost.

with USAGE=A13, ACTUAL=A13,
Company Cost
ABC 42256
PQR 125
XYZ 700067

with USAGE=D9.2, ACTUAL=A13,
Company Cost
ABC 42,256.00
PQR 125.00
XYZ 700,067.00


with USAGE=P13.2, ACTUAL=A13,
Company Cost
ABC 42256.00
PQR 125.00
XYZ 700067.00

I am using below version.
Gen Number858 & Release81M

Can you please help me the solution or any workaround for this

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 2 | Location: webfocus 8 | Registered: August 30, 2016Report This Post
Virtuoso
posted Hide Post
Can you edit the Excel file and change the format of the Cost column to Numeric? Then upload again and recreate the synonym. If you're getting an A13 Format and Actual, WebFOCUS thinks it's reading a string.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report 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     [CLOSED] Direct excel retrival issue in master file

Copyright © 1996-2020 Information Builders