You are on page 1of 55

1

ThistutorialisanintroductiontoMonarch11andisintendedfornewusers.Itdoesnotinclude
completeinformationforusingthesoftwarebutitwillgiveyouagoodheadstart,andsaveyou
someselfstudytime.
Therearesamplelessonfilesavailablefordownload,soyoucanpracticeusingthesamefilesshown
here.
2
3
InthistutorialyouwillbeexploringfourviewsofMonarchstartingwiththereportview.Andyou
willseehowthisreportwillbetransformedintoDataView,SummaryViewandChartView.
4
5
Monarchisareportanalyticssoftwarethatextractsdatafromexistingreportscreatedbyany
informationsystem;existingreportsareavaluableandreliablesourceofdata.Monarchletsyou
customize,analyze,andvisualizeyourdatainMonarchEnterpriseServerfordistributingand
publishingdynamicreportsovertheweb.Inaddition,youcanexporttoExcel,Access,PDFfilesand
more. Andthisisallwithoutrekeying,withoutprogramming,andwithouthelpfromIT.So,
Monarchleveragesyourinvestmentinthereportsandsystemsyoualreadyhaveinplace.
6
TheDatawatchMonarchReportAnalyticsPlatformmakesiteasyforyoutoincorporatevital
informationfrommainframegreenbar reports,ERPreports,PDFs,invoices,statementsandmore.
Textfiles,intheirvariousforms,arethemostcommon.
Again,Monarchenablesyoutouseyourexistingreportsasasourceoflive,actionabledata.
7
Thereareover40,000Monarchcustomers.Althoughtheyareallworkingwith variedandunique
reportformatstheyareabletouseMonarchsuccessfully.
ThisisbecauseofMonarchsabilitytoapplystructuretounstructureddata.
Hereisoneexampleofasourcereport anemployeelistingforafictitiouscompanycalled
MaynardCorporation.
Therearemanythingsyoumaywanttodo withareportlikethis suchasanalyzethesenumbers,
orsortandgrouptheinformationdifferently.Orperhapstheresjusttoomuchinformationhere
andyouwanttofocusononlytheportionsthatinterestyou.
Alltheinformationyouneedisherebutitisburiedor,asweliketosay,hidinginplainsight,but
Monarchisgoingtohelpyou easilyandquicklygettotheinformationyou needfromthisreport.
8
Whatinformationwouldyou liketopullfromthisemployeelisting?
Imagineyou needallthedatayou seehere,plus
A countofhowmanyemployeesthereareineachdepartment
Thetotalsalaryforeachdepartment
Numberofemployees foreachcity eventhoughthereportisgroupedbydepartment
Whatwouldsalarieslooklikeifwegavepayincreasestocertainemployees
Andfinallyyou maywishtoexportthistoExcelorpdfortxtoranotherformatforusebyothers
9
WithMonarchsreportanalyticscapabilitiesyouwillbeabletoaccomplisheverythingyouneedand
more, andwithoutrekeyingorprogramming.
Hereare severaldifferentviewsderivedfromthatoriginalreport.
Letstakealookattheprocessthatmakesthishappen.
10
OverviewoftheMonarchmodelbuildingprocess:
1. First,openyoursourcereportfromwherever itmaybe yourharddrive,anetworkserver, yourdisk
drive etc.OpeningasourcereportinMonarchissimple,itsreallynodifferentthanopeningfilesinother
applications.
2. Thenbuildauniquemodelfileforyourreport.
3. The firststepinbuildingamodelfileistoDecidewhatdatainthereportisimportanttoyouandselect a
sampleofthattargetdata.
4. AssignaRole forthatsample thistellsMonarchhowthisparticularsamplerelatetootherpartsofthe
report.
5. Setatraptoselectallthelinesthat arelikethesample.
6. Highlightthefield orfields youwantin yourdatatable;clickOKandyouvebuiltyourtemplate.
7. Ifyourreporthas groupinglevels,theyarecapturedinthesameway,soyoujustrepeatthestepsfor
eachgroupinglevel.
8. Thereportistransformedintoalivedatatable.
9. Ifyoulike,youcanfurtherenhancethedatabyaddingsomesorts,filters,andcalculatedfields.
10. Analyze andPresent thedatabyaddingvarioussummariesandcharts.
11. ExporttoExcelorotherapplicationsifyoulike.
12. Finally,savethemodelforrepeateduse.Simplyapplythemodelfiletofutureiterationsofthisreport.
11
12
Monarchisgoing toturnthissource reportintolivedatayou canworkwith.
13
Thereportwillbeturnedintothisdatatable.
Inordertoturnareportintoadatatableyoumustcreatedataextractiontemplates.Thereare
somesimplestepstofollow.First,openthesourcereport.
14
Opening yoursourcereportinMonarchiseasy; simplyselectFile>Open>Report.
Navigatetothereportyouwanttoprocess, whereveritmaybe yourdesktop,somewhereona
network,yourharddrive simplyselectthefileyouwanttoworkwithandclickopen.For
example:openMaynardNov.txt
15
Beforeyoubeginbuildingyourtemplatesthereisanimportantpreliminarystepthatshouldntbe
overlooked.Youshouldtakeacloselookatyoursourcereportandbecomefamiliarwiththelayout
andcontents.Thiswillhelpensurethatyouarebuildingyourtemplatescorrectly.
Youmaywanttoaskyourself
WhichfieldsdoIwantinmytable?
Whatisconsistentandconstant whatvariesandchanges?
Whatrepeatsmostoften whatisthehierarchy?
Gettingfamiliarwithyourreportslayoutwillhelpyoucreateeffectivetemplates.
16
HerewearelookingatthatsamereportwithinthecontextofMonarch.
InReportview youcanscrollupanddown,copy,paste,search,print,andbuildtemplates.
Beforeyou startbuildingthetemplates,getfamiliarwiththereportlayout.Noticehowthe
departmentAccountingappearsonlyonce,yetall12peopleareinaccounting.Thesameistruefor
building.
Ashumanbeings,whenwelookatthisreport,wehavenotroubleunderstandingthatWilliam
DaleyworksinAccountingandhislocationisBuilding9andheearns$39,600.Dataisscatteredon
thepagebutourhumanbrainscanmakesenseofitandformonerecordoutofit.
Youmustcreatedataextractiontemplatessothattherelationshipsyou seecanberecognizedand
interpretedbyMonarch.You needtocommunicatetoMonarchthataccountingshouldcopy
downward toall12employeeshere.Likewise,Building9shouldcopyupward toall12employees.
You willusetemplatestoexplaintheserelationshipstoMonarch.
17
Thecoloredareasyouseeherearedata extractiontemplates.Eachtemplateappearsasadifferent
color onthescreen,andthesecoloredareasaretheportionsofthereportthatwillformthedata
table.ThereisasettingwithinMonarchthatallowsyoutoselectyourowntemplatecolors.
Youwillbecreatingasetoftemplatesforeachuniquesourcereportyouwanttoprocesswith
Monarch.
Templatesarecreatedonlyonceperreportandstoredinamodelfile thereisnoneedtocreate
newtemplateseachtimeyouprocessyour report.So,whether ittakesyou10minutesor3hours
tocreateyourmodelfile,itistimewellspentbecauseyouwillnotneedtorepeatthosestepsagain.
18
19
Templatesextractthedatafromthevariousregionsofthesourcereportandorganizeittoforma
DataTable.Therearefourtemplatetypesorroles thatworktogethertocaptureallthedatain
thereport.Yourspecificreportwilldictatewhichtemplatesareneeded.Youmayneedseveralor
onlyone.
TheDetailTemplateisrequiredbecauseitgeneratesrecordsforthedatatable.Everyreport
containsdetaildata.TolocatetheDetail,lookfortextrepresentingthelowestlevelinthereport,
essentiallythecoredataorlineitems.
AppendTemplatescopytheirfieldvaluesDOWNtotherecordsgeneratedbythedetailtemplate.
GroupFooterTemplatescopytheirfieldvaluesUPtotherecordsgeneratedbythedetail
template.
ThePageHeaderTemplateisaspecialformofappendtemplatethatalsodefinespagebreaksand
caninterruptothertemplates.Itisgenerallyusedtoextractdatafromthetopofeveryreport
page.
20
Hereyoucanseethesourcereportontheleft,withtemplatesapplied,andtheresulting
tableontheright.
WhenbuildingaMonarchModelFile,yourfirstobjectiveistoidentifytheDetail
informationandbuildadetailtemplate.
TheDetailtemplate (yellow)generatesrecordsforthedatatable.Youcanseethat
William,MaryBethandKellyareindividualrecordsinthetable.So,ifthereare102
employeeslistedinthereport,theresultingdatatablewillhave102rows.
Department(orange)iscapturedusinganAppendtemplate.Youcanseeacolumnfor
departmentwasaddedtothetableandthedepartmenthascopiedDOWNtotherecords
generatedbythedetailtemplate.
OfficeLocation(green)iscapturedusingaGroupFootertemplate,andacolumnfor
locationwasaddedtothetableandlocationhascopiedUPtotherecordsgeneratedby
thedetailtemplate.
TheRunDate(blue)wascapturedusingthePageHeadertemplate.Acolumnshowing
rundatewasaddedtothetableandapagebreakwasinsertedinthereportrightabove
theheadertemplate.Controllingpagebreaksinthiswaycanbehelpfulincertain
situations.
YoucanusetheDetailandHeadertemplateonlyoncepermodelfile,buttheappendand
footertemplatescanbeusedmultipletimesasneeded.Forexample,iftherewerea
divisiongroupingwithseveraldepartmentswithinit,youwouldneedasecondappend
templatetoextractthedivision.
21
Allofthetemplatesworktogethertoproducetheresultingdata
table.
21
Therearefourmainstepsforcreatingatemplate.Alltemplatesarecreatedusingthesesteps.Itsa
goodideatostartwiththedetailtemplate.
First,selectthesample.WilliamDaleyisagoodsamplebutanyemployeelinewilldo.Click tothe
leftofthelineanditwillbecomehighlighted.Thenselectthetemplatebuttoninthereportribbon
andchooseNEW.
22
Thenextthingyouseeisthetemplateeditor andthisis whereyoubuildthe template.
Thesample WilliamDaley isshown at thetopofthetemplateeditor inwhatiscalledthesample
box.
Rightabovethe samplebox isthetrapline.Andabovethatis Role selectthe appropriateRolefor
thistemplate.Theemployeelinesaredetaildatasoyou wouldselectDetailastherole.
23
Tocollectortrapthedetailinformationyouindicatewhatisuniqueaboutit.Findacharacter
within thesamplethatisconsistent,type inamatchingtrapcharacterinthetrapline,andMonarch
willcollectthedataforyou.
Heretheslashisconsistentforeveryrecord soaslashissetasthetrap.Onlythelineswithaslashin
thatpositionareselectedandhighlighted.
Ifyouarewonderingwhatothertrapswouldworkherewellexplorethatin thedemonstration,but
fornowjustremember thatstep2oftheprocessrequiresyoutoidentifysomethinguniqueand
consistent thereareactuallyseveralpotentialtrapsinthisexample.
24
NowthatMonarchknowswhichlinesareDetaillines,define thefieldsforyourdatatableby
highlightingeachonewiththemousewithinthesamplebox.Selectonlythefieldsyouwantinyour
datatable.
Thendoubleclickeachfield,oneatatime,togiveitanameandadjustthefieldsproperties.Fields
canbe: character,numeric,date/time,ormemo.
Finally,clickOKtoacceptthedetailtemplateandclosethetemplateeditor.
25
Thedetailtemplate iscomplete,thatistheyellowareas.Justrepeattheprocesstocapturethe
remainingdatathatisnotpartofthedetail,suchasdepartment,officelocation,andrundate.
SomereportswillrequireseveraltemplateswhileothersmayrequireonlyDetail.
26
27
Nowthatthetemplatesarecompleteyou canopenthetable,alsoreferredtoasDataView.
ExpandtheTablenodeontheDocumentExplorertoactivateDataView.Younowhavetwotabsin
yourdocumentwindow:thereportandthedataview.
All102employeesfromthereportareinthedatatable.Departmenthascopieddown tothe
appropriatedetailrecords.LikewiseLocationhascopiedup totheappropriatedetailrecords.
Nowthereisvirtuallynothingyoucantdowiththisdata.Youcanexportthewholetabletoanother
applicationasitis,or evenbetter,youcanmanipulatethisdatabymovingandhidingcolumns,
sorting,filtering,andaddingcalculatedfields.
28
Calculatedfields,filtersandsortsarethree importantwaystomanipulateyourdata.Thetoolsfor
creatingthemarefoundintheTableribbon.
29
Calculatedfieldsaddmorecolumnstothetable.ThisisawayofaddingDatathatwasnotevenin
theoriginalreport.
Hereisacalculationforanewsalarycolumn;theaccountingsalarieshavebeenincreasedby3%.
TheexpressionincludestheIFfunction;therearemanyfunctionsliketheIFfunctionavailablein
Monarch.
Otherexamplesofcalculatedfieldsthatcouldbeconstructedheremightbetocalculatethe
numberofyearseachemployeehasbeenwiththecompany,ortoassigneachhiredatetoafiscal
quarter.CalculatedFieldscanalsobeusedtocleanupandfixdifficultdata.
Like everythingelseyou haveseen,calculatedfieldsaresavedintheMonarchmodelfile,andthey
arethereforyoutouse repeatedly. Theycanbepartofyourexporteddataaswell.
30
WithFilters,youcanisolaterecordsofinterestandviewdatainmanageableandmeaningful
groups.ForexampleifyouwanttoseeonlytheAccountingemployeesyouwouldcreateafilter
expressionlikethis.
You cancreateseveral differentfilters,turnthemonandoffasneeded,savethem,andtheywillbe
thereforyouthenexttimeyourunyourmodelfile.Simplyselectthefilteryouwantfromthefilter
list.
31
Youcansortthedatatablebasedonanyonecolumnorcombinationofcolumns.Here,a
descendingsortonsalaryhassortedthehighestpaidemployeestothetopofthetable.
32
33
Ifyouwanttoanalyzethedata,suchastotalingthesalariesorcountingthenumberofrecordsina
group,youcreateasummary.
Herearetwosummariessidebyside,but youcanhavedozensofindividualsummaries each
presentingthedatainauniqueway.Summariescanbehighlevelandgeneral,orverydetailed,or
anythinginbetween.
Simplyselectthefieldsyouwanttoincludeinthesummaryfromalist.Eventhecalculatedfields
andfilters thatyouvecreatedcanbeaddedtoyoursummaries.
34
35
Chartsprovidegraphicalrepresentationofyourdata inavarietyofformats:PieCharts,BarCharts,
LineCharts andmore.
You canviewoneormanychartsatthesametime, andtheyareEASYtocreate.
36
37
InthefullfunctionversionofMonarchyouareabletoExport.So,onceyouhavethedatatheway
youlikeit,withfilters, sorts,calculatedfields,summariesandcharts,youcanexportanyorallofit
tootherapplicationssuchasExcel.
TheExportWizardwillwalk youthroughthesimplesteps,providingseveralpowerfulexportoptions
andvariationsalongtheway.
38
39
Modelscanbeappliedtoindividualreportsoraseriesofreports. Simplyopenthereportorreports,
openthecorrespondingmodelfile,and everything willfallintoplace.
AndifyouwanttomakeyourdataaccessibleoverthewebsavetotheMonarchEnterpriseServer
platform.
Bestofall,youneedtocreatethemodelonlyoncethensimplysaveitforrepeateduse.Thenext
timeyouencounterthereport,oranotherreportintheseries,youwillhavewhatyouneedwithin
seconds.
40
VideodemonstrationofMonarch11
41
42
Yoursourcereportmaynotbeasconsistentandwelllaidoutastheemployeelistingreportyou
havejustseen.
YouneedtoknowthatalthoughwehaveseenanintroductiontoMonarchandhavesuccessfully
builtamodelforarelativelysimplereport,therearetoolsandfeatureswithinMonarchfora
multitudeofproblemsandvariations.Herearejustafew.
You mayencounter areportwithrecordsthatwrapontomorethanoneline hereeachpayroll
recordistwolines.
Becauseeachrecordisconsistentlytwolines,thetrapthatwasset prj issuccessfullycapturing
bothlineswithinonetemplate. Monarchallowsyoutoselectatemplatesampleofupto256lines.
Ifthenumberoflinesperrecordisnotconsistent,therearemethodsfordealingwiththataswell.
43
Herearetwoexamplesofacommonsituation, thesereportscontainvariabledata likethisblock
addressontheleft,andtheRemarksfield ontheright. These fieldsvary,somewillbelongeror
shorterthanothers.Butadjustingtheadvancedfieldproperties willtakecareofthis.
44
Sometimesreportscontainrecordsthat wraplike newspapercolumns.Thisisalistingofmusic
composerswrappingintothreecolumns noticethenumbering.
AlthoughPachebel,Mozart,andWeekles areonthesamelinetheyarenotrelated.Weneedthem
tobeseparaterecordsinthedatatable.ThereisafeatureinMonarchthatcaninterpretamulti
columnregionlikethis.
45
Even iffieldsfloatwithinthereportthereisaspecialtrappingfeaturethatwillcapturefloatingdata
andparseitintoperfectcolumnsinthedatatable.
46
Onceamodeliscreated,youcanapplythemodeltoonereport,ortomultipleiterationsofa
reportinaseries,andmergethemtoproduceacompilationofinformation,suchasayearend
analysis.
Inthiswayyoucanviewandanalyzedataoveranextendedtimeperiod,orfrommultiplesources
suchasbranchofficesorregionallocations.
47
48
Hereisaquickviewofseveralsamplereports eachwithauniquelayout.
Noticethedifferentcoloredtemplatescapturingthevariousregionsofeachreport;ineverycase
youwillseethereisayellowdetailtemplate.
Thisexampleshowsdetail,threeappendtemplatesandaheadertemplate.Noticetheblock
address everycustomeraddressinthisreportvariesbutMonarchwasabletoextractallofthem
successfullyandultimatelyparsethemoutfully.
49
Thisisanexampleofanotherreportwithaninconsistentformat itisalistingofbooktitles.
Noticethevariablefieldsfortheaddressandforthereviewfield.Thereviewsforsomebooks
wraptomultiplelines,whileforthesecondbooktitlelistedthereisntanyreviewatall.But
Monarch11hasfeaturesbuiltinfordealingwithinconsistentdata.
50
Hereisanexamplewhereseveraltemplateswereneeded.
Thegreenfooterfieldsfloat noticeconferencenumberanddurationarefloating.Also,notice
theorangeappends somerecordshavemoreappendlevelsthanothers.
Inshort,thedataiseverywhereandveryinconsistent,butthereisnothingMonarch11cant
handle.
Everyreportisunique,butnowyouhavetheinformationyouneedtobeginbuildingMonarch
Modelfilesforyour reports.
51
52
53
54

You might also like