01高級分析模型設(shè)計培訓(xùn)函數(shù)應(yīng)用qonnections workshop advanced functions in qlikview_第1頁
01高級分析模型設(shè)計培訓(xùn)函數(shù)應(yīng)用qonnections workshop advanced functions in qlikview_第2頁
01高級分析模型設(shè)計培訓(xùn)函數(shù)應(yīng)用qonnections workshop advanced functions in qlikview_第3頁
01高級分析模型設(shè)計培訓(xùn)函數(shù)應(yīng)用qonnections workshop advanced functions in qlikview_第4頁
01高級分析模型設(shè)計培訓(xùn)函數(shù)應(yīng)用qonnections workshop advanced functions in qlikview_第5頁
已閱讀5頁,還剩15頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、Workshop: Advanced functions in QlikViewMarcus Kirsebom - Lund, SwedenWiko Law Stockholm, SwedenAgenda 13.30 13.40Introduction13.40 14.00Walkthrough of set analysis.Pros and cons? What were R&Ds ideas when first introducing this function?Whats to come? Examples, different ways to use set analysis14.

2、00 14.45Exercises14.45 15.15Presentations and discussions15.15 15.45Coffee break15.45 16.15Aggr, calculated dimensions and range functions16.15 17.00Exercises17.00 17.30Presentations and discussionsAgenda13.20 13.30Introduction13.30 13.50Walkthrough of set analysis.Pros and cons? What were R&Ds idea

3、s when first introducing this function?Whats to come? Examples, different ways to use set analysis13.50 14.35Exercises14.35 15.05Presentations and discussions15.05 15.35Coffee break15.35 16.05Aggr, calculated dimensions and range functions16.05 16.50Exercises16.50 17.20Presentations and discussionsI

4、ntroductionGoal with this session: To get a better understanding what business problems the covered functions has solved and how they can be used. To gain a better understanding how to use these functions and their syntax.Starting discussions regarding uses of these functionsSpreading knowledgeFeel

5、free to interrupt!What is Set Analysis?By using Set Analysis you can specify a set selection that overwrite the current selection set in an aggregated function. It is possible to compare several different sets in the same chart. The current selection set is Nice, Paris and SeattleThe set selection i

6、s ”hardcoded” to LundThe set selection may be based on:a bookmarkas a modification of the current selectionthe inverse of current selectionprevious selectionall dataetcSet Analysis Syntaxsum( set identifier Sales)Set identifiers:$current selection set1full selection setMyBookMarkselection set define

7、d by the bookmark MyBookMark$1previous selection setExamples:sum( $ Sales)sales for current selectionsum( 1 Sales)sales for total selectionsum( 1-$ Sales)sales for the invers of current selectionSet Analysis Syntaxsum( $ Sales)Set modifier is used for making modifying selection set Set modifier synt

8、ax is Examples:sum( $ Sales)Sales for year 2008sum( $ Sales)Sales for all regions.sum( $ Sales)Disregard selections in field Region.Set Analysis SyntaxAdvanced modifierUsing search function in set modifiersum( $ Sales) sum( $ Year = ” Sales) Using variable in set modifiersum( $ Sales)Using evaluatio

9、n in set modifiersum( $ Sales)sum( $ Sales)sum( $ Year = Year, Month = “ Sales)Using nested set expressionsum( $Customer = “=Sum(1 Sales ) 1000000” Sales)Set analysis Thoughts from R&DUsing set analysis is more efficient than flags, if statements.A set expression with a string comparison instead of

10、numeric value is more or less as efficient, no big difference.Be careful when using set analysis. Youre moving away from standard QlikView functionality where everything is connected.Use help texts to describe what answers the expressions give.Set analysis Pros and consPros:Empowering the Profession

11、al users.Dynamic solutions, apply changes without reloading data.Easier to compare, e.g. year-to-year comparisonCons:Easily complex expressions. Difficult to follow.Moving away from standard QlikView functionality.Higher demands on the QlikView Developer.Set analysisExamples on different uses of set

12、 analysis:Instead of date- & report flags e.g. rolling 12.Showing current selections in relation to total data set graphically. Excellent for overview pages.Free comparison, with bookmarksDiscussion Set Analysis ExercisePros and cons of different solutions.Set analysisNews in QlikView 9.0 :Indirect

13、set analysis.Syntax:( $Customer = P(1 Customer) Sales )( $Customer = E(1 Customer) Sales )Simplifying previously advanced expressions.Enabling expressions previously not possible. sum( $Customer = P(1 Supplier) Sales )Colour coding of the set analysis syntax.Set analysisNews in QlikView 9.0, continu

14、ed:Example:8.5:sum($CustomerID = = sum(1Sales) 0 and sum(1Sales) 0Sales)9.0:sum($CustomerID = P(1) * P(1)Sales)Aggr, Calculated Dimensions and Range FunctionsRequests from participantsAggr FunctionCreates a vector containing aggregated values grouped by dimensionSyntax: Aggr(expression, dimension/s)

15、Ex: Aggr(sum(Sales), SalesPerson)Ex: Avg(Aggr(sum(Sales), SalesPerson)Always preferable to create aggregations in the script, use aggr when it has to be dynamicIs also used to get sum of row totals in pivot tablesCalculated dimensionsCreates a dimension that doesnt already existOften used together w

16、ith the aggr functionAgain, always preferable to do this in the script, use calulated dimensions when the dimension has to be dynamicTwo main uses:Limit which values that are shown in the dimension=If(Country = Sweden, Customer)Create a dimension where the values are aggregated=Aggr(Count(Customer, SalesRep)Range functionsBy request from Henric Cronstrm, functions considered to be underused Used to make calculations on a range of values, both vertic

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論