Untitled


SUBMITTED BY: Guest

DATE: Nov. 12, 2013, 6:49 p.m.

FORMAT: Text only

SIZE: 3.3 kB

HITS: 1082

  1. SELECT
  2. {
  3. Hierarchize
  4. (
  5. {
  6. [Bookings].[DEFAULT_HIERARCHY].[ALL].[AllMember],
  7. [Bookings].[DEFAULT_HIERARCHY].[ALL].[AllMember].Children
  8. }
  9. )
  10. } ON COLUMNS,
  11. {
  12. Hierarchize
  13. (
  14. {
  15. [TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember],
  16. [TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember].Children
  17. }
  18. )
  19. } ON ROWS
  20. FROM [EquityDerivativesCube]
  21. SELECT
  22. {
  23. Hierarchize
  24. (
  25. {
  26. [Bookings].[DEFAULT_HIERARCHY].[ALL].[AllMember],
  27. [Bookings].[DEFAULT_HIERARCHY].[ALL].[AllMember].Children
  28. }
  29. )
  30. } ON COLUMNS,
  31. {
  32. Hierarchize
  33. (
  34. {
  35. [TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember],
  36. [TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember].Children,
  37. [TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember].[2M].Children
  38. }
  39. )
  40. } ON ROWS
  41. FROM [EquityDerivativesCube]
  42. SELECT
  43. {
  44. Hierarchize
  45. (
  46. {
  47. {0}
  48. }
  49. )
  50. } ON COLUMNS,
  51. {
  52. Hierarchize
  53. (
  54. {1}
  55. )
  56. }
  57. ON ROWS FROM [EquityDerivativesCube]
  58. SELECT
  59. Hierarchize(
  60. Union(
  61. CrossJoin(
  62. {[Bookings].[DEFAULT_HIERARCHY].[ALL].[AllMember]},
  63. {[Underlyings].[DEFAULT_HIERARCHY].[ALL].[AllMember]}
  64. ),
  65. Union(
  66. CrossJoin(
  67. {[Bookings].[DEFAULT_HIERARCHY].[ALL].[AllMember]},
  68. [Underlyings].[DEFAULT_HIERARCHY].[ALL].[AllMember].Children
  69. ),
  70. Union(
  71. CrossJoin(
  72. [Bookings].[DEFAULT_HIERARCHY].[ALL].[AllMember].Children,
  73. {[Underlyings].[DEFAULT_HIERARCHY].[ALL].[AllMember]}
  74. ),
  75. CrossJoin(
  76. [Bookings].[DEFAULT_HIERARCHY].[ALL].[AllMember].Children,
  77. [Underlyings].[DEFAULT_HIERARCHY].[ALL].[AllMember].Children
  78. )
  79. )
  80. )
  81. ))
  82. ON COLUMNS,
  83. {Hierarchize(
  84. {[TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember],
  85. [TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember].Children})}
  86. ON ROWS
  87. FROM [EquityDerivativesCube]
  88. DrilldownMember({ [TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember]}, { [TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember], [TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember].[2M]}, RECURSIVE)
  89. {
  90. {[TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember]},
  91. [TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember].Children,
  92. [TimeBucket].[DEFAULT_HIERARCHY].[ALL].[AllMember].[2M].Children
  93. }

comments powered by Disqus