Upload
asad-hussain
View
46
Download
0
Embed Size (px)
DESCRIPTION
Rittman
Citation preview
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 1/15
HomeAboutCareersClientsConsultingTrainingSupportArticlesBlog
RittmanMeadDeliveredIntelligenceOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
July13th,2010byMarkRittman
Inourpreviouspostings,welookedatthenewuserinterfaceforOBIEE11g,andhowthemetadatalayerfortheBIServerhasbeenenhancedtobetterhandleOLAPstyledata.Inthisposting,wellmovetothefrontendandseehowdimensionalsupporthasbeenenhancedinOracleAnswers11g,inparticularthroughanewfeaturecalledHierarchicalColumns.
IfyoufollowedthedevelopmentprocessforOBIEE11gR1andinparticular,thenewfeaturesplannedforOracleAnswers,youllprobablybeawareofenhancementstohowAnswershandlesOLAPstylehierarchies,andhowpivottableviewsinAnswershavebeenupdatedtomoresuitthetypeofanalysisperformedbyEssbaseusers.InapreviouspostinginthisseriesIlookedathowtheunderlyingmetadatainOBIEE11gR1hasbeenextendedtonowencompassragged,skiplevelandparentchildhierarchies,andinthispostingIlllookathowthe11greleaseofAnswers(nowpartofthe11gUnifiedFramework)canmakeuseofthesethroughhierarchicalcolumnsandgeneralenhancementstopivottableviews.
Inthisexample,IhavealogicalmodelcalledStoreSalesSalesthathasfourlogicaldimensions.Thismodelhasthenbeenusedtocreateacorrespondingpresentationmodel,thatexposesthesedimensionsashierarchicalcolumns.
Thedetailsofthesedimensions,andhierarchicalcolumns,areasfollows:
Products(LevelBased)dimensionhasasingleregular,balanced,levelbasedhierarchy(asperthe10grelease)
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 2/15
Staff(ParentChild)hasaparentchildhierarchy,withanautomaticallygeneratedclosuretablebehinditStores(Ragged&SkipLevel)hasasingleskiplevelandraggedlevelbasedhierarchy,andTimes(TimeDimension)hastwobalanced,levelbasedtimehierarchies(oneforcalendar,oneforfiscal)
Thedatasourcebehindthismodelisrelational(Oracle11gR2),andnowIwanttostartreportingonthisusingthenewhierarchicalcolumnsfeatureinOBIEE11gR1.
IstartbyloggingintotheOBIEE11gR1unifiedframeworkandcreateanewanalysis.Iselectthispresentationmodel,andthentakealookatwhatsavailabletomeintheCriteriapanel.
StartingwiththeSaleslogicalfacttableandtheStoreslogicaldimensiontable,Icanseetheonemeasure(Amount),thecolumnsintheStorestable(nowcalledAttributeColumnsin11gR1),andthedimensionplusitslevelsjustbelowtheattributecolumns.Thisdimensionisreferredtoin11gR1asaHierarchicalColumn,whichgivesusthreetypesofcolumninthisrelease(measurecolumns,attributecolumnsandhierarchicalcolumns).
IstartoffbyaddingtheRegionNameattributecolumntomycriteria,alongwiththemeasure.IswitchtotheResultspanelandseethattheoutputlooksverysimilartowhatIdhaveseeninOBIEE10g.ThisistopreservebackwardscompatibilityforproductssuchastheBIApplications,whichwillstillbeabletoshowreportsanddashboardsinthesamewayasifyoudbeenusingOBIEE10g.
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 3/15
WhenIselectanattributecolumninmycriteriaandthenswitchtotheResultspanel,thedataisautomaticallyshowninatableview,asitwouldhavebeeninOBIEE10g.
Inowcreateanewanalysis,butthistimeselecttheStores(Ragged&SkipLevel)hierarchicalcolumn,alongwiththemeasure.StartingwiththeAllStoresgrandtotallevel,Iclickonthe+signsnexttoeachmember,andstartdrillingintothehierarchy.NoticehowtheSFOconcessiondoesnthaveastoreasaparent,andinsteadrollsupintotheNorthCAregion(thisistheskiplevel).NoticealsohowtheFishermansWharfstorehastwoconcessionsunderit,whereastheotherstoresdont(thisistheraggedelementofthehierarchy,whereleafmembersarentnecessarilyatthesamehierarchylevel).Finally,notehowtheAllStoresgrandtotalleveliscalculatedbasedonthedimensionmembersthatareitsdescendants.
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 4/15
IcandoasimilarthingwiththeStaff(ParentChild)hierarchy.Asthenamesuggests,thisisaparentchild,orvaluebased,hierarchy,andagainIcandisplayitintheResultspanelandlookatthenumbers.Notehoweverthatwithparentchildhierarchies,thevaluesforeachmemberarentcalculatedbasedonitsdescendants,andinsteadtheyjustdisplaythetotalassociatedwiththatmember(i.e.thereisnoautomaticrollupofnumbers).
Nowthisdifferenceinbehaviourbetweenparentchildbackedhierarchicalcolumns,andlevelbasedbackedhierarchicalcolumns,isinterestingasthereisnowaytotellfromtheAnswerssidewhattypeofhierarchyyouareworkingwith.Iwonderifthiswillchangeinfuturereleases?
Youcanincludemorethanonehierarchicalcolumninapivottable,andindeedyoucanmixandmatchattributecolumnsandhierarchicalcolumnsinthesameview.Intheexamplebelow,IhavetheStaff(ParentChild)hierarchicalcolumndownthelefthandside,whichisthenbrokendownbytheQuarterattributecolumnfromtheTimes(Time
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 5/15
Dimension)logicaltable,withtheProducts(LevelBased)hierarchicalcolumnalongthetop.
Youcanalsonesthierarchicalcolumnswithineachother,suchasintheanalysisbelowwhereIvenestedTimes(TimeDimension)withintheStaff(ParentChild)hierarchicalcolumn.
Sofar,sogood.AsImentionedbefore,pivottablesthemselveshavehadarevampinthisrelease,withoneofthekeyfeaturesbeingtheabilitytoswapdimensionsaboutwhenthepivottableisdisplayedinthedashboard(in10g,youhadtoreturntoAnswerstorearrangethelayout).Intheexamplebelow,ImmovingtheTimes(TimeDimension)hierarchicalcolumnsothatitsundertheProduct(LevelBased)hierarchicalcolumn,bygrabbingthegrabbarabovetheTimes(TimeDimension)hierarchicalcolumnandthendraggingittothenewposition.
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 6/15
Youcanalsosortthepivottablebyclickingtheupanddownarrowsthatappearovercolumnsoralongrows,oryoucanrightclickanywhereinthepivottableandaccessacontextualmenufromthere.
Anotherfeatureinthisnewreleaseistheabilitytocreatedynamicgroups(oftenreferredtoascustomaggregates)forexample,tocreateacustomaggregatemadeupofAlisonChisel,CassandraBarryandPetesims(allofwhichareatdifferentlevelsinthehierarchy),IpresstheNewGroupbuttonintheResultspanelmenu,andthenselectthesemembersofstaffforthegroup.
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 7/15
AfterpressingOKtocreatethegroup,Icanseetheminthehierarchicalcolumn,andIcanalsodrillintothegrouptoo(theoldCalculatedItemoptionisstillthereaswell,forbackwardcompatibility).
Hierarchicalcolumnsalsobringanotherbonus,intheformofbeingabletoaccessalternatehierarchiesinadimension.IntheTimeslogicaltableIveexpandedintheviewbelow,Ihavetwohierarchicalcolumns,oneforthecalendarhierarchyandoneforthefiscalhierarchy.Inthepast,IcouldonlydrilldownononeofthesebutnowyoucanseebothhierarchieslistedintheCriteriaview,andIcanselectwhichoneIwanttodrilldownon(notquiteasgoodasDiscoverer,whichletmedisplaybothonthereportatthesametime,butitsgettingthere).
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 8/15
Theresoneothermajorchangewiththeintroductionofhierarchicalcolumns.Forattributecolumns,youcanstillfilterinthesameway,pickingthecolumnandthensettingupthefilter(ProductName=Shoes,orAmount
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 9/15
Iwanttochangethistostartwithalistofstores,thenrestrictthislisttojuststoresthathavesoldover100,butthenaddbackinanystoresthatareinthetop10%basedonsales.
ThisclearlyowesaiottoOracleExpressandOracleOLAP,whereyouwouldprogressivelyrestrict,expandandredefinethestatusforadimension,andthedialogowesalottoasimilaroneinDiscovererforOLAP.Froman
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 10/15
initiallook,itdoesntlookaseasytocreatecomplex,multidimensionalconditionssuchasgivemethelistofstoreswhosesalesareinthetop5%ofstoresbasedonlastyearssalesacrossjustthefoodandbeverageproductlines,butthisissomethingIllneedtoplayaroundwithalotinafutureposting.Fornowthough,wevegotthetraditionalabilitytoapplysortsagainstcolumns(attributecolumnsinOBIEE11gR1speak),orwecanusetheseselectionstepsforwhenwereworkingwithhierarchicalcolumns.Thisfeaturewillbeespeciallyusefulforparentchildhierarchies(includingoneswithEssbaseasadatasource)thatdonthavelevels(akacolumns)tofilteragainst,insteadhavingmembersthatarearrangedintoanarbitraryraggedhierarchy.
Inthenextpostinginthisseries,wellbetakingthisonestepfurtherbylookingathowEssbasesupporthasbeenimprovedinthe11greleaseofOBIEE.Inthemeantime,ifyoureinterestedinseeingmoreofOBIEE11ginaction,BIWASIG(theBusinessIntelligence,WarehousingandAnalyticsSIG)arerunningawebcastonWednesdayonDataVisualizationBestPracticesusingOBIEE11g,runbyourfriendsDanandTimVlamis.Attendanceisfreeanditllbeagoodchancetoseeademoof11g.
Tweet
PostedinOracleBISuiteEE|11Comments
Comments
1. kranthiSays:
July13th,2010at12:58pm
@mark
Awesomepost,manybigthingsabouthierarchies.InbetweenwhenwouldDevelopersguidebyyourelease??expecteddate??
Regards,Kranthi
2. kranthiSays:
July13th,2010at1:00pm
@mark
Awesomepost,manybigthingsabouthierarchiesanddiscovererwayoffdrilldownandfilters.
Share 1
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 11/15
InbetweenwhenwouldDevelopersguidebyyourelease??expecteddate??
Regards,Kranthi
3. krisSays:
July13th,2010at3:57pm
@Mark,Thiswasawondefulpostandthingswereexplainedreallywell.
Notrollingupthenumberswhenitsaparentchildrelationshipdoesmakesenseinthiscaseastheywontadduptothegrandtotalpropelry.
Also,anyinfoonwhetherthepivottablebugs(around30Krowlimit)arealreadyfixed?
WhathappenswhenyouexportthesehierarchialcolumnstoExcel?Doesitpreserveallthegroupingsonbothrowsandcolumns?
Kris
4. KevinSays:
July13th,2010at4:54pm
GreatpostMark,Thanksforthepreview.DoyouhaveadateforyourOBIEEbook?
5. MarkRittmanSays:
July13th,2010at8:03pm
@Krisyes,frommylimitedtesting,theindentationandgroupinginhierarchicalcolumnmembersispreservedwhenexportingtoXLS.
@Kevinprobably12monthsorsofromnow.Wewaiteduntil11gtostartwritingagain,sonowitsoutwellresumeinthefall.
6. DanVlamisSays:
July14th,2010at3:43am
Mark,
Greatpostwithlotsofgreatinformation.Thanksfortheplugforthepresentation.Takecare.
7. JayeshSays:
July19th,2010at8:41am
Mark,
Nicepostasusual.Ihavefewquestionrelatedtohierarchicalcolumns.1.DoeshierarchicalcolumnsworkonlyinPivotview?AsIhaventseenexampleofhierarchicalcolumnsinanyotherviewssofar.
2.IfhierarchicalcolumnsworkonlyinPivotview,thenonaddingthecolumninanalysisandnavigatingtoresultstakestowhichdefaultview(asforgeneralanalysisittakestotableview).
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 12/15
Thanks.
8. MarkRittmanSays:
July19th,2010at12:11pm
@Jayesh
Hierarchicalcolumnsworkinthetabularviewaswell.
regards,Mark
9. MalvikaAgarwalSays:
January27th,2011at1:01pm
HiMark,Iamfacingissuewithkeepingadimension(nonmeasure)columninthepivottablehierarchyview.ihaveahierarchyofcatalogandassociatedmeasurecolumns.ineedtoputaflagcolumninthereportandwhentheflagvalueisYthenthemeasurecolumnsshouldbedisplayedasBoldandinitalics.Inconditionstabicreatedthisconditionanditworksfine.theissueisthatduetoaddingofthisflagcolumnmyreportisnotgettingdrilleddown.e.g.letssayihaveahierarchyasA>A1,A>A2,B>B1.Ahas2childrenwhichhavefurtherchildrenandBhasonlyonechildandB1willhavemorechildren.NowwhenidrilldownonBthenitgetsopenedbutwhenidrilldownonAthenitdoesnotgetdrilled.Thisscenarioisforallthenonmeasurecolumnsevenwhenidonotputanyformatingcondition.Ihavealsotriedtochange(increase)theNoofelementsatthislevelpropertyofthehierarchyintheBMMlayerbutnosucess.Kindlyletmeknowwhatiscausingthiserror.
10. wimdewetSays:
March9th,2012at4:52pm
HiMark,
WewanttoimportanoldOracleExpress(OLAP)cubetoOBIEE11g(11.1.5/6)
Doyouhaveaclearmigrationpathdocthatwecouldpossibleusetodothis?
Muchappreciated!
11. KaraSays:
December12th,2012at10:13pm
Doesanyoneknowifyoucanlimitthenumberofrowsthatcomebackinapivottablein11gtodisplaythefirst25rows.Wearein10grightnowandwecanlimitthisinatablebutnotapivottable.
Searchtheblog
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 13/15
RecentPosts
MoreontheRittmanMeadBIForum2015Masterclass:DeliveringtheOracleBigDataandInformationManagementReferenceArchitectureAnIntroductiontoAnalysingODIRuntimeDataThroughElasticsearchandKibana4AnnouncingtheSpecialGuestSpeakersforBrighton&AtlantaBIForum2015RittmanMeadBIForum2015NowOpenforRegistration!CreatingRealTimeSearchDashboardsusingApacheSolr,Hue,FlumeandClouderaMorphlines
TopPosts
BlogHomeOBIEEMonitoringandDiagnosticswithInfluxDBandGrafanaOBIEE11gSecurityWeek:ManagingApplicationRolesandPolicies,andManagingSecurityMigrationsandDeploymentsAnalyticswithKibanaandElasticsearchthroughHadooppart3VisualisingthedatainKibana
RandomPostsDataIntegrationTips:ODI12cVarchar2(CHARorBYTE)LookingattheODI12cHadoopDemosintheNewOracleBigDataLiteVMTheSecretLifeofConditionalFormattinginOBIEEEndtoEndODI12cETLonOracleBigDataAppliancePt.5:BulkUnloadtoOracleNewOracleMagazineArticleonBIMobileAppDesigner
Tags
11gBigDataApplianceBIPBIPublisherdataintegrationdataintegrationtipsdwem12cEndecaexalyticsgitgoldengatehadoopHiveinit.dkibanalinuxMDSXMLmonitoringnewfeaturesnqcmdOBIAobieeodiodi12copatchOracleoracledataintegratorOracleEndecaOracleEndecaInformationDiscoveryowbperformanceRealTimeDecisionsreplicationRPDRTDsampleappscreenscriptingsecuritysshsysadmintestingtrainingXML
CallusnowtotalkaboutyourBIproject:+44(0)1273911268(UK)or(888)6311410(USA)or+61395967186(Australia&NewZealand)or+919972567970(India)or+3228088211(Belgium)
Home
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 14/15
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>MikeVickers>RobinMoffatt>JonMead
RittmanMeadConsultingltd.
RegisteredOffice:SuiteB,FirstFloorMooreHouse,13BlackLionStreet,Brighton,EastSussex,BN11ND,UnitedKingdomCompanyNo.:6032852VATNo.:900383948RittmanMeadAmerica,Inc.
RegisteredOffice:4550NorthPointParkwaySuite390Alpharetta,Georgia30022,USARittmanMeadOceaniaPtyLtd.
3/16/2015 RittmanMeadConsultingOBIEE11gR1:HierarchicalColumns,andEnhancementstoPivotTableViews
http://www.rittmanmead.com/2010/07/obiee11gr1hierarchicalcolumnsandenhancementstopivottableviews/ 15/15
RegisteredOffice:12MooreStreet,BrightonEast,Victoria,3187,AustraliaAustralianCompanyNo.:149458935RittmanMeadConsultingPvtLtd.
RegisteredOffice:Unit105106RegentPrimeWhitefieldMainRoadWhitefieldBangalore560066RittmanMeadBelgium
RegisteredOffice:ChaussedeLouvain4261380LasneBelgium20102011RittmanMeadConsulting.|PrivacyPolicy|E:[email protected]
WebsiteDesign&Build:tymedia.co.uk