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    creation of time dimension

Read-Only Read-Only Topic
Go
Search
Notify
Tools
creation of time dimension
 Login/Join
 
<Renuka>
posted
Hi,

I could see the date function for year, month etc, but not quarter.
Could you please help me in creating Quarter field in SQL Calculator using SQL columns in iWay(Data Management Console).

Thanks,
Renuka
 
Report This Post
Master
posted Hide Post
What you need to do is define a field in the metadata (Master File Description .mas file) called something like Quarter with the format of Q and have it equal a date field (I believe the field needs to be of format something like YYMD, YYM, YM, MYY, MY, MDYY etc..).
 
Posts: 865 | Registered: May 24, 2004Report This Post
<Renuka>
posted
Hi,

As there is no format of Q in the date functions in .mas

Is there any function to extract Quarter from the date.

Thanks,
Renuka
 
Report This Post
Virtuoso
posted Hide Post
There is no /Q date format, just as there is no /M format: Without a Year component, M and Q are just components (with limited range), not points in an unlimited series of "dates".

Cast your /YYM to /YYQ, and that to /I5YYQ, and extract its units digit via EDIT(,'$$$$9') or IMOD(,10,) to a /I1.
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
<José Andrés Vargas Aguilar>
posted
Perhaps you want to try getting the quarter of the date from the data source.

Oracle, for example, has the very usefull TO_CHAR() and TO_DATE() functions.
 
Report 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    creation of time dimension

Copyright © 1996-2020 Information Builders