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 6712097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:13:10+00:00 2026-05-26T08:13:10+00:00

A simple cube has 1 measure and three time dimensions: [Measures].[Amount Paid] [Date Paid]

  • 0

A simple cube has 1 measure and three time dimensions:

  • [Measures].[Amount Paid]
  • [Date Paid]
  • [Cover Start Date]
  • [Cover End Date]

Earned Premium =
0% if Cover Start Date is before the period in question
100% if Cover End Date has passed
else [Cover End – Cover Start] * Days Since Start

For any given cell, how do I traverse all the start and end dates and determine what the amount earned for a period is?

  • 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-26T08:13:11+00:00Added an answer on May 26, 2026 at 8:13 am

    I assume other dimension are missing, e.g. one like [ContractId], if no what comes after doesn’t make real sense.

    The problem here is that your actual measure,earned premium, is a function (Amount Paid, Cover Start Date, Cover End Date, date) and this for each deal. You can not aggregate over a set of deals at once as the function is not associative – or something like this :-).

    So I would feed my cube with the premium for each deal over the period [Cover Start Date], [Cover End Date] with the daily premium for this contract. Once you’ve this you can easily aggregate this measure over your dimensions. -> Now daily premium is not anymore a function of Cover dates..

    MDX is not a real calculation engine, so you’re pushing the system out of it’s limit. Solving this with scopes, calculated measures can produce an amazingly slow cube…

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

Sidebar

Related Questions

Using OpenGL ES I am rendering a simple cube class that draws it at
check out the following test: http://binks.knobbits.org/webgl/texture3.html It's a simple test of cube textures. It
Simple question - How do I convert a string that has been through parseInt
Im trying to do a simple rotation of a cube about the x and
My app has several project/task scheduling features. I created a simple demo with the
I've just written a simple animation in JOGL : a 6-colored cube spins around
OpenGL: no light for a simple glut cube Hi, i'm trying to study lights
I have a problem just with rendering a simple rotating cube with SlimDX (DirectX
I am told that for a simple cube I need 36 vertices when I
I have a simple 3D cube that I can rotate using the following code:

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.