Skip to main content

Questions tagged [dimension]

0 votes
1 answer
126 views

Take a SQL RDBMS data warehouse -- typical facts and dimensions type layout. Say you want Orders x Country. Maybe a date field, an orders field, a country field. And then if you want a report/ ...
user45867's user avatar
  • 1,739
2 votes
1 answer
2k views

Working with Postgres I noticed the following: When I run this query I get the total table size: SELECT pg_size_pretty( pg_table_size('tenk1') ); I get 384kb. And when I run: SELECT relpages FROM ...
user avatar
2 votes
1 answer
1k views

What is the best way to configure a dimension model (preferably star schema) when we have the following requirements? There is an Employees table (25 attributes) where we are required to make some of ...
Irfan Gowani's user avatar
1 vote
1 answer
532 views

One type of fact table in Dimensional modeling is Accumulating Snapshot fact Table. if you think you need to review the meaning and definition of this type , you can take a look at this article : ...
Pantea's user avatar
  • 1,502
0 votes
0 answers
67 views

so far this is what i have code wise, but im getting an error 1239 . Is it not referencing something correctly . CREATE TABLE CustomerDim ( C_CustomerID_Cu INT(10) NOT NULL, ...
masongirl's user avatar
0 votes
0 answers
232 views

I'm having a hard time figuring out how to create a lookup table or a table that references multiple dimension tables. I've got a "tracking" table that tracks the number of impressions for an e-...
danieltisdale's user avatar
1 vote
0 answers
1k views

I'm working for a business lender, and trying to come up with a basic dimensional model around the subject area of loan approvals. We use a CRM, (Salesforce) and one of the core objects is a (Sales) ...
Bee-Dub's user avatar
  • 41
1 vote
1 answer
999 views

I have my fact table that has data in weekly basis, so I am mapping with Week dimension to pull records in Piviot table. My ssas cube doesnt show all data that is in fact. Should I add any specific ...
Sandhya Balakrishnan's user avatar
7 votes
2 answers
3k views

I am trying to store vectors for word/doc embeddings in a PostgreSQL table, and want to be able to quickly pull the N rows with highest cosine similarity to a given query vector. The vectors I'm ...
J. Taylor's user avatar
  • 379
1 vote
1 answer
235 views

When browsing my cube it shows the correct invoice values by date when I select only a date type (the date table was generated by SSAS with hierarchies), but if I add the customer name it shows the ...
scampbell's user avatar
  • 143
3 votes
2 answers
1k views

We have a fact table with the weight trasported by truck/driver/day. And a dimension with the max weight per truck. We would like to have the % of weight transported, so we started with create ...
DeepButi's user avatar
  • 161
0 votes
1 answer
392 views

I have a parent-child-hierarchy with MemberWithData=NonLeadDataVisible. I tried different values for MembersWithDataCaption, but I always get name of datamember equal to name of inner node. I am using ...
Stefan Wilms's user avatar
2 votes
0 answers
124 views

I have two StudentDetails dimension tables in my data warehouse and I want to know whether I should converge them, considering that they have limited attributes in common (keeping in mind Kimball DW ...
Ben's user avatar
  • 165
0 votes
2 answers
709 views

When executing the steps in this query. I am running into an issue with the DECLARE @CutoffDate DATE = DATEADD(YEAR, @NumberOfYears, @StartDate); I get a message of Msg 137, Level 15, State 2, Line 2 ...
Joe Resler's user avatar
1 vote
1 answer
2k views

I'm trying to follow a tutorial on SQL Server Analysis Services (SSAS) but I'm having trouble on deployment. Summarized, what I'm doing is: Open SQL Server Data Tools (SSDT) Creating a new ...
Edu's user avatar
  • 195

15 30 50 per page