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  iWay Software Product Forum on Focal Point    [CLOSED] how to change format at SQL Calculator in DMC?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] how to change format at SQL Calculator in DMC?
 Login/Join
 
Platinum Member
posted
Hi,

I Have following expression within my SQL Calculator:

Alias: TotalAmount

Expression:
T2.HEALTH_PRICE*T2.QTY*T2.RATIO

T2.HEALTH_PRICE/P20.4
T2.QTY/P14.4
T2.RATIO/P20.4



The expression is fine, but the default Format of "TotalAmount" become P33.0 by system, but want it to be D33.6 which is contain decimal value. If I try change it after P33.0 to D33.6, all decimal value already been run off.
Is it possible to manual set the format of new inserted column by our self?

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


WebFOCUS v8.2.06 , Windows
 
Posts: 137 | Registered: August 29, 2019Report This Post
Virtuoso
posted Hide Post
Nox

In your source master file definition you would create a new DEFINE for that field with the appropriate format and then reference that field by name in your SQL


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
I'll give it a try, Thanks


WebFOCUS v8.2.06 , Windows
 
Posts: 137 | Registered: August 29, 2019Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CLOSED] how to change format at SQL Calculator in DMC?

Copyright © 1996-2020 Information Builders