Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6158095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:53:52+00:00 2026-05-23T20:53:52+00:00

We are seeking to build an OLAP cube from a relational DB. But the

  • 0

We are seeking to build an OLAP cube from a relational DB. But the database contains only raw data. The “domain logic” such as calcuations, conditional logic, and custom aggregations (i.e., sum up all of the rows that meet these conditions and no other row exists such that blah blah blah) is all contained in .NET code. I would like values generated by that code to be included in the cube.

Question 1: What kind of architecture do you recommend to include domain logic in a cube? I would prefer NOT to…

  • Code this logic into views, stored procs, or UDFs in the source database.
  • Include the domain logic into the OLAP cube as calculated members

Keeping my business logic in .NET code keeps in easy to maintain, scale, and test.

Question 2: Is this a good architecture?

  • Create a secondary OLTP database as a data warehouse.
  • Then create a custom ETL process to pull data from the source system, do the calculations, and write that information back into the DW database,
  • Have the cube process the DW database
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:53:53+00:00Added an answer on May 23, 2026 at 8:53 pm

    I would say that it depends. Typically if you can avoid building any MDX calculations and just go with the option form your second question, you will end up with a fast cube. However, MDX is usually used because business calcs are done more easily than in .NET or SQL.

    In general, some calcs are better off in .NET or SQL, while others are better than in MDX. In particular, low grain calcs working with detail level data are typically faster done before they get in the cube, while others, especially ones which work with aggregates, are faster and easier in SSAS.

    Having said all this, if you already have it all implemented and you can easily use what you have I would not advise the replication of the business logic in SSAS even if it works on aggregates, unless you are experiencing specific issues. If it all works fine and you only need an OLAP layer, then there is nothing wrong with consuming the results from your calculations in SSAS – this could and would speed up the cubes as there will be no calcs done at runtime.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm seeking a solution to splitting a string which contains text in the following
The application I am working inputs lot of data from file import and updates
I'm trying to build a MySQL select statement to get all data out of
Our nightly build process was broken for a long time, such that it generated
I'm about to build a fairly complex web application from the bottom up, and
I've recently been tasked with helping build a database for a dating website. I'm
When I build a deploy package for my webapp the package contains an archive.xml
I have such task - to create control that union two controls (DataGrid from
Seeking to create an event handler that registers a callback and iterates based on
Seeking your help to get off .epub(s) sea in iPhone world... I am trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.