Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 2 3 The result is ALL Sales Territory Country.

Similar presentations


Presentation on theme: "1 2 3 The result is ALL Sales Territory Country."— Presentation transcript:

1

2

3

4

5

6

7

8

9

10

11

12

13 1 2 3 The result is ALL Sales Territory Country

14

15 Source Table GROUP BY Expression to evaluate

16 Compute sub-totals at the Year level

17

18

19

20

21

22

23

24

25 Optimizing means using the SE and avoiding FE

26

27

28 28

29

30 Catches events from SSAS Queries Events Query Processing

31

32

33

34

35

36 EVALUATE CALCULATETABLE( SUMMARIZE( 'Internet Sales', Geography[State Province Code], "Sales", SUM( [Sales Amount] ) ), FILTER( Customer, Customer[Last Name] = "Anand" ) )

37

38

39

40 Slower queryOptimized query Always put extended columns in ADDCOLUMNS parameters. Just use SUMMARIZE for its group by and when the evaluation context of SUMMARIZE is required (i.e. when a TOPN has to be executed for each group) http://www.sqlbi.com/articles/best-practices-using-summarize-and-addcolumns/ http://www.sqlbi.com/articles/best-practices-using-summarize-and-addcolumns/

41

42 Using one SUMX, the optimizer pushes the calculation in VertiPaq

43 These two measures are slow to compute The filter is applied after computation

44 44 This query runs 7 times faster, even if it computes [Sales] twice

45

46 If you heavily hit Formula Engine, the cache will not be really useful.

47

48

49 Windows Azure

50 http://microsoft.com/msdn www.microsoft.com/learning http://channel9.msdn.com/Events/TechEd http://microsoft.com/technet

51

52

53


Download ppt "1 2 3 The result is ALL Sales Territory Country."

Similar presentations


Ads by Google