Sunteți pe pagina 1din 12

11/7/2014

RittmanMeadConsultingTheMysteryofOBIEEBridgeTables

Home
About
Careers
Clients
Consulting
Training
Support
Articles
Blog

RittmanMeadDeliveredIntelligence
TheMysteryofOBIEEBridgeTables
August28th,2008byMarkRittman
IfyouveplayedaroundwiththeOracleBIAdministratortoolforawhile,youmayhavenoticedaboxyoucantickin
theLogicalTablePropertiesdialog,calledBridgeTable.IfyourefamiliarwithRalphKimballandsomeofthis
dimensionalmodelingideas,youveprobablyheardofthisconceptbefore,butitsnotallthatclearhowyouuse
bridgetablesinOBIEEandaquicksearcharoundtheinternetandtheOTNforumsdoesntreallycomeupwithan
examplesonhowitsused.

Bridgetablesareasolutiontowhatscalledthemultivalueddimensionproblem.Formostdimensionalmodelsyou
generallywanttolinkonesale,forexample,tooneproduct,onecustomer,onetimeperiodandsoon,andthis
translatesintoasimpledimensionalmodelwhereyourfacttablecontainsasinglekeyvalueperdimensionforeach
rowthatsbeenstored.Insomecircumstancesthough,saywhereyouarerecordingthediagnosesforapatientorthe
claimelementsinaclaim,youmightneedtorecordmorethanonekeyvalueforaparticulardimensionineachfact
tablerow.Inentityrelationshipmodelingterms,youvegotamanytomanyrelationshipbetweenpatientadmissions
http://www.rittmanmead.com/2008/08/themysteryofobieebridgetables/

1/12

11/7/2014

RittmanMeadConsultingTheMysteryofOBIEEBridgeTables

anddiagnoses,likethis:

andtheusualwayyouresolvethesemanytomanyrelationshipsistouseanintersectiontable,withthekeyfromthe
patientadmissionstableandthekeyfromthediagnosestablecopiedacrosstoformtheintersection,andusuallywitha
weightingcolumnthataddsupto1,sothatyoucanproperlyaddupallthediagnosesandnotovercountthem.

AsIsaid,thisisnotexactlynewstuffandbridgetables,ofwhichdiagnosisgroupaboveisoneofthem,areafairly
commondimensionalmodelingconstruct.Theproblemyouhitthoughwhenstartingtousethisfeatureisthatthe
documentationonitisprettyminimal,andonlyreallytalksaboutsettingthisfeatureonthebridgetableitselfand
doesntreallymentionwhattodowiththedimensiontablethathangsoffofit.WhatIlldointhispostingthenisset
outhowIuseit,explainmyrationaleandthereafterinvitesomefeedback,soifsomeoneelsehascomeupwitha
betterideathenwecanworkwiththatinstead.
GoingintoBIAdministratorandlookingatthephysicalmodelforthedatasetabove,itlookslikethis:

withthekeythingherebeingthatthefacttablewevegotthebridgetablejoiningtoboththefactanddiagnosisdim
tablestoformanintersection.Ifyouimportedthismodelintothelogicalbusinesslayerasis,theBIAdministrator
wouldthinktheintersectiontableisthefacttableastheothertablesjointoit.

Sowhatyoudonowisgointothepropertiesforthediagnosistableandindicatethatitsabridgetable,likethis:

http://www.rittmanmead.com/2008/08/themysteryofobieebridgetables/

2/12

11/7/2014

RittmanMeadConsultingTheMysteryofOBIEEBridgeTables

Nowwhenyoulookatthelogicalmodelthefacttableisidentifiedcorrectly.

Ifyoutryandvalidatethemodelnowthough,yougetawarningbecausethediagnosesdimensiontabledoesntlink
throughtothefacttable,asitgoesthroughthebridgetableinstead.

Nownotlinkingthroughtothefacttableissometimesallowed,basicallyinsituationswhereyouvesnowflakedyour
logicalmodelandthedimensiontableisactuallyahigherlevelinthesamedimension,butinthiscaseifwetryand
usethismodelandbringinthediagnosesinformationintoaquery,wellgetametadataconsistencyerror.
Tosolvethis,whatIwoulddoisremovethediagnosisdimensionfromthelogicalmodel,andinsteadaddittothe
logicaltablesourceforthebridgetable,likethis:
http://www.rittmanmead.com/2008/08/themysteryofobieebridgetables/

3/12

11/7/2014

RittmanMeadConsultingTheMysteryofOBIEEBridgeTables

ThenIdaddanycolumnsthatIneededfromthediagnosisdimensionphysicaltableintothebridgetable,whichIcan
donowasIveaddedthedimensiontabletothebridgetableLTS,sothatthisbridgetablenowbecomesmydiagnosis
dimension,likethis:

SowhatIvedonehereistakethedimensiontable,whichbeforelinkedtothebridgetableandthereaftercausedthe
metadatainconsistency,andinsteadaddedittothebridgetablelogicaltablesourceandaddeditscolumnstothe
bridgetablelogicaltable.
IfIrunareportnow,thedatacomesoutasyouwouldexpect,withmultiplediagnosesperpatientandtheweighting
appliedcorrectly.

http://www.rittmanmead.com/2008/08/themysteryofobieebridgetables/

4/12

11/7/2014

RittmanMeadConsultingTheMysteryofOBIEEBridgeTables

HoweverImconsciousthattome,gettingridofthelogicaldimensiontableseemsabitwrong,andothershavesaid
thattheydontusethebridgetablefeatureatall,andinsteadjustcombinethevarioustablesintoasinglelogicaltable
source.Ifanyonesgotanyotherwayofusingbridgetables,addacommenttothispostandwellseewhatthe
consensusis.
Share
Tweet
Like

1
1

PostedinOracleBISuiteEE|22Comments

Comments
1. MikeNicholsSays:
August29th,2008at12:52am
ThanksMarkforthegreatpost.IhavespentthelastyearrelearningmyDiscovererskillsonOBIandhave
appreciatedyoruposts.LookingforwardtoOpenWorld.Iwonderifyouhavetriedstartingwithaviewthat
prejoinsthebridgetableandthedimensiontable.ThenusetheviewasasourceinOBIEE.HowdoesOBI
handlethistypeofsituation.CurioushowtheSQLcomesout.ThisishowInormallysolvethebridgetablefor
usersanyway.Ifindwouldimporttheviewindiscoverertohidethecomplexityofthebridgefromtheend
users.Whatareyourthoughts?
2. GerardBraatSays:
September2nd,2008at9:15pm
HiMark,Thanksforthepost.Ithinkyoudonotneedtodeletethedimensiontable.ByjustaddingtheDIM
tablealsotoLTSofthebridgebutleavethedimtableinthelogicalmodel,youresolvetheinconsistencyand
leavethemodelintuitiveandintact.However,thepurebridgetablesituationinaDWHstarschemaisslightly
different:Itisadimensionjoiningtoafact,saySALES_REP_DIMtoCOMPENSATION_FACTwhichjoins
viaabridgetoSALES_TEAM.InthiscaseyoucannotaddtheSALES_REPdimensiontothebridgebecauseit
doesnotjointothefactandhencedoesnotsolvetheproblem.THeotherwayaroundisnotallowedsincethe
granularityofthebridgeishigherthanitsatellitedimensions.Ihave,untiltoday,nosolutionforthisproblem.I
http://www.rittmanmead.com/2008/08/themysteryofobieebridgetables/

5/12

11/7/2014

RittmanMeadConsultingTheMysteryofOBIEEBridgeTables

amkeentodiscoverwhattheeffectisintheOBIEEserverengine,ofcheckingtheBridgeTablebox.Tobe
continued
Cheers,
Gerard
3. MarkRittmanSays:
September3rd,2008at10:13am
HIGerard,Mike
Mikethanksforthecomments.IntermsofdefiningaviewoutsideofOBIEE,asyousaythisprobablymakes
thingsaloteasier,howeverforthisinvestigationIwastryingtoseehowOBIEEuseditsbridgetablefeature
hencegivingitago.Asyousaythough,resolvingtheissueinthedatabaselayerpriortomanipulatingitviaBI
Administratorisoftenthesimplestapproach.
GerardIthinkIdidtryaddingthedimtothebridgetableLTSandIgotthesameerror.Illtrythisagainwhen
Igetamomentandseeiftheproblemstilloccurs.Thanksfortheheadsupontheotherbridgetablescenario,if
yougetasolutionthenletmeknow,Illkeepaneyeopenaswellforthis.
4. JohnBroadwaterSays:
September11th,2008at6:18pm
Thesearegreatposts.Veryclearandveryvaluable.Ingeneral,thispostdescribeshowIhaveusedbridgetables
inotherenvironmentsEndusersjustseeasingleviewcombiningthebridgeandthebridgeddimension.
Myquestion:arethereanyfrontendquerytoolssmartenoughtoautomaticallyapplytheweightingfactorto
referencedfactamounts?
5. SammySays:
October24th,2008at9:16am
IthinkthemultivalueddimensionsolutionliketheloopsolutioninBO.Maybethatneedaverymatureand
complexsolutionsupply.
6. SanSays:
November20th,2008at8:25am
HiMark,
ThisisthewayImodeleditanditworkedfineforme.InsteadofusingtheBridgetabletojointothefactthe
wayIdidiintheBMMlayerisiJoinedtheDimension(Diagnoses)totheFacttableandinsidetheLTSof
dimensionImappedthebridgetableastheothersourceanditworksfineformeanditgivsmecorrectresult.
Pleaseadvice.
Regards,
San
7. ParagSays:
March12th,2009at4:38pm
HelloMark,
Thanksforallthepostsandinsights.Theyareextremelyhelpfulinthedesignanddevelopment.
Ihaveaquestion.Wouldthisapproachworkwith2facttables,evenifthereisaconfirmeddimensionbetween
the2.
http://www.rittmanmead.com/2008/08/themysteryofobieebridgetables/

6/12

11/7/2014

RittmanMeadConsultingTheMysteryofOBIEEBridgeTables

Thefactgroupsarejoinedusingthethehierarchiesanddefiningcontentlevelforthefacts,dimensionsand
measures.Butthequeriesarelengthyandlongrunning.
Thanks,
Parag
8. BibudeshSays:
July3rd,2009at5:00am
HiMark,
Ithinkhavingabridgewillbemorebeneficaliftherearetwoormoremultivalueddimensions.Ifitsonlyone
thenitsbettertohaveboththedimensionsinfactitselfandhavetheweightfactorortheproratafactor
maintainedinthefact.Thiswillreducecomplexitywhileauditingtheresultsandendqueries.
Regards
Bibudesh
9. RoySays:
August11th,2010at9:13am
HiMark,
Thisisaverygoodpostandhelpful.CanyoupleasegiveanexampleofPatientAdmissionandDiagnoseswith
somerecordsandshowhowtheylooklikewhenDiagnosesGroupiscreated,too?Iamnotabletounderstand
howtomovethekeysfromthosetwotablestothebirdgetabletoconvertmanytomanyrelationshipintotwo
onetomanyrelationships.
Regards,
Roy.
10. MohammadRafiAnsariSays:
September1st,2010at10:08am
CanyoupleaseshareRPDforTheMysteryofOBIEEBridgeTables.
11. MohammadRafiAnsariSays:
September1st,2010at10:10am
HiMark,
Thisarticleisreallynice.ifpossiblecanyoupleasesendmeTheMysteryofOBIEEBridgeTablesrpdat
rafiansari2002@gmail.comIwillbethankfulltoyou.
Regards
MohammadRafiAnsari
919213626363
12. MarkRittmanSays:
September1st,2010at1:59pm
HiMohammad,
ImafraidIvenotgotitavailablenow,thepostingis>2yearsoldnow,sorry.
Mark
http://www.rittmanmead.com/2008/08/themysteryofobieebridgetables/

7/12

11/7/2014

RittmanMeadConsultingTheMysteryofOBIEEBridgeTables

13. MohammadRafiAnsariSays:
September3rd,2010at5:42am
HiMark,
Thanksforurreply.
ItsokifRPDisnotavailablenowIwilltrytodoitbymyself.WellIneedsomemorehelpfromyourside.
ActuallyIamplanningforOBIEECertificationbutidontknowwhatwillbethepatternforthat.SoIneedyou
precioushelp,ifyoucanarrange/providemeanysoftmaterialoranysamplepaperoforacleforstudy.Sothati
canscoremoreinpaper.
Regards
MohammadRafiAnsari
Email:rafiansari2002@gmail.com
Contact:919213626363
14. JebySays:
September19th,2010at6:52am
HiMark,
Usefularticlethatshowsonemorewayhowtobridgetables.
IwasperforminganupgradefromSiebelanalyticstoOBIEE10.1.3andwehadlotsofconsistencyerrorspost
upgradewhichwerenotvisibleinanalytics.
Theyseemedtobearisingfrombridgetables(althoughtheerrorswereonBMMobjectsnotevenrelatedtothe
bridges).OurOracleconsultantjustdeletedthebridgetablesandalltheerrorsvanished.
Iwasalsosurprisedtoseethatallthebridgeshavingthesourceasfacttables.Canyoupleaseshareyourthougts
onifandwhenyouconsiderafacttabletobehaveasabridge?
15. RobSays:
October6th,2010at7:28pm
Thankyouforsharingyourexpertisethisarticlesavedmequiteabitoffrustration.Isubscribetoandam
impressedbyyourrssfeed,aswell.Rockon!
16. FrankSays:
October14th,2010at3:08pm
ThebridgetableoptionisnotavailableanymorewithOBIEE11g.
Ithasbeenchangedwithaninterestinglookuptableoptionwhichofcourseisnotthesamefonctionnality.
Regards
17. saudSays:
January17th,2012at12:04pm
awesome
18. DSSays:
August28th,2012at10:46pm
MarkyouaretheexpertandIhavebeenstrugglinginthisonething.IwanttomakeaMasterDetailreportto
http://www.rittmanmead.com/2008/08/themysteryofobieebridgetables/

8/12

11/7/2014

RittmanMeadConsultingTheMysteryofOBIEEBridgeTables

workwheremasteriscomingfromoneFacttableanddetailiscomingfromanotherFacttable.However,they
bothsharedcommondimensionsandtheyareinsamesubjectarea.
19. DavidSays:
September10th,2012at7:31pm
Hi,Nicearticleithelpmetounderstandmanythings.IalsohaveaproblemwhichIwantyoutohelpme.This
isjustasimpleexampletoilustratemyquestion.
Facttable:PERSON_ROLE
Dimensionaltables
DIMPERSONPersoncatalog
DIMROLERolebyPerson
{DIM_PERSON_ID,ROLE_Name}
soitislikeabridgeplusdimensional
APersoncanhavemultiplesroles,butintheFacttableimonlyusingoneregisterperperson.
myFacttable{DIM_PERSON_ID,DIM_GROUP_ROLE}
inthissimplecasecouldIusethesamevalueforbothcolumns?oricanbindmytwodimensionstosingle
columnontheFacttable?
Thanks
20. LakshmananSays:
September28th,2012at3:00am
WehaveaBalancedScoreCardwhichshowsKPIfigures.OndrilldownthisshouldshowAccountcategory
figures.
ManytoManyOneKPIreferstomanyAccountcategories.OneAccountcategoryisusedinmanyKPI.
TherearetwowaysofjoininglogicaltableswithabridgetableinOBIEE10g.
Afterjoiningyoucancopyandpastethetablecolumnsintoonetableorletthembeintwotables.
Butthefiguresarecomingwrongaftersuchjoin.Afterstrugglingforonemonth,wegaveup.
TomakethissimplewesimplymergedtheDim_KPIintotheDim_Accountsphysically.Thestructurelooks
funnywith200columnsinDim_AccountsforeachKPI.ButthenthisiswhatOBIEEdoeswithlogicaltables.
Andwedonothavewrongfiguresproblem.
AnditisveryeasytoverifyanaccountbelongstowhichallKPI.
Addinganewaccountiseasyweexportthetabletoanxlsforfinanceguytoaddnewaccountandmention
underwhichallKPIitshouldbereferred.
21. AnirbanSays:
January16th,2013at2:11pm
HiMark,
Thanksverymuchforthepost.Itisreallyveryveryhelpful.JustwantedtoknowifIwanttoimplementthe
bridgetableconceptiOBIEE11.1.1.6,howIcanimplementitasthereisnooptionforBridgetableinOBIEE
http://www.rittmanmead.com/2008/08/themysteryofobieebridgetables/

9/12

11/7/2014

RittmanMeadConsultingTheMysteryofOBIEEBridgeTables

11.1.1.6.
Thanks
Anirban
22. OsamaAbdallahSays:
July2nd,2013at4:16pm
HiMark,
Thankyouforthegreatpost.IbelieveIhaveasolutionforyou.Youcanbypassthebridgetablesolution
altogetherbycreatinganaliastableofthesecondfacttable,andlinkittotheprimaryfacttableinthephysical
layerasonetomany.ThenintheBusinessModelandMappingLayer,youcanmergethealiasfacttable
throughtheLTSwiththeprimaryone.MakesuretocreatethejoinsofthetwotablesintheirLTS.Sonow
youdendupwithonebigfacttable.YoucanthensplitoffthatbigfacttableintotwotablesinthePresentation
Layer.
Ivehadalmostthesameexactscenarioatwork,whereIneededtomergeanothertablewiththemainfacttable.
AndthisistheapproachthatItook.InthePresentationLayer,Ididputitasonefacttable.ButlikeIsaid,you
cansplititintomultipletables.
Idontthinkthebridgeoptionisreliable.Itriedit,anditfrustratedme:).ItsoneofthesethingsthatOracle
sometimesputsouttherethatdontwork.Butthecustomerspayforthemanyway.hehehehehhe.
Takecare,
OsamaAbdallah

Searchtheblog

RecentPosts
AnalyticswithKibanaandElasticsearchthroughHadooppart3VisualisingthedatainKibana
AnalyticswithKibanaandElasticsearchthroughHadooppart2GettingdataintoElasticsearch
AnalyticswithKibanaandElasticsearchthroughHadooppart1Introduction
UKOUGPartneroftheYearAwards
OracleBICloudServiceforSaaSApplicationReportingPart1:IntegratingBICStoSalesforce.comusing
RESTAPIs

TopPosts
OBIEE11gSecurityWeek:ManagingApplicationRolesandPolicies,andManagingSecurity
MigrationsandDeployments
OBIEE11gSecurityWeek:ConnectingtoActiveDirectory,andObtainingGroupMembershipfrom
DatabaseTables
UpgradingOBIEEto11.1.1.7
OBIEE11gSecurityWeek:RowLevelSecurity
AnalyticswithKibanaandElasticsearchthroughHadooppart3VisualisingthedatainKibana

RandomPosts
CreatingaCustomAnalyticsDashboardfromScratchthe"BluePeter"way
http://www.rittmanmead.com/2008/08/themysteryofobieebridgetables/

10/12

11/7/2014

RittmanMeadConsultingTheMysteryofOBIEEBridgeTables

DataIntegrationTips:ODI12cSubstitutionAPIGUIDs
NewODI12cArticle,andDetailsofourInauguralODI12cCourseinBrighton,May12th14th
2014
VisualRegressionTestingofOBIEEwithPhantomCSS
ConnectingOBIEE11.1.1.7toClouderaImpala

Tags
11gBigDataApplianceBIPBIPublisherdwem12cEndecaexalyticsextremebigitgoldengatehadoopHive
init.dinstalllinux MDSXML monitoring newfeaturesnqcmdOBIA

obieeodiodi12copatchOracleOracleBI

ApplicationsoracledataintegratorOracleEndecaOracleEndecaInformationDiscoveryowbperformanceReal

TimeDecisionsreplicationReportServiceRTDrunReportsampleappscreenscriptingsecuritystartuptestingtrainingXML

CallusnowtotalkaboutyourBIproject:
+44(0)1273911268(UK)or(888)6311410(USA)
or+61395967186(Australia&NewZealand)or
+919972567970(India)or+3228088211(Belgium)
Home
AboutUs
>Aboutus
>Aboutourteam
>Contactus
>Ourclients
Services
>Consulting
>Training
>Support
ConsultingServices
>Projects
>ExpertServices
>OBIEE11g
>Sustainability
>OnDiscoverer?
>OracleDW
Training
>OBIEEBootcamp
>OBIEEEndUser
>Exalytics
>ODI11gBootcamp
>OracleBIApps
Resources
>Articles
>Blog
>OBIEE11g
BlogAuthors
>MarkRittman
>VenkatJ
>PeterScott
>BorkurS
http://www.rittmanmead.com/2008/08/themysteryofobieebridgetables/

11/12

11/7/2014

RittmanMeadConsultingTheMysteryofOBIEEBridgeTables

>MikeVickers
>RobinMoffatt
>JonMead
RittmanMeadConsultingltd.

RegisteredOffice:SuiteB,
FirstFloorMooreHouse,
13BlackLionStreet,
Brighton,EastSussex,
BN11ND,UnitedKingdom
CompanyNo.:6032852
VATNo.:900383948
RittmanMeadAmerica,Inc.

RegisteredOffice:4550NorthPointParkway
Suite390
Alpharetta,Georgia30022,USA
RittmanMeadOceaniaPtyLtd.

RegisteredOffice:12MooreStreet,
BrightonEast,
Victoria,3187,Australia
AustralianCompanyNo.:149458935
RittmanMeadConsultingPvtLtd.

RegisteredOffice:Unit105106
RegentPrime
WhitefieldMainRoad
Whitefield
Bangalore
560066
RittmanMeadBelgium

RegisteredOffice:ChaussedeLouvain426
1380Lasne
Belgium
20102011RittmanMeadConsulting.|PrivacyPolicy|E:info@rittmanmead.com

WebsiteDesign&Build:tymedia.co.uk

http://www.rittmanmead.com/2008/08/themysteryofobieebridgetables/

12/12

S-ar putea să vă placă și