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     How to get highest date in two different SCDs

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How to get highest date in two different SCDs
 Login/Join
 
Member
posted
I have a synonym made up of 5 tables: a fact table and 4 dimension tables - 2 of those being a slowly changing dimension. Trying to come up with a query that will get data for the most recent date in both scd's. I can do one, but two is giving me fits.
PolicyHolder Agency
Pol_Cd Agecny_Num
Rec_Eff_Dt Rec_Eff_Dt

When I do this:

Table File Synonym1
SUM
max.Policyholder.Rec_Eff_Dt
max Agency.Rec_Eff_Dt
By lowest Pol_CD
END

It displays the wrong Policyholder.Rec_Eff_Dt but the correct Agency.Rec_Eff_Dt.

Any ideas on how to get both? Thanks!
 
Posts: 22 | Location: Tulsa, OK | Registered: February 17, 2011Report This Post
Member
posted Hide Post
Sorry this got jumbled up:
SCD1: PolicyHolder Fields are: Pol_Cd Rec_Eff_Dt
SCD2: Agency Fields are: Agency_Num Rec_Eff_Dt
 
Posts: 22 | Location: Tulsa, OK | Registered: February 17, 2011Report This Post
Virtuoso
posted Hide Post
What format are your dates in?


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Member
posted Hide Post
HYYMDs
 
Posts: 22 | Location: Tulsa, OK | Registered: February 17, 2011Report This Post
Member
posted Hide Post
We may try to resolve this through the ETL process instead and just provide a dimension that has the most recent row rather than a history.
 
Posts: 22 | Location: Tulsa, OK | Registered: February 17, 2011Report 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     How to get highest date in two different SCDs

Copyright © 1996-2020 Information Builders