Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

trying to make my first report and it is not going :(

$
0
0
Hi,I am new here, I have a question, unfortunately every time I solve it on my own I keep mixing the code even worse.I need to get as a result a table that looks like this.Item YesterdaySum Payments Measure…Transaction count Measure…New paying users Measure… (sorry, i didnt know how to make it look like a table. The problem is that no matter what I do, I cannot make it work :(I don’t know how to set the name of the row to be different from the name of the measure.I don’t know how to change the date to bring yesterday every time I run it.Basically I am a newbie having a mdx crisis.Here is my code.with member [Time].[Year - Month - Period - Date].[Date].&[2013-03-10T00:00:00] as 'aggregate ({[Time].[Year - Month - Period - Date].[Date].&[2013-03-10T00:00:00]})'select {[Time].[Year - Month - Period - Date].[Date].&[2013-03-10T00:00:00]} on columns,{[Measures].[Purchase - converted to USD],[Measures].[Purchases_Count],[Measures].[Site Pay User],[Measures].[Free_signups],[Measures].[free to site pay user],[Measures].[click to site pay user],[Measures].[Click Count],[Measures].[Guests Logins Count],[Measures].[Guests Unique Logged in],[Measures].[Guests Credit Spent],max([Hour Dim].[D Hour].[All]},[Measures].[Purchase - converted to USD]),min([Hour Dim].[D Hour].[All]},[Measures].[Purchase - converted to USD]),Avg([Hour Dim].[D Hour].[All]},[Measures].[Purchase - converted to USD])} on rows FROM [Dw Virtual] WHERE ([Sites Dim Vw].[Site Group Tree].[Site Group].&[ All],[Device Name].[Device Name].[All],[Time].[Year - Month - Period - Date].[Date].&[2013-03-10T00:00:00]) CELL PROPERTIES VALUE, FORMAT_STRING, LANGUAGE, BACK_COLOR, FORE_COLOR, FONT_FLAGSThanks a bunchAstrid

Viewing all articles
Browse latest Browse all 1341

Trending Articles