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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:21:28+00:00 2026-06-17T14:21:28+00:00

i need to create a cube based on sales for multiple branches but im

  • 0

i need to create a cube based on sales for multiple branches but im not sure how to approach the fact that each branch may use the same product code. in vs 2008 it wont process the cube because it sees that this code is duplicated in my master product file which also ha a branch id field to differentiate for standard queries

anyone any idea how to go about setting up a cube in this scenario?

tables (only some for illustration)

• transactions (all branches – has branch id and product id)
• products (master file – has branch id and product id)
• users (links to transactions)
• branch table (links to transactions)

basically there are four dimensions to this cube users, products, branch and a time dimenension based on a field in transactions.

The products field is the main issue though. DB design is restricted due to the application

thanks for any help in advance!

  • 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-06-17T14:21:30+00:00Added an answer on June 17, 2026 at 2:21 pm

    the solution for this was to add an extra field to the tables which have duplicate keys, this field i have called a business logic key. This is unique for each product irrespective if the product code reappears the BLK will still be unique, simply add this to the products table and the transactions table and run a simple sql query to update transactions with your BLK and use this for the olap cube – sorted 🙂

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

Sidebar

Related Questions

I need create clone repository. but I do not know where can I get
I need to create a WP site which will have multiple subjects. Each subject
I need create something like this in xml, but it is not possible to
I need create a vector z in numpy such that z[i] = 1/(1+i). Is
Im new to Open Gl and I need to create an app that consists
I create service and I need create class MyErrors (not exception) My web method
So I have a database schema and now I need to create a Cube
I need create xls-file with own data. But file may already be created, and
I create a model (cube) and add that to my viewport and it works
I need create a tree structure recursively. In the tree each node has different

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.