\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{Frederic Villemin (fredv)} \pdfinfo{ /Title (qlikview-v10-reference.pdf) /Creator (Cheatography) /Author (Frederic Villemin (fredv)) /Subject (Qlikview v10 Reference Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{2DC41C} \definecolor{LightBackground}{HTML}{F1FBF0} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Qlikview v10 Reference Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Frederic Villemin (fredv)} via \textcolor{DarkBackground}{\uline{cheatography.com/50/cs/68/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}Frederic Villemin (fredv) \\ \uline{cheatography.com/fredv} \\ \uline{\seqsplit{www}.tasteofindie.com} \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 6th November, 2011.\\ Updated 12th May, 2016.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{3} \begin{tabularx}{5.377cm}{x{3.13551 cm} x{1.84149 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Qlikview v10 file handling}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{N}}ew document & {\emph{Ctrl}}+N \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{O}}pen Document & {\emph{Ctrl}}+O \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{O}}pen Document on server & {\emph{Ctrl}}+{\emph{Shift}}+N \tn % Row Count 4 (+ 2) % Row 3 \SetRowColor{white} {\bf{S}}ave Document & {\emph{Ctrl}}+S \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} {\bf{S}}ave Document as & {\emph{F12}} \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.18528 cm} x{1.79172 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Qlikview v10 selection keys}} \tn % Row 0 \SetRowColor{LightBackground} Open Current Selections view & {\emph{ctrl}} + Q \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Back in selections & {\emph{shift}} + {\emph{leftarrow}} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Forward in selections & {\emph{shift}} + {\emph{rightarrow}} \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{L}}ock the object selection & {\emph{ctrl}} + L \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{L}}ock all selections & {\emph{ctrl}} + {\emph{shift}} + L \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} {\bf{U}}ock the object selection & {\emph{ctrl}} + U \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{U}}nlock all selections & {\emph{ctrl}} + {\emph{shift}} + U \tn % Row Count 14 (+ 2) % Row 7 \SetRowColor{white} Clear ({\bf{D}}elete) the object selection & {\emph{ctrl}} + D \tn % Row Count 16 (+ 2) % Row 8 \SetRowColor{LightBackground} Clear ({\bf{D}}elete) all selections & {\emph{ctrl}} + {\emph{shift}} + D \tn % Row Count 18 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.33919 cm} x{2.63781 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Qlikview v10 edit shortcut keys}} \tn % Row 0 \SetRowColor{LightBackground} Undo layout change & {\emph{Ctrl}} + Z \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Redo layout change & {\emph{Ctrl}} + Y \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Cut & {\emph{Ctrl}} + X \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} {\bf{C}}opy & {\emph{Ctrl}} + C \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Paste & {\emph{Ctrl}} + V \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} Remove & {\emph{Del}} \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} Activate {\bf{A}}ll & {\emph{Ctrl}} + A \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} {\bf{F}}ind & {\emph{Ctrl}} + F \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} Advanced {\bf{F}}ind & {\emph{Shift}} + {\emph{Ctrl}} + F \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.73275 cm} x{1.24425 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Qlikview v10 F Keys}} \tn % Row 0 \SetRowColor{LightBackground} Activates context sensitive help & {\emph{F1}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Enters search mode & {\emph{F3}} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} Activates the sheet tab to the left of the active one & {\emph{F6}} \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} Activates the leftmost tab & {\emph{ctrl}} + {\emph{F6}} \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} Activates the sheet tab to the right of the active one & {\emph{F7}} \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} Activates the rightmost tab & {\emph{ctrl}} + {\emph{F7}} \tn % Row Count 11 (+ 2) % Row 6 \SetRowColor{LightBackground} Save as & {\emph{F12}} \tn % Row Count 12 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.18528 cm} x{1.79172 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Qlikview v10 actions keys}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{P}}rint document & {\emph{ctrl}} + P \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{P}}rint as PDF & {\emph{ctrl}} + {\emph{shift}} + P \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{E}}dit script & {\emph{ctrl}} + E \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} {\bf{R}}eload data & {\emph{ctrl}} + R \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} Partial {\bf{r}}eload data & {\emph{ctrl}} + {\emph{shift}} + R \tn % Row Count 7 (+ 2) % Row 5 \SetRowColor{white} {\bf{T}}able viewer & {\emph{ctrl}} + T \tn % Row Count 8 (+ 1) % Row 6 \SetRowColor{LightBackground} Show/Hide {\bf{g}}rid & {\emph{ctrl}} + G \tn % Row Count 9 (+ 1) % Row 7 \SetRowColor{white} Open {\bf{User}} Preferences & {\emph{ctrl}} + {\emph{alt}} + U \tn % Row Count 11 (+ 2) % Row 8 \SetRowColor{LightBackground} Open {\bf{D}}ocument Properties & {\emph{ctrl}} + {\emph{alt}} + D \tn % Row Count 13 (+ 2) % Row 9 \SetRowColor{white} Open {\bf{S}}heet Properties & {\emph{ctrl}} + {\emph{alt}} + S \tn % Row Count 15 (+ 2) % Row 10 \SetRowColor{LightBackground} Open {\bf{V}}ariable Overview & {\emph{ctrl}} + {\emph{alt}} + V \tn % Row Count 17 (+ 2) % Row 11 \SetRowColor{white} Open {\bf{E}}xpression Overview & {\emph{ctrl}} + {\emph{alt}} + E \tn % Row Count 19 (+ 2) % Row 12 \SetRowColor{LightBackground} Properties of the selected object(s) & {\emph{alt}} + {\emph{enter}} \tn % Row Count 21 (+ 2) % Row 13 \SetRowColor{white} Edit {\bf{M}}odule & {\emph{ctrl}} + M \tn % Row Count 22 (+ 1) % Row 14 \SetRowColor{LightBackground} {\bf{A}}lerts & {\emph{ctrl}} + {\emph{alt}} + A \tn % Row Count 24 (+ 2) % Row 15 \SetRowColor{white} Add {\bf{B}}ookmark & {\emph{ctrl}} + B \tn % Row Count 25 (+ 1) % Row 16 \SetRowColor{LightBackground} More {\bf{B}}ookmark & {\emph{ctrl}} + {\emph{shift}} + B \tn % Row Count 27 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.34379 cm} x{3.63321 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Qlikview v10 set analysis identifiers}} \tn % Row 0 \SetRowColor{LightBackground} 0 & Empty set \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} 1 & Full set of all the records \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \$ & Current selection \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \$1 & Previous selection \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} \$\_1 & Forward selection \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} \seqsplit{Bookmark01} & Bookmark ID or name \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.4977 cm} x{4.4793 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Qlikview v10 set analysis operators}} \tn % Row 0 \SetRowColor{LightBackground} + & Union \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} - & Exclusion (first but not the other) \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} * & Intersection (both) \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} / & Symmetric difference (either but not both) \tn % Row Count 5 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.14011 cm} x{2.83689 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Qlikview v10 set analysis modifiers}} \tn % Row 0 \SetRowColor{LightBackground} \textless{}OrderDate = DeliveryDate\textgreater{} & Select only data where field1 = field2 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \textless{}Field = \{value\}\textgreater{} & Select specific value \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} \textless{}Region = \textgreater{} & Ignore the specific field \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} \textless{}Year=\{2000\}, Region = \{"U*"\}\textgreater{} & Two fields can be filtered, with wildcards \tn % Row Count 7 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.53367 cm} x{1.44333 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Qlikview v10 script edition keys}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{G}}o to line number in the script & {\emph{ctrl}} + G \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} List of keyboard shortcuts & {\emph{ctrl}} + Q,S,C \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{C}}omment lines in script & {\emph{ctrl}} + K,C \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{U}}ncomment lines in script & {\emph{ctrl}} + K,U \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{A}}dd tab in script & {\emph{ctrl}} + Q,T,A \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} {\bf{P}}romote active tab & {\emph{ctrl}} + Q,T,P \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{D}}emote active tab & {\emph{ctrl}} + Q,T,D \tn % Row Count 14 (+ 2) % Row 7 \SetRowColor{white} Re{\bf{n}}ame active tab & {\emph{ctrl}} + Q,T,N \tn % Row Count 16 (+ 2) % Row 8 \SetRowColor{LightBackground} {\bf{R}}emove active tab & {\emph{ctrl}} + Q,T,R \tn % Row Count 18 (+ 2) % Row 9 \SetRowColor{white} Creates an autogenerated script & {\emph{ctrl}} + Q,Q \tn % Row Count 20 (+ 2) % Row 10 \SetRowColor{LightBackground} Opens {\bf{U}}nicode input utility & {\emph{ctrl}} + Q,U,I \tn % Row Count 22 (+ 2) % Row 11 \SetRowColor{white} Creates a script for reading jpg attributes & {\emph{ctrl}} + Q,J,P,G \tn % Row Count 24 (+ 2) % Row 12 \SetRowColor{LightBackground} Creates a script for reading mp3 attributes & {\emph{ctrl}} + Q,M,P,3 \tn % Row Count 26 (+ 2) % Row 13 \SetRowColor{white} Creates a script for reading wma attributes & {\emph{ctrl}} + Q,W,M,A \tn % Row Count 28 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{{\emph{ctrl}} + K,C means {\emph{ctrl}} + K then {\emph{ctrl}} + C} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \columnbreak \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Qlikview v10 set analysis examples}} \tn % Row 0 \SetRowColor{LightBackground} sum(sales) {\emph{or}} sum(\{\$\} sales) & sales in current selection \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} sum(\{1\} sales\}) {\emph{or}} sum(\{1\} Total sales\}) & sales disregarding the selection {\emph{or}} disregarding selection and dimension \tn % Row Count 6 (+ 4) % Row 2 \SetRowColor{LightBackground} sum(\{\$\textless{}OrderDate = DeliveryDate\textgreater{}\} sales) & sales in current selection for a specific date \tn % Row Count 9 (+ 3) % Row 3 \SetRowColor{white} sum(\{1\textless{}Region = \{US\}\textgreater{}\} sales) & total sales for region=US \tn % Row Count 11 (+ 2) % Row 4 \SetRowColor{LightBackground} sum(\{\textless{}Region = \textgreater{}\} sales) & sales in selection with region removed (idem \$) \tn % Row Count 14 (+ 3) % Row 5 \SetRowColor{white} sum(\{\$\textless{}Year=\{2000\}, Region = \{"U*"\}\textgreater{}\} sales) & current selection but year forced to 2000 and region like U* \tn % Row Count 17 (+ 3) % Row 6 \SetRowColor{LightBackground} sum(\{\$\textless{}Year = \{\$(vLastYear)\}\textgreater{}\} sales) & sales related to a variable \tn % Row Count 19 (+ 2) % Row 7 \SetRowColor{white} p(\{\textless{}Year=\{\$(=max(Year)-1)\}\textgreater{}\} customer) & returns customers who are possible for last year \tn % Row Count 22 (+ 3) % Row 8 \SetRowColor{LightBackground} e(\{\textless{}Year=\{\$(=max(Year)-1)\}\textgreater{}\} customer) & returns customers who are excluded for last year \tn % Row Count 25 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}