![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| Select {[Measures].[UnitSales], |
#3
| |||
| |||
|
|
Depending on whether you want all values or only the top or bottom N, you can use Order() or TopCount()/BottomCount(). Select {[Measures].[UnitSales], [Measures].[AdCost], [Measures].[UnitCostPerSale]} on columns, Order([Agency ID].Members, [Measures].[UnitCostPerSale]) on rows from SaleCube - Deepak *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Suresh, There are probably many options to do this, and others in the group may have some ideas. The 2 approaches that come to mind would be: 1) A robust and flexible solution would be to use something like SQL Server Reporting Services. This would enable you to design and schedule a report based on an MDX query, determine the output format(s) (such as Excel and PDF), and distribute the reports via email. But this requires set-up of Reporting Services and a report design environment (Visual Studio.NET can be used, for example): http://www.microsoft.com/sql/reporti...o/overview.asp 2) A simple approach would be to schedule a SQL Server DTS package that exports the results of an MDX query to an external Excel file, using standard DTS transformations. But with this approach, I'm not sure if you can customize the Excel report to your requirements. - Deepak *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
![]() |
| Thread Tools | |
| Display Modes | |
| |