Presentation is loading. Please wait.

Presentation is loading. Please wait.

Walter F. Blood Technical Director Information Builders, Inc More Hidden Gems of WebFOCUS Reporting 1.

Similar presentations


Presentation on theme: "Walter F. Blood Technical Director Information Builders, Inc More Hidden Gems of WebFOCUS Reporting 1."— Presentation transcript:

1 Walter F. Blood Technical Director Information Builders, Inc More Hidden Gems of WebFOCUS Reporting 1

2 More Hidden Gems Where We Will Look … in Settings  When the retrieved data values don’t line up correctly  Two shades of Missing … in Retrieval  Creating an index for your request … in Connections  Playing with matches  More is less … work … in Output  Retaining the original structure of your data  The any-delimiter file … in Sorting  Sorting it your way  Uneven grouping 2

3 More Hidden Gems … in Settings 3 When the retrieved data values don’t line up correctly Two shades of Missing

4 More Hidden Gems …In Settings - JOINOPT When the retrieved data values don’t line up correctly 4 TRAIN ROUTES ORIGIN STATIONS DESTINATION STATIONS TRAIN ROUTES Route Number Origin Station Dest Station Dest City Dest State Orig Station Orig City Orig State JOIN TR TO OR - UNIQUE JOIN TR TO DS - UNIQUE

5 More Hidden Gems …In Settings - JOINOPT When the retrieved data values don’t line up correctly 5 TRAIN ROUTES ORIGIN STATIONS DESTINATION STATIONS TRAIN ROUTES TABLE FILE ROUTES PRINT TRAIN_NUM OR_STATION OR_CITY DE_STATION DE_CITY END TRAIN_NUM OR_STATION OR_CITY DE_STATION DE_CITY NYC NEW YORK ATL. 202 BOS BOSTON BLT ATLANTA 303 DET DETROIT BOS BALTIMORE 404 CHI CHICAGO DET BOSTON 505 BOS BOSTON STL DETROIT 505 BOS. STL ST. LOUIS

6 More Hidden Gems …In Settings - JOINOPT When the retrieved data values don’t line up correctly 6 TRAIN ROUTES ORIGIN STATIONS DESTINATION STATIONS TRAIN ROUTES TABLE FILE ROUTES PRINT TRAIN_NUM OR_STATION OR_CITY DE_STATION DE_CITY END TRAIN_NUM OR_STATION OR_CITY DE_STATION DE_CITY NYC NEW YORK ATL ATLANTA 202 BOS BOSTON BLT BALTIMORE 303 DET DETROIT BOS BOSTON 404 CHI CHICAGO DET DETROIT 505 BOS BOSTON STL ST. LOUIS SET JOINOPT=GNTINT SET P1170=NEW

7 More Hidden Gems …In Settings - SHORTPATH Two shades of Missing In JOINS 7 SET SHORTPATH = FOCUS/SQL  FOCUS – omits host value of missing child regardless of any selection on the child segment  SQL – Inserts null value for missing fields and allows the selection on the child segment to occur. If the selection passes the records are retained. JOIN with SET ALL=ON LEFT_OUTER JOIN

8 More Hidden Gems … in Retrieval 8 Creating an Index for your request

9 More Hidden Gems …In Retrieval - MDI 9 CAR COUNTRY MODEL TABLE FILE CAR SUM RETAILCOST … WHERE COUNTRY EQ ‘ENGLAND’ WHERE CAR EQ ‘JAGUAR’ WHERE MODEL EQ ‘XJ’ TABLE FILE CAR SUM RETAILCOST … WHERE COUNTRY EQ ‘ENGLAND’ WHERE CAR EQ ‘JAGUAR’ WHERE MODEL EQ ‘XJ’  Instant access to data  Single index, multiple fields  External to FOCUS or XFOCUS files  Create as many as needed  Index your report selection Creating an Index for your request

10 More Hidden Gems …In Retrieval - MDI 10 MDI provides virtually instant access to the data you need MDIs can have more than 3 dimensions MDI – single index multiple fields REBUILD MDINDEX creates new MDIs, or adds new partitions to an existing MDI MASTERNAME=CAR,$ DATANAME= 'CARACX1 FOCUS M‘,$ DATANAME= 'CARACX2 FOCUS M‘,$ DATANAME= 'CARACX3 FOCUS M‘,$ MDILOCATION = CARMDI, TARGET_OF = ORIGIN,$ DIMENSION = CAR,$ DIMENSION = COUNTRY,$ DIMENSION = MODEL,$ DATANAME = 'CARMDI MDI M' TABLE FILE CAR PRINT BODYTYPE SEATS WHERE CAR EQ 'JAGUAR' WHERE COUNTRY EQ 'ENGLAND' END Unlike RDBMS clustered index, MDI fields can be in any order and all fields need not be used ACCESS FILE Creating an Index for your request

11 More Hidden Gems …In Retrieval - MDI 11 REBUILD MDINDEX creates new MDIs, or adds new partitions to an existing MDI Create MDI Make NEW or ADD to existing? File Name MDI Name Any WHERE Selection? Creating an Index for your request

12 More Hidden Gems …In Retrieval - MDI 12 SET AUTOINDEX=ON turns on and selects the appropriate MDI for any given request.  The segment most involved in the query.  The MDI with the most filtering conditions (IF/WHERE selection tests).  The percent of index dimensions involved in the request from each MDI.  How close the fields being retrieved are to the target segment.  The size of each MDI. Creating an Index for your request

13 More Hidden Gems … in Connections 13 Playing with MATCHes MORE is Less…Work

14 More Hidden Gems …In Connections - MATCH Playing with Matches 14 Sort Merge HOLD OLD NEW BYs control selection and merge of records AFTER MATCH HOLD controls selection of output

15 More Hidden Gems …In Connections - MATCH Playing with Matches 15 Holding Patterns  OLD-OR-NEW – All RECORDS, both files (DEFAULT)  OLD-AND-NEW —Common RECORDS only  OLD-NOT-NEW – RECORDS in OLD missing in NEW  NEW-NOT-OLD - RECORDS in NEW missing in OLD  OLD-NOR-NEW - Combo of OLD-NOT-NEW NEW-NOT-OLD  OLD – RECORDS in OLD with RECORDS in NEW  NEW – RECORDS in NEW with RECORDS in OLD CONTROL THE MISSING!

16 More Hidden Gems …In Connections - MORE MORE is Less…Work 16  Universal Concatenation works with - TABLE MATCH  Universal Concatenation lets you use - Multiple files Different file formats WHERE/IF selection on each file  Universal Concatenation requires – Fields must be available in each file Real field DEFINE Fields must have same format TABLE FILE ORACLE SUM A B BY C WHERE … ON TABLE HOLD AS MORE FILE FLAT WHERE … END DEFINE FILE FLAT A=D B=X END

17 More Hidden Gems …In Connections - MORE MORE is Less…Work 17 TABLE FILE ORACLE SUM A B BY C WHERE … ON TABLE HOLD AS MORE FILE FLAT WHERE … END DEFINE FILE FLAT A=D B=X END Usage Format Correspondence AType and length equal. I, F, DType equal. PType and scale equal DATE (new)Format information (type, length, components, and order) equal DATE (old)Edit options equal. DATE -TIMEFormat information (type, length, components, and order) equal. Beware duplicate sort keys not grouped or aggregated

18 More Hidden Gems … in Outputs 18 Retaining the Original Structure of your data The Any-Delimiter File

19 More Hidden Gems …in Output - EXTRACT Most Hold Files remove all structure… VSAM FOCUS DB2 FOCUS DB2

20 VSAM FOCUS DB2 FOCUS DB2 How can I preserve the original structure? More Hidden Gems..in Output - EXTRACT … Or give it totally different structure…

21 More Hidden Gems …in Output - EXTRACT EXTRACT – structured hold files that retain the original structure From SEG1 SEG4 SEG2 SEG5 SEG3 VSAM FOCUS DB2 FOCUS DB2 …and they travel!

22 More Hidden Gems …in Output - EXTRACT A simple case: Report Structure A C B D E File 1 File 2File 3 TABLE FILE PRINT A B D IF C EQ 5 ON TABLE HOLD END TABLE FILE PRINT A B D IF C EQ 5 ON TABLE HOLD END A B D Plain HOLD file

23 More Hidden Gems …in Output - EXTRACT A structured case: Report Structure A C B D E File 1 File 2File 3 TABLE FILE PRINT A B D IF C EQ 5 ON TABLE SET EXTRACT ON ON TABLE HOLD AS ABC FORMAT ALPHA END TABLE FILE PRINT A B D IF C EQ 5 ON TABLE SET EXTRACT ON ON TABLE HOLD AS ABC FORMAT ALPHA END Structured HOLD file A DB

24 More Hidden Gems …in Output – EXTRACT FILE=HOLD,SUFFIX=FIX,$ SEGNAME=A,SEGTYPE=S0,$ FIELDNAME =RECTYPE,ALIAS=R,A1,A1,$ FIELDNAME =FROMA1,ALIAS=FA1,A10,A10,$ FIELDNAME =FROMA2,ALIAS=FA2,A5,A5,$ SSEGNAME=B,SEGTYPE=S0, PARENT=A FIELDNAME =RECTYPE,ALIAS=1,,A1,A1,$ FIELDNAME =FROMB1,ALIAS=FB1,A15,A15,$ FILE=HOLD,SUFFIX=FIX,$ SEGNAME=A,SEGTYPE=S0,$ FIELDNAME =RECTYPE,ALIAS=R,A1,A1,$ FIELDNAME =FROMA1,ALIAS=FA1,A10,A10,$ FIELDNAME =FROMA2,ALIAS=FA2,A5,A5,$ SSEGNAME=B,SEGTYPE=S0, PARENT=A FIELDNAME =RECTYPE,ALIAS=1,,A1,A1,$ FIELDNAME =FROMB1,ALIAS=FB1,A15,A15,$ RECTYPE Hold Master generated Multiple output types Sequential files with rectypes – alpha or binary FOCUS databases

25 More Hidden Gems …in Output - EXTRACT Structured HOLD file content 1.Determined by structure of and relationships among the input files Structured HOLD file content 1.Determined by structure of and relationships among the input files 2.Controlled with the FOCUS request syntax A C B D E TABLE FILE PRINT A.F1 B.F2 D.F3 IF C.F4 EQ 5 ON TABLE SET EXTRACT ON ON TABLE HOLD AS SHOLD FORMAT ALPHA END TABLE FILE PRINT A.F1 B.F2 D.F3 IF C.F4 EQ 5 ON TABLE SET EXTRACT ON ON TABLE HOLD AS SHOLD FORMAT ALPHA END

26 More Hidden Gems …in Output - EXTRACT Content from the structural view 1.Entire hierarchy 2.Exclude several fields 3.Rollups 4.Resorting children within parent segments 5.Eliminating duplicates 6.Restructuring based upon a model

27 More Hidden Gems …in Output - EXTRACT TABLE FILE PRINT * ON TABLE SET EXTRACT ON ON TABLE HOLD FORMAT ALPHA END TABLE FILE PRINT * ON TABLE SET EXTRACT ON ON TABLE HOLD FORMAT ALPHA END A C B E D F H G J I PRINT *  Includes every field in every path  ABCDFGI  ABCDFHJ  ACE  Retains the segment relationships

28 More Hidden Gems …in Output - EXTRACT DEFINE FILE DEFB/I4=IF B.F1 CONTAINS ‘ABC’ THEN 1 ELSE 0; END TABLE FILE PRINT * COMPUTE COMPD/I4=IF D.F1 CONTAINS ‘DEF’ THEN 1 ELSE 0; ON TABLE HOLD FORMAT ALPHA ON TABLE SET EXTRACT ON END DEFINE FILE DEFB/I4=IF B.F1 CONTAINS ‘ABC’ THEN 1 ELSE 0; END TABLE FILE PRINT * COMPUTE COMPD/I4=IF D.F1 CONTAINS ‘DEF’ THEN 1 ELSE 0; ON TABLE HOLD FORMAT ALPHA ON TABLE SET EXTRACT ON END A C B E D F H G J I PRINT *  Virtual fields  DEFINEs treated like real fields  COMPUTEs hold constituents only

29 More Hidden Gems …in Output - EXTRACT TABLE FILE HEADING “Today’s Report -

30 More Hidden Gems …in Output - EXTRACT TABLE FILE PRINT * D.FLD1 NOPRINT ON TABLE SET EXTRACT ON ON TABLE HOLD FORMAT FOCUS END TABLE FILE PRINT * D.FLD1 NOPRINT ON TABLE SET EXTRACT ON ON TABLE HOLD FORMAT FOCUS END A C B E D F H G J I NOPRINT  Excludes specified fields from PRINT *  Verb objects  Sorting fields  NOPRINT ignored for COMPUTEs to ensure that results are the same from extract FLD1

31 More Hidden Gems …in Output - EXTRACT TABLE FILE SUM D.FLD1 WITHIN B.FLD2 PRINT D.FLD1 ON TABLE SET EXTRACT ON ON TABLE HOLD FORMAT ALPHA END TABLE FILE SUM D.FLD1 WITHIN B.FLD2 PRINT D.FLD1 ON TABLE SET EXTRACT ON ON TABLE HOLD FORMAT ALPHA END A C B E D F H G J I SUM WITHIN  Rollup value placed in WITHIN segment  SUM/WITHIN for each rollup level needed  PRINT field to include detail  Most verb object operators supported – AVE, FST, LST, CNT, MAX, MIN

32 More Hidden Gems …in Output – EXTRACT TABLE FILE PRINT A.FLD1 BY D.FLD2 BY B.FLD3 ON TABLE SET EXTRACT ON ON TABLE HOLD FORMAT FOCUS END TABLE FILE PRINT A.FLD1 BY D.FLD2 BY B.FLD3 ON TABLE SET EXTRACT ON ON TABLE HOLD FORMAT FOCUS END A C B E D F H G J I BY  Sort child segment instances within single parent instance  BY fields do not need to be related  BY HIGHEST supported  Operators requiring sort order will suppress sort – FST, LST A D B

33 More Hidden Gems …in Output - EXTRACT TABLE FILE PRINT D.FLD1 BY A.FLD2 BY B.FLD3 NODUPES ON TABLE SET EXTRACT ON ON TABLE HOLD FORMAT ALPHA END TABLE FILE PRINT D.FLD1 BY A.FLD2 BY B.FLD3 NODUPES ON TABLE SET EXTRACT ON ON TABLE HOLD FORMAT ALPHA END BY NODUPES  Applied selectively at the segment level  Always retains the first instance  Immediate descendants of dupe instance appended to first instance  Disabled when rollups – WITHIN – present A B D A B B D

34 More Hidden Gems …in Output - EXTRACT A C B E D From To ABDCEABDCE ABDCEABDCE A C B E D A B D D B A DenormalizationNormalizationInversion Model-based Restructuring

35 Hidden Gems 2 …In Output - DFIX Working with the any-delimiter file 35 "COUNTRY","CAR","MODEL","BODYTYPE","SEATS","DEALER_COST","RETAIL_COST","SALES" "ENGLAND","JAGUAR","V12XKE AUTO","CONVERTIBLE",2,7427,8878,0 "ENGLAND","JAGUAR","XJ12L AUTO","SEDAN",5,11194,13491,12000 "ENGLAND","JENSEN","INTERCEPTOR III","SEDAN",4,14940,17850,0 "ENGLAND","TRIUMPH","TR7","HARDTOP",2,4292,5100,0 "FRANCE","PEUGEOT","504 4 DOOR","SEDAN",5,4631,5610,0 "ITALY","ALFA ROMEO"," DOOR BERLINA","SEDAN",4,4915,5925,4800 “ITALY","ALFA ROMEO","2000 GT VELOCE","COUPE",2,5660,6820,12400 "ITALY","ALFA ROMEO","2000 SPIDER VELOCE","ROADSTER",2,5660,6820,13000 "ITALY","MASERATI","DORA 2 DOOR","COUPE",2,25000,31500,0 "JAPAN","DATSUN","B210 2 DOOR AUTO","SEDAN",4,2626,3139,43000 "JAPAN","TOYOTA","COROLLA 4 DOOR DIX AUTO","SEDAN",4,2886,3339,3503 "GERMANY","AUDI","100 LS 2 DOOR AUTO","SEDAN",5,5063,5970,7800 "GERMANY","BMW"," DOOR","SEDAN",5,5800,5940,8950 "GERMANY","BMW"," DOOR AUTO","SEDAN",4,6000,6355,8900 "GERMANY","BMW","3.0 SI 4 DOOR","SEDAN",5,10000,13752,14000 "GERMANY","BMW","3.0 SI 4 DOOR AUTO","SEDAN",5,11000,14123,18940 strings HEADER, if desired  Specific delimited file support COM, COMT TAB, TABT  DFIX provides support for Any delimiter – you define Any enclosure for alpha HEADER if required Retain leading and trailing space if required

36 Hidden Gems 2 …In Output - DFIX Working with the any-delimiter file 36 "COUNTRY","CAR","MODEL","BODYTYPE","SEATS","DEALER_COST","RETAIL_COST","SALES" "ENGLAND","JAGUAR","V12XKE AUTO","CONVERTIBLE",2,7427,8878,0 "ENGLAND","JAGUAR","XJ12L AUTO","SEDAN",5,11194,13491,12000 "ENGLAND","JENSEN","INTERCEPTOR III","SEDAN",4,14940,17850,0 "ENGLAND","TRIUMPH","TR7","HARDTOP",2,4292,5100,0 "FRANCE","PEUGEOT","504 4 DOOR","SEDAN",5,4631,5610,0 "ITALY","ALFA ROMEO"," DOOR BERLINA","SEDAN",4,4915,5925,4800 “ITALY","ALFA ROMEO","2000 GT VELOCE","COUPE",2,5660,6820,12400 "ITALY","ALFA ROMEO","2000 SPIDER VELOCE","ROADSTER",2,5660,6820,13000 "ITALY","MASERATI","DORA 2 DOOR","COUPE",2,25000,31500,0 "JAPAN","DATSUN","B210 2 DOOR AUTO","SEDAN",4,2626,3139,43000 "JAPAN","TOYOTA","COROLLA 4 DOOR DIX AUTO","SEDAN",4,2886,3339,3503 "GERMANY","AUDI","100 LS 2 DOOR AUTO","SEDAN",5,5063,5970,7800 "GERMANY","BMW"," DOOR","SEDAN",5,5800,5940,8950 "GERMANY","BMW"," DOOR AUTO","SEDAN",4,6000,6355,8900 "GERMANY","BMW","3.0 SI 4 DOOR","SEDAN",5,10000,13752,14000 "GERMANY","BMW","3.0 SI 4 DOOR AUTO","SEDAN",5,11000,14123,18940 strings HEADER, if desired FILENAME=CAR_CSV, SUFFIX=DFIX, DATASET=directory/car_csv.csv, $ SEGMENT=CAR_CSV, SEGTYPE=S0, $ FIELDNAME=COUNTRY, ALIAS=COUNTRY, USAGE=A7, ACTUAL=A7BV, $ FIELDNAME=CAR, ALIAS=CAR, USAGE=A10, ACTUAL=A10BV, $ FIELDNAME=MODEL, ALIAS=MODEL, USAGE=A23, ACTUAL=A23BV, $ FIELDNAME=BODYTYPE, ALIAS=BODYTYPE, USAGE=A11, ACTUAL=A11BV, $ FIELDNAME=SEATS, ALIAS=SEATS, USAGE=I1, ACTUAL=A1, $ FIELDNAME=DEALER_COST, ALIAS=DEALER_COST, USAGE=I5, ACTUAL=A5V, $ FIELDNAME=RETAIL_COST, ALIAS=RETAIL_COST, USAGE=I5, ACTUAL=A5V, $ FIELDNAME=SALES, ALIAS=SALES, USAGE=I5, ACTUAL=A5V, $ Generated Synonym

37 Hidden Gems 2 …In Output - DFIX Working with the any-delimiter file 37 "COUNTRY","CAR","MODEL","BODYTYPE","SEATS","DEALER_COST","RETAIL_COST","SALES" "ENGLAND","JAGUAR","V12XKE AUTO","CONVERTIBLE",2,7427,8878,0 "ENGLAND","JAGUAR","XJ12L AUTO","SEDAN",5,11194,13491,12000 "ENGLAND","JENSEN","INTERCEPTOR III","SEDAN",4,14940,17850,0 "ENGLAND","TRIUMPH","TR7","HARDTOP",2,4292,5100,0 "FRANCE","PEUGEOT","504 4 DOOR","SEDAN",5,4631,5610,0 "ITALY","ALFA ROMEO"," DOOR BERLINA","SEDAN",4,4915,5925,4800 “ITALY","ALFA ROMEO","2000 GT VELOCE","COUPE",2,5660,6820,12400 "ITALY","ALFA ROMEO","2000 SPIDER VELOCE","ROADSTER",2,5660,6820,13000 "ITALY","MASERATI","DORA 2 DOOR","COUPE",2,25000,31500,0 "JAPAN","DATSUN","B210 2 DOOR AUTO","SEDAN",4,2626,3139,43000 "JAPAN","TOYOTA","COROLLA 4 DOOR DIX AUTO","SEDAN",4,2886,3339,3503 "GERMANY","AUDI","100 LS 2 DOOR AUTO","SEDAN",5,5063,5970,7800 "GERMANY","BMW"," DOOR","SEDAN",5,5800,5940,8950 "GERMANY","BMW"," DOOR AUTO","SEDAN",4,6000,6355,8900 "GERMANY","BMW","3.0 SI 4 DOOR","SEDAN",5,10000,13752,14000 "GERMANY","BMW","3.0 SI 4 DOOR AUTO","SEDAN",5,11000,14123,18940 strings HEADER, if desired Access File contains DFIX information SEGNAME=CAR_CSV, DELIMITER=',', ENCLOSURE=", HEADER=YES, PRESERVESPACE=YES,$

38 More Hidden Gems … in Sorting 38 Sorting it Your way Uneven Grouping

39 HHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHHHHHHHHHHH GGGGGGGGGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGG FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE DDDDDDDDDDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDDDDDDDDDD Hidden Gems 2 …In Sorting – ROWS/COLUMNS Sorting it your way 39 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Sorting is done based on the collation sequence in the codepage in effect on your system BBBBBBBBBBbBBBBBBBBBBBBBBBBBBBBB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

40 BBBBBBBBBBbBBBBBBBBBBBBBBBBBBBBB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB GGGGGGGGGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGG DDDDDDDDDDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDDDDDDDDDD EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC HHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHHHHHHHHHHH Hidden Gems 2 …In Sorting – ROWS/COLUMNS Sorting it your way 40 But what if you have a better way to do it! AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA ACROSS COLUMNS OR … BY ROWS OVER …

41 Hidden Gems 2 …In Sorting – ROWS/COLUMNS Sorting it your way 41 But what if you have a better way to do it! ACROSS COLUMNS OR … BY ROWS OVER …  Implicit selection - only values mentioned are retrieved  Each value can have an AS phrase – relabeling  Will affect SQL optimization

42 Hidden Gems 2 …In Sorting – ROWS/COLUMNS Sorting it your way 42

43 Hidden Gems 2 …In Sorting – PLUS OTHERS Uneven grouping 43 When you only need the top 5 values – SUM SALES BY HIGHEST 5 SALESREPS And you want a total for all the other values? SUM SALES BY HIGHEST 5 SALESREPS PLUS-OTHERS

44 Hidden Gems 2 …In Sorting – PLUS OTHERS Uneven grouping 44 TABLE FILE CAR PRINT CAR.BODY.DEALER_COST CAR.COMP.CAR BY HIGHEST 2 CAR.BODY.SALES PLUS OTHERS AS 'Others'

45 Hidden Gems 2 …In Sorting – PLUS OTHERS Uneven grouping 45 TABLE FILE CAR PRINT CAR.BODY.DEALER_COST CAR.COMP.CAR BY HIGHEST 2 CAR.BODY.SALES PLUS OTHERS AS 'Others'

46 More Hidden Gems … in Sorting 46 Sorting it Your way Uneven Grouping Retaining the Original Structure of your data The Any-Delimiter File MORE is Less…Work Creating an Index for your request Two shades of Missing When the retrieved data values don’t line up correctly

47 More Hidden Gems … in Sorting 47 QUESTIONS?


Download ppt "Walter F. Blood Technical Director Information Builders, Inc More Hidden Gems of WebFOCUS Reporting 1."

Similar presentations


Ads by Google