Qlikview Tips Tricks

  • View
    1.684

  • Download
    9

Embed Size (px)

DESCRIPTION

A collection of QlikView tips and tricks from the Qlik Community. The required attribution and source has been provided in the document. This document has about 90+ tips, tricks and solutions for common qlikview challenges.

Text of Qlikview Tips Tricks

  • TekAcademyLabs.com

    QlikView Tips and Tricks

    June 9

    2014QlikView tips and tricks is the document in which content is aggregated from the qlik community. The appropriate source of the content is also mentioned to avoid plagiarism.

    http://tekacademylabs.com/

  • Contents 1. Load XML field from database (Oracle) ............................................................................................. 3

    2. Hash functions and Collisions ............................................................................................................. 4

    Hash functions.................................................................................................................................... 4

    Hash functions in QlikView ................................................................................................................. 5

    Detecting changed records ................................................................................................................... 5

    Hash collisions ................................................................................................................................... 6

    The birthday problem .......................................................................................................................... 7

    Calculating the probability of a hash collision .......................................................................................... 7

    3. Autonumber Vs AutonumberHash Vs Autonumberhash128 ............................................................. 9

    4. Loosely coupled tables ...................................................................................................................... 10

    5. Circular References ........................................................................................................................... 11

    6. Incremental Load .............................................................................................................................. 14

    7. Three types of Incremental Load ...................................................................................................... 17

    8. Qlikview Associative data model ...................................................................................................... 20

    9. The magic of variables ...................................................................................................................... 21

    10. The QlikView Cache......................................................................................................................... 25

    11. Null handling in QlikView ................................................................................................................ 27

    12. Text searches .................................................................................................................................. 27

    13. Automatic Number interpretation .................................................................................................. 30

    15. Colors in Chart ................................................................................................................................. 35

    16. Aggregations and Function Classes ................................................................................................ 38

    17. Its all Aggregations ........................................................................................................................ 40

    18. Dimensions and Measures ............................................................................................................. 42

    19. Qlikview Quoteology ...................................................................................................................... 45

    20. The Crosstable Load ....................................................................................................................... 47

    21. On Boolean fields and functions ..................................................................................................... 49

    22. The Dual() function ........................................................................................................................ 52

    23. A primer on Section Access ............................................................................................................. 56

    24. Data reduction using multiple fields .............................................................................................. 58

    25. Color, state and vectors .................................................................................................................. 61

    26. Handling multiple languages .......................................................................................................... 62

    27. Dynamically selecting timeframes ................................................................................................. 65

    28. The Only() function ......................................................................................................................... 67

  • 29. AND and OR .................................................................................................................................... 69

    30. To JOIN or not to JOIN..................................................................................................................... 71

    31. Canonical Date ................................................................................................................................ 73

    32. Linking to two or more dates .......................................................................................................... 77

    33. IntervalMatch and Slowly Changing Dimension ............................................................................ 78

    34. The Calculation engine ................................................................................................................... 78

    35. Symbol Tables and Bit stuffed pointers .......................................................................................... 80

    36. Basics for Complex authorization .................................................................................................. 82

    37. Generic Keys .................................................................................................................................... 83

    38. Generate missing data in QlikView ................................................................................................ 84

    39. Strategies for creating key tables ................................................................................................... 85

    40. Recipe for a Gantt chart .................................................................................................................. 86

    41. Relative Calendar Fields ................................................................................................................. 87

    42. Master Calendar .............................................................................................................................. 90

    43. Year Over Year Comparisons........................................................................................................... 91

    44. Redefining the week numbers ........................................................................................................ 94

    45. Preceding Load ................................................................................................................................ 97

    46. Macros are BAD .............................................................................................................................. 99

    47. Recipe for Pareto Analysis ............................................................................................................ 101

    48. Monte Carlo Methods .................................................................................................................. 104

    49. A myth about COUNT distinct ....................................................................................................... 107

    50. Unbalanced n level hierarchies ................................................................................................... 110

    51. Hierarchies .................................................................................................................................... 113

    52. Loops in the Script ......................................................................................................................... 114

    53. IntervalMatch ................................................................................................................................ 117

    54. Counters in the Load ..................................................................................................................... 119

    55. Synthetic Keys ............................................................................................................................... 121

    56. Data types in QlikView .................................................................................................................. 124

    57. The nature of Dual flags ................................................................................................................ 126

    58. Dont Join use ApplyMap instead ................................................................................................ 128

    59. Slowly Changing Dimension ...............................................................................