+ All Categories
Transcript
Page 1: How to do cohort analysis in Incorta?

HowtodocohortanalysisinIncorta?Cohortanalysisisthegroupingofcustomersintocohorts,basedontheiracquisitiondate.Thishelpscomparesalescontributionsovertimeacrossdifferentcohorts.Ithelpsanswerquestionslike“What%ofcurrentyear’ssalescanbeattributedtocustomersacquiredthisyearvs.prioryears?”ThiskindofanalysiscanbedoneinIncortausingacombinationoffeaturesrecentlyintroducedintheIncortaanalyticsplatform;levelbasedmeasuresandIncortatable.Thiswrite-upexplainshowthesetwofeaturescanbeusedinconjunctiontodocohortanalysis.Step1:CreateanIncortatable.TheIncortatableallowsyoutomaterializeanaggregatedqueryasanewtableinthephysicalschema.GeneratinganIncortatableissimilartobuildinganinsightintheAnalyzerUI.Theonlydifferenceisthatthisaggregatequeryismaterializedin-memoryandcanberefreshedeverytimetheparenttablesinthesameschemaarerefreshed.

Page 2: How to do cohort analysis in Incorta?

Step2:Next,withintheIncortatable,calculatethecustomeracquisitionyeartodeterminecohort.Thisrequirescalculatingthefirstpurchasedateforagivencustomerbyregionandcountryandaddingthiscalculatedvalueforeverysalestransactionforthatgivencustomer.Thiscanbeachievedusinglevelbasedmeasuresformula.TheexampleshownbelowisbasedonthesampleSALESschemathatisavailableaspartoftheIncortainstallation.

Usingthisformulainanaggregatedquery,youcandeterminerevenuebycustomerbyyearandalsobyyearofcustomeracquisition.

Page 3: How to do cohort analysis in Incorta?

ClickDoneandsavetheIncortatable.Youwillseethatanewtableiscreatedwithallthematerializedcolumns.Let’scallthistableCohortAnalysis.Step3:Next,loadtheIncortatable.Thiscanbedoneeitherbyloadingtheindividualtableorbyinitiatingafullorincrementalloadontheschema.SeescreenshotbelowforschemaloadjobdetailsandhowtheIncortatableisrefreshedastheverylaststepintheloadprocess,afteralltheothertableshavebeenrefreshed.

Page 4: How to do cohort analysis in Incorta?

Note:TheIncortatableneedstobeinthesameschemaastheparenttablesfortheIncortatablerefreshtobesynchronizedwiththeparenttableloads.Step4:NowthatwehavematerializedtheaggregatequeryusinganIncortatable,wearereadytobuildthecohortanalysisonthedashboard.ThecustomeracquisitionyearthatwehadcreatedintheIncortatableasalevelbasedmeasureisnowusedinthisinsightasacoloringdimensiontoshowcasewhatpercentageofcustomerrevenueineachyearcanbeattributedtothedifferentcohorts.Inthisexamplebelow,almost30%ofthesalesin2010canbeattributedtocustomerswhomadetheirfirstpurchasein2005.

IncortatableandlevelbasedmeasuresarepowerfulanalyticfeaturesintheIncortaplatform.Theycanbeusedinconjunctiontocreatepowerfulaggregateinsights.AnothernicefeatureoftheIncortatableistheabilitytocreatejoinswithothertablesinthephysicalschemalayer.


Top Related