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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:29:15+00:00 2026-05-22T16:29:15+00:00

I have just started tinkering with MS SQL Analysis Services. For a start, I’m

  • 0

I have just started tinkering with MS SQL Analysis Services. For a start, I’m creating one cube from sales detail table. For the dimensions I have created ProductDim from product master table, LocationDim from location tables, and a CalendarDim.

However I’m stuck when trying to provide these data:

  • boolean: how do I let user filter active/inactive transactions? Should I create a dimension containing 2 values, TRUE and FALSE?
  • time: should I create a dimension containing 00:00:00 to 23:59:59 or should I merge time into my calendar dimension?
  • transaction count: one transaction can have many line items, there’s line item id, and there’s transaction id, how do I set the dimension so user can see transaction count? Because the count of the measure is line item count.
  • 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-22T16:29:16+00:00Added an answer on May 22, 2026 at 4:29 pm

    So, I’ve been reading about this quite a bit recently, and I will try to answer each one as much as theory suggests:

    1. For this, you should create something called ‘junk’ dimension: its basically a dimension with no attributes. http://en.wikipedia.org/wiki/Dimension_(data_warehouse)

    2. You probably don’t want the time dimension merged with calendar. You’ll end up storing way too many records. If your granularity is minute, then one day would be 24 * 60 = 1440 records. You have to decide how granular you want to go (per minute, per second??) And then store an entire days worth of time in a ‘Time’ dimension. So you fact tables will have two keys, one to your calendar dimension, and one to your ‘time’ dimension.

    3. Transaction count should be a ‘measure’, I think (no?). I assume you have transaction id repeated, because you have multiple line items per transaction. When you setup the measure, you can do ‘distinct count’ of transaction id.

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

Sidebar

Related Questions

I have just started with using boost libraries. For one of our projects i
I have just started a new project using a Linq to Sql model and
I have just started to practice c++ and I am stuck at one point.
I have just started using vc++ 2008. I just want to see one message
I have just started reading up on Lucene. In one of the examples provided,
We have just started a web project. Sql tables of the project is expected
I have just started using services in Android and I have a made a
Have just started using Google Chrome , and noticed in parts of our site,
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have just started playing with ASP.NET MVC and have stumbled over the following situation.

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.