You are on page 1of 4

Qlikview 10 Functions CheatSheet

Italic=Script only Underline=Chart only

Basic
Conditional If Alt Type Class IsNum IsText IsNull Value Class Pick Match MixMatch WildMatch Class Size Len SubstringCount

String
Position Index FindOneOf Filters KeepChar PurgeChar

Mapping
(script only) ApplyMap MapSubstring

Hash
(script only) Hash128 Hash160 Hash256 Value-to-Text Num Money Date Time Timestamp Interval Text

Conversion
Constants Null True False E Pi Conformers Upper Lower Capitalize LTrim RTrim Trim Slice & Dice Left Right Mid Subfield TextBetween Other Replace Repeat ApplyCodepage Ord Chr Info Text-to-Value Num# Money# Date# Time# Timestamp# Interval# Dual

Mathematical
Classifiers Even Odd Sign Int. Arith. Div Mod Fmod Frac Rounding Ceil Floor Round Combinatorial Fact Combin Permut Trigonometic Sin Cos Tan Asin Acos Atan Other Fabs Bitcount Rand Hyperbolic Sinh Cosh Atan2 Financial BlackAndSchole Pmt Fv Statistical ChiDist NormDist ChiInv NormInv Pv Nper Rate

Base Inverse

Exponential Exp Pow Sqr Log

Sqrt Log10

Tanh

TDist TInv

FDist FInv

Color
Predefined Names Black DarkGray QlikTechGray LightGray White Generators RGB ARGB HSL ColormapJet ColormapHue Mixers Colormix1 Colormix2 LightRed LightHreen QlikTechBlue LightBlue LightCyan LightMagenta Yellow Red Green Blue Cyan Magenta Brown Predefined Color Syscolor

Date & Time


Granularity Parsers
These take a single date or time parameter and return a specific aspect of it.

Tests
There return a true/false value

Date Arithmetic
These function take a date/time parameter and return a date/time.

Duration

System

Other

Second Minute Hour Time

Second Minute Hour ConvertToLocalTime Now LocalTime GMT UTC Daylightsaving Today MakeTime

Day

Day Weekday

InDay InDayToTime

DayStart DayEnd

DayNumberOfYear DayNumberOfQuarter DayName MakeDate

Workday Week Week InWeek InWeekToDate InLunarWeek InLunarWeekToDate

FirstWorkDate LastWorkDate WeekStart WeekEnd

NetWorkdays WeekName MakeWeekDate

LunarWeek Month Month InMonth InMonthToDate

Multi-month Quarter Year Year

InMonths InMonthsToDate InQuarter InQuarterToDate InYear InYearToDate YearToDate

LunarWeekStart LunarWeekEnd AddMonths MonthStart MonthEnd SetDateYearMonth MonthsStart MonthsEnd QuarterStart QuarterEnd YearStart YearEnd SetDateYear

LunarWeekName MonthName

MonthsName QuarterName Age YearName WeekYear Timezone

Timezone

Aggregate & Range


Aggr

General
Aggregate Numeric Counters String Count NullCount MissingCount NumericCount TextCount Only Min MinString Max MaxString FirstSortedValue FirstValue LastValue Sum Concat Input String RangeCount RangeNullCount RangeMissingCount RangeNumericCount RangeTextCount RangeOnly RangeMin RangeMinString RangeMax RangeMaxString Range Numeric

Only Rank (Italic = Script only) Total

InputSum

RangeSum

(& operator)

Descriptive Statistics
Aggregate First Moments Avg Mode Median Correl Linest_m Linest_b Higher Order Moments Stdev Sterr Fractile Skew Kurtosis Steyx Linest_r2 Linest_sem Linest_seb Linest_sey Aggregate Input First Moments InputAvg Range First Moments RangeAvg RangeMode RangeCorrel Higher Order Moments RangeStdev RangeFractile RangeSkew RangeKurtosis

Single variable

Double variable

Linest_df Linest_f Linest_ssreg Linest_ssresid

Statistical Tests
Normal 1 sample Unweighted Base Degs of Freedom Significance Diff of Means Std Err for diff of means Confidence int. Lower end of confidence int. Upper end of confidence int.
ZTest _sig ZTest _dif ZTest _sterr ZTest _conf ZTestw_sig ZTestw_dif ZTestw_sterr ZTestw_conf ZTest_z

Students t 2 sample Weighted


TTest1w_t TTest1w_df TTest1w_sig TTest1w_dif TTest1w_sterr TTest1w_conf TTest1w_lower TTest1w_upper

Weighted
ZTestw_z

Unweighted
TTest1_t TTest1_df TTest1_sig TTest1_dif TTest1_sterr TTest1_conf TTest1_lower TTest1_upper

Unweighted
TTest_t TTest_df TTest_sig TTest_dif TTest_sterr TTest_conf TTest_lower TTest_upper

Weighted
TTestw_t TTestw_df TTestw_sig TTestw_dif TTestw_sterr TTestw_conf TTestw_lower TTestw_upper Chi2Test_chi2 Chi2Test_df Chi2Test_p

Financial
Internal Rate of Return Net Present Value Aggregate Periodic Irr Npv Scheduled XIrr XNpv Range Periodic RangeIrr RangeNpv Scheduled RangeXIrr RangeXNpv

Report & Doc


Documents DocumentName DocumentPath DocumentTitle Reports ReportComment ReportName ReportId ReportNumber NoOfReports Tables

Data Structure
Fields NoOfFields FieldName FieldNumber Rows NoOfRows NoOfTables TableName TableNumber

Chart Design
GetObjectField

Inter-Record
Tables
Exists Peek Lookup Previous FieldIndex FieldValueCount FieldValue

User State
Group Selection GetCurrentField Field Selection GetCurrentSelections GetFieldSelections GetSelectedCount GetPossibleCount GetExcludedCount GetAlternativeCount GetNotSelectedCount

All Charts
NoOfRows RowNo Dimensionality Above Below Top Bottom Rank

Pivot Charts
NoOfColumns ColumnNo SecondaryDimensionality Before After First Last Hrank

File System
Folder GetFolderPath DirList
*

QVD
QVD FileSize FileTime Attribute QvdCreateTime QvdTableName QvdNoOfRecords QvdNoOfFields QvdFieldName

ODBC
SQL

File FileName FileBasename FileExtension FilePath FileDir


* *

ConnectString SqlValue

FileList

These are only usable in the context of a for each loop.

System
OSUser QVUser ComputerName GetRegistryString

QlikView Context
QlikViewVersion ReloadTime IsPartialReload Evaluate MsgBox Input GetActiveSheetID

You might also like