Currency Conversion (and More) in Analysis Services




              Presenter: Christian Wade, Senior Consultant, EMC Co...
Agenda


        Introduction
        Types of Currency Conversion
        Many-to-many dimensions
        Time dimensions...
Introduction




       Kern River Field – 81,000 barrels per day
© Copyright 2009 EMC Corporation. All rights reserved.  ...
Types of Currency Conversion


        One-to-Many
        Many-to-One
        Many-to-Many
                           = [...
Demo




© Copyright 2009 EMC Corporation. All rights reserved.   5
Many-to-many dimensions




© Copyright 2009 EMC Corporation. All rights reserved.   6
Many-to-many dimensions




                                                 Base Data




© Copyright 2009 EMC Corporatio...
Many-to-many dimensions




                                                 Base Data




© Copyright 2009 EMC Corporatio...
Many-to-many dimensions




                                     Default Aggregation




© Copyright 2009 EMC Corporation....
Many-to-many dimensions




                          Forced to be additive: Account B 60%, 40% split




© Copyright 2009...
Many-to-many dimensions




                                                 Base Data




© Copyright 2009 EMC Corporatio...
Many-to-many dimensions




                                               Apply conversion




© Copyright 2009 EMC Corpo...
Many-to-many dimensions




                                               Apply conversion




© Copyright 2009 EMC Corpo...
Many-to-many dimensions




                            Doesn’t aggregate on currency at all




© Copyright 2009 EMC Corp...
Demo




© Copyright 2009 EMC Corporation. All rights reserved.   15
Options for applying conversion rate


        Build logic into MDX query
        Build logic into MDX script
        BI W...
Resources


        My blog:
        http://blogs.conchango.com/christianwade/
        Mosha Pasumansky’s blog:
        ht...
Upcoming SlideShare
Loading in …5
×

SQL Server Analysis Services and MDX

2,024 views

Published on

Presentation to the San Francisco SQL Server User Group on June 11, 2009.

Christian Wade of EMC discusses the numerous features in Analysis Services 2005 and 2008 as well as dimension/cube design.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,024
On SlideShare
0
From Embeds
0
Number of Embeds
28
Actions
Shares
0
Downloads
86
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

SQL Server Analysis Services and MDX

  1. 1. Currency Conversion (and More) in Analysis Services Presenter: Christian Wade, Senior Consultant, EMC Consulting San Francisco SQL Server User Group June 11, 2009 Mark Ginnebaugh, User Group Leader © Copyright 2009 EMC Corporation. All rights reserved. 1
  2. 2. Agenda Introduction Types of Currency Conversion Many-to-many dimensions Time dimensions Semi-additive measures Measure expressions MDX query authoring and optimization MDX scripting © Copyright 2009 EMC Corporation. All rights reserved. 2
  3. 3. Introduction Kern River Field – 81,000 barrels per day © Copyright 2009 EMC Corporation. All rights reserved. 3
  4. 4. Types of Currency Conversion One-to-Many Many-to-One Many-to-Many = [Many-to-One] + [One-to-Many] © Copyright 2009 EMC Corporation. All rights reserved. 4
  5. 5. Demo © Copyright 2009 EMC Corporation. All rights reserved. 5
  6. 6. Many-to-many dimensions © Copyright 2009 EMC Corporation. All rights reserved. 6
  7. 7. Many-to-many dimensions Base Data © Copyright 2009 EMC Corporation. All rights reserved. 7
  8. 8. Many-to-many dimensions Base Data © Copyright 2009 EMC Corporation. All rights reserved. 8
  9. 9. Many-to-many dimensions Default Aggregation © Copyright 2009 EMC Corporation. All rights reserved. 9
  10. 10. Many-to-many dimensions Forced to be additive: Account B 60%, 40% split © Copyright 2009 EMC Corporation. All rights reserved. 10
  11. 11. Many-to-many dimensions Base Data © Copyright 2009 EMC Corporation. All rights reserved. 11
  12. 12. Many-to-many dimensions Apply conversion © Copyright 2009 EMC Corporation. All rights reserved. 12
  13. 13. Many-to-many dimensions Apply conversion © Copyright 2009 EMC Corporation. All rights reserved. 13
  14. 14. Many-to-many dimensions Doesn’t aggregate on currency at all © Copyright 2009 EMC Corporation. All rights reserved. 14
  15. 15. Demo © Copyright 2009 EMC Corporation. All rights reserved. 15
  16. 16. Options for applying conversion rate Build logic into MDX query Build logic into MDX script BI Wizard Measure expressions © Copyright 2009 EMC Corporation. All rights reserved. 16
  17. 17. Resources My blog: http://blogs.conchango.com/christianwade/ Mosha Pasumansky’s blog: http://sqlblog.com/blogs/mosha/ Chris Webb’s blog: http://cwebbbi.spaces.live.com/ © Copyright 2009 EMC Corporation. All rights reserved. 17

×