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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:23:41+00:00 2026-05-27T04:23:41+00:00

I have the facts table with two date columns: StartDate and FinishDate: And I

  • 0

I have the facts table with two date columns: StartDate and FinishDate:

enter image description here

And I have Time table which have been linked with the facts table with two different relations.

I have created Time dimension based on the Time table and included this dimension to my cube:

enter image description here

So in the result I have two different dimensions (Created_On and Updated_On) based on the Time table.

Now I am trying to browse my cube and I want to get the two counts: count of facts which have been created in some period of time and count of facts which have been updated in the same period of time.

I can get each of them separately, but cannot in the same time:

enter image description here

How can I get it? Do I need to change the warehouse structure? Do I need to change my cube? Or do I need to use MDX in this case?

  • 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-27T04:23:41+00:00Added an answer on May 27, 2026 at 4:23 am

    MDX Calculated members is what you’re looking for. What we need is to ‘change’ the dimension from ‘Start’ to ‘Finish’ date. How to convert a Start Date into a Finish date?

    We can use a string operation and change ‘manually’ the name of the dimension:

    StrToMember(  REPLACE( [StartDate].currentmember.uniqueName, "StartDate", "FinishDate" )
    

    This, if both date dimensions share their structure, will change a member from ‘start date’ to ‘finish date’ dimension.

    Now we can just create our measure by creating a tuple :

    WITH MEMBER [MyMeasureOnFinishDate] AS ([Measure].[MyMeasure], [StartDate].defaultmember,StrToMember(REPLACE([StartDate].currentmember.uniqueName, "StartDate", "FinishDate" )
    

    It’s not tested but you get an idea how you may solve this

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

Sidebar

Related Questions

I have a table with two linked columns, a compulsory boolean and an optional
As per https://stackoverflow.com/questions/3264227/relations-with-multiple-keys-in-doctrine-1-2 , I have two tables which (as I can't get it
I have a situation which I have solved in two different ways, but was
I have two tables structured like this: table a id title date 1 testing1
I have a table called Point. The table has two columns that we'll deal
I have two tables for time dimension date (unique row for each day) time
I have a table with arbitrary columns and rows. This fact is irrelevant though
I have a dimension (SiteItem) has two important facts: perUserClicks perBrowserClicks however, within this
I have two tables, table1 ( Id, date, info1) table2 ( Id, date, nvarchar(50)
I have the following two tables activity(activity_id, title, description, group_id) statistic(statistic_id, activity_id, date, user_id,

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.