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     Compute Exponential Value

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Compute Exponential Value
 Login/Join
 
Gold member
posted
Have a problem in Computing a values.

Example:
Calculate--> FIELD1 ^(-0.9256)

FIELD1 = Can be 0.95 or 2 or 0.6654 etc...
^ - Exponential

Can anybody give me sample code on CAR File?

Thanks


Prod: WF 7.6.10 windows. -- MRE/Dashboard/Self Service/ReportCaster - Windows XP
 
Posts: 82 | Location: Chicago | Registered: September 28, 2005Report This Post
Virtuoso
posted Hide Post
DEFINE FILE CAR
FIELD1/D12.9 WITH DEALER_COST = 2;
FIELD2/D12.9 WITH DEALER_COST = .95;
FIELD3/D12.9 WITH DEALER_COST = .6654;
END
TABLE FILE CAR
PRINT FIELD1
COMPUTE EXP1/D12.9 = FIELD1 ** (-0.9256);
FIELD2
COMPUTE EXP2/D12.9 = FIELD2 ** (-0.9256);
FIELD3
COMPUTE EXP3/D12.9 = FIELD3 ** (-0.9256);
WHERE RECORDLIMIT EQ 1
END  


Gives
FIELD1 EXP1 FIELD2 EXP2 FIELD3 EXP3
2.000000000 .526461523 .950000000 1.048622159 .665400000 1.457990061

Somebody have a scientific calendar to check the numbers. Since basically a negative power means raise to the power and divide into one.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Gold member
posted Hide Post
Thanks you.
Was expecting some thing related EXPN() stuff.


Prod: WF 7.6.10 windows. -- MRE/Dashboard/Self Service/ReportCaster - Windows XP
 
Posts: 82 | Location: Chicago | Registered: September 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     Compute Exponential Value

Copyright © 1996-2020 Information Builders