![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Does anyone have any good tips or tricks on how to make up an Analysis Services database on a nightly basis? Both the data and metadata. Thanks! |
#3
| |||
| |||
|
|
Does anyone have any good tips or tricks on how to make up an Analysis Services database on a nightly basis? Both the data and metadata. Thanks! |
#4
| |||
| |||
|
|
There's a native RANK function in MDX Rank(«Tuple», «Set»[, «Calc Expression»]) Here's an example, say you wanted to rank cities based upon Store Sales for all time: WITH SET [Top Store Sales] as 'Order([customers].[city].members,[Measures].[Store Sales],BDESC)' member [measures].[store sales rank] as 'Rank( [customers].CurrentMember,[Top Store Sales])' select [customers].[city].members on rows, { [measures].[store sales rank] } on columns from sales "Jesse O" wrote: Does anyone have any good tips or tricks on how to make up an Analysis Services database on a nightly basis? Both the data and metadata. Thanks! |
#5
| |||
| |||
|
|
Sorry, the below was a respons to a ranking question, for some reason it posted here. My apologies. "SQL McOLAP" wrote: There's a native RANK function in MDX Rank(«Tuple», «Set»[, «Calc Expression»]) Here's an example, say you wanted to rank cities based upon Store Sales for all time: WITH SET [Top Store Sales] as 'Order([customers].[city].members,[Measures].[Store Sales],BDESC)' member [measures].[store sales rank] as 'Rank( [customers].CurrentMember,[Top Store Sales])' select [customers].[city].members on rows, { [measures].[store sales rank] } on columns from sales "Jesse O" wrote: Does anyone have any good tips or tricks on how to make up an Analysis Services database on a nightly basis? Both the data and metadata. Thanks! |
#6
| |||
| |||
|
|
Hi, Did u tried to run the script given in BOL about AS backup in Query Analyser Pls go though it because it gives the error as 'msmdarch' is not recognized as an internal or external command, operable program or batch file. NULL From dos mode it works fine pls tell me why does this error comes -- waiting for solution from Sufian "SQL McOLAP" wrote: Sorry, the below was a respons to a ranking question, for some reason it posted here. My apologies. "SQL McOLAP" wrote: There's a native RANK function in MDX Rank(«Tuple», «Set»[, «Calc Expression»]) Here's an example, say you wanted to rank cities based upon Store Sales for all time: WITH SET [Top Store Sales] as 'Order([customers].[city].members,[Measures].[Store Sales],BDESC)' member [measures].[store sales rank] as 'Rank( [customers].CurrentMember,[Top Store Sales])' select [customers].[city].members on rows, { [measures].[store sales rank] } on columns from sales "Jesse O" wrote: Does anyone have any good tips or tricks on how to make up an Analysis Services database on a nightly basis? Both the data and metadata. Thanks! |
![]() |
| Thread Tools | |
| Display Modes | |
| |