SSAS Cubes

Posts   
 
    
bvalle
User
Posts: 54
Joined: 07-Jun-2006
# Posted on: 31-Mar-2007 15:24:08   

Here’s the question. I’m wondering if LLBLGen Pro will choke on an MDX query. If I only specify two dimensions, the result set looks just a SQL query. Except, I know Code Gen looks at the database schema, and I’d guess it knows nothing about SSAS cubes.

Here’s a simple query against that I am trying to do for consumption cube on a SQL 2005 Analysis Services. If you don’t mind, could you tell me if I could create a TSQL like so using LLBLGen

SELECT { [Time Dim].[Hour of Day] } ON COLUMNS, { [Measures].[Consumption Value] } ON ROWS FROM [ZSDW Consumption] WHERE ( [Time Dim].[By Week].[2007].[10].[3].[9].[15] )

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 01-Apr-2007 03:02:44   
David Elizondo | LLBLGen Support Team
bvalle
User
Posts: 54
Joined: 07-Jun-2006
# Posted on: 06-Apr-2007 00:50:19   

If I were to move these queries to Store Procedures and add those to LLBLGen Pro Project would that work?

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 06-Apr-2007 12:04:03   

I think yes. LLBLGen Pro call storedProcedures and don't care about what they do.