Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

I am designing a data warehouse and need guidance on a dimensional modeling issue related to overwritten dimension history. Setup I have a fact table at the following grain: • Transaction date • ...
Bikat Uprety's user avatar
Best practices
0 votes
0 replies
15 views

I'm designing a Kimball-style data warehouse. My fact table has the grain: 1 row per user per transaction. Each transaction ID appears only once in the fact table. The transaction itself has ~15 ...
RobMartin's user avatar
0 votes
1 answer
38 views

Is there a best practice to handle OLTP lookup tables( code-name-description tables) when converting to Dimension? Eg, the ACCOUNT table in OLTP has almost 15 codes (Eg: TRADING_PLATFORM_CD, ...
Sunil's user avatar
  • 61
1 vote
0 answers
116 views

I have two transactional systems that is used for the same operational business activity: purchase order transactions. One system is legacy and the other is a new modern one. They have different ...
user121's user avatar
  • 801
0 votes
0 answers
143 views

Many Kimball style star schema articles suggest that not to have a BK in Fact tables, the grain/uniqueness of Fact tables are supposed to be maintained by the combined SKs from its Dimension tables. ...
QPeiran's user avatar
  • 1,635
0 votes
1 answer
76 views

I have a requirement where I maintain type 2 SCD in my dimension table as below. For example on day_1 the material code M-01 has a name mat_1_old - now the transactions on day_1 are mapped with ...
Dhivakhar Venkatachalam's user avatar
0 votes
2 answers
65 views

I have FactOrders with date,saleid,productid,salesorderno,purchaseorderno,qty,price There are date and product dimension that link to FactOrders on date and productid respectively. Should sales order ...
variable's user avatar
  • 9,896
2 votes
0 answers
172 views

I have the following problem with a complex aggregation in postgres (16). The datamodel (CREATE Statements and ER-diagram) and an example of the required result set are to be found under the question. ...
erchenstein's user avatar
0 votes
0 answers
433 views

I am in a fresh Tableau workbook, Professional Edition v.2024.1.3 connected to a MS SQL Server database I have two fact tables that are unrelated to each other, but share several dimension tables. I ...
George Blanchard's user avatar
0 votes
0 answers
63 views

I have been given a new requirement which in Power BI would probably be fixed in Power Query so each data set might not have an issue with multiple fact tables but with how I store the data I am ...
magicdotjs's user avatar
1 vote
0 answers
137 views

I am a backend (mostly Go) developer working on a point-of-sale adjacent platform that processes and stores millions of orders and adjacent customer data into a Postgres database. The data is well ...
DJL's user avatar
  • 176
1 vote
0 answers
103 views

My requirement is to create a dimension model using ELT techniques . My dimensions are dynamics and any data load issues will have domino effect on subsequent records and their surrogate keys. Is ...
Bala's user avatar
  • 21
1 vote
0 answers
225 views

I am looking for a solution on how to handle rows that should be placed in a SCD2 table. In DLT (Delta Live Tables) this is easily solved by using apply_changes with sequence_by and primary key ...
yeykawb's user avatar
  • 35
0 votes
1 answer
105 views

I have a potential fact table that i want to use as the center of a star schema. It has a indexed parent-child hierarchy structure which i want to flatten using SQL. The table looks like this: Id ...
M.Kruisselbrink's user avatar
0 votes
1 answer
56 views

We have a dimension table with day care facilities and a fact table where we receive the monthly number of taken spots per age category (3 cetagories). Per facility we also have the number of ...
JessiSexy's user avatar
0 votes
1 answer
123 views

I am working on the Insurance broker Dimensional model and we have Policy table and relevant other tables like Customer and date table.. Now we are working for further to add some more fact and ...
RJP's user avatar
  • 11
0 votes
0 answers
75 views

In the process of optimizing the product dimension in the data lake for PowerBI analytics, a challenge has emerged where each department has a distinct product dimension with specific features. This ...
Tazz's user avatar
  • 89
0 votes
1 answer
122 views

I'm new to Kimball dimensional modelling, and I cannot solve how to model this case. I look forward to your help on this. Business case: Our company leases our Equipment (i.e. trucks, excavators, ... ...
Toàn Đoàn's user avatar
1 vote
0 answers
118 views

I am hoping for some assistance with data modelling. I have created a sample database to show my problem. https://1drv.ms/u/s!Ap6q8W-mvm27hKRL1J85BopnnrfYRQ?e=tgASW4 Essentially I have a client and ...
Moomoob's user avatar
  • 11
0 votes
0 answers
505 views

I have been working in a Data Warehouse environment for a couple years. From my experience dimensions should not be joined together without a fact table. My understanding is that unless the dimensions ...
j20152012's user avatar
0 votes
1 answer
208 views

I have a dimensional model built from multiple sources - online and retail. I have following dims - date, teammember, division, store. And fct - sales. fct table date_id teammember_id division_id ...
pam's user avatar
  • 3
0 votes
1 answer
156 views

I have a header-detail type of requirement. For example: My dimensions are product, customer, DateTable My fact table is FactOrders (columns: order num, prod_id, cust_id, date, num of items, total ...
variable's user avatar
  • 9,896
0 votes
0 answers
168 views

I have the following model: My dimensions are product, customer, DateTable My fact tables is: FactSales (columns: order num, prod_id, cust_id, date, num of items, total amount, cost of pkg, lineitemid,...
variable's user avatar
  • 9,896
1 vote
1 answer
368 views

I have a header-detail type of a requirement. For example: My dimensions are product, customer, DateTable My fact table is FactOrders (columns: order num, prod_id, cust_id, date, num of items, total ...
variable's user avatar
  • 9,896
0 votes
1 answer
175 views

In a business where customers may execute multiple sales orders over time, the dimensional model contains two tables: Sales_FT: Tracks Sales at sale-level, including time-stamp of sales activity ...
Nicholas's user avatar
0 votes
1 answer
168 views

I have read through the idea "Behavior Tag Time Series" several times but couldn't understand Here is the explanation in the book, but still not make sense: "Almost all text in a data ...
cloudscomputes's user avatar
0 votes
1 answer
135 views

I have a scenario where the technical team is requesting for single dimensional model combining different subject areas like finance, sales,etc. eg: Fact table 1 -> Finance area gives P&L ...
ks_baba's user avatar
  • 41
0 votes
1 answer
208 views

I am trying to separate the following fields into a new dimension table called Territory. As you can see, there is no TerritoryKey in the Fact Table I have. As the columns should not repeat in a Star ...
Frank Peltz's user avatar
0 votes
0 answers
278 views

I'm working on my first DW project and would appreciate some help. I’m at the stage now where I want to populate my fact table with already-existing data. (using Snowflake btw) The way I intend for it ...
Jean-Paul Azzopardi's user avatar
0 votes
0 answers
59 views

Working on my first data warehouse project and learning online on the way using tutorials, articles, youtube videos etc. I'm using data meant to mimic an OLTP database for a dvd rental company, and I'...
Jean-Paul Azzopardi's user avatar
1 vote
1 answer
300 views

I'm kind of new to dimensional modeling. It seems to me that a lot of my data do not have specific measures. For instance, we have Organizations, and each has 1 or more Locations. There are ...
J Brun's user avatar
  • 1,281
0 votes
2 answers
395 views

Suppose I have tables as indicated below. I'm trying to create correct fact tables. If I combine both tables into one fact table, I would be repeating the sales measure since each sale contains at ...
Fisk's user avatar
  • 247
0 votes
2 answers
352 views

I am looking at a fact table which has a certain grain. So each record represents a transaction at that grain. Let's say the grain is header detail sub-detail. But there are some numeric columns in ...
variable's user avatar
  • 9,896
0 votes
1 answer
97 views

Database: Snowflake I have a slowly changing Fact (yes, that's correct, fact not Dimension) that uses EFFECTIVE_TS and EXPIRATION_TS for the periodicity. The Query uses <input_date> BETWEEN ...
Sunil's user avatar
  • 61
0 votes
0 answers
69 views

I'm designing system where each table supports dimensions. There are a couple of ways achieving it by using snowflake, star schemas. Unfortunately I don't see how I can apply any of this in my use ...
Andrius's user avatar
  • 362
0 votes
0 answers
103 views

I understand that Kimball recommends to flatten out hierarchy in single table. Eg: Product->Product Sub Category->Product Category should be stored as follows: Product desc - Product Sub ...
Sunil's user avatar
  • 61
0 votes
0 answers
323 views

Using snowflake database, Brokerage industry , Plan Dim stores contract details about stock plan services between the service provider and Client org, while Custody Account Dim stores Custody accounts ...
Sunil's user avatar
  • 61
1 vote
1 answer
122 views

I have product hierarchy as follows: Category Sub category Product When does it make sense to have all these 3 columns in 1 table called Prooduct, or to make 3 tables - 1 for each?
variable's user avatar
  • 9,896
0 votes
1 answer
274 views

I'm struggling as to whether I should have this data live as a fact or dimension table, and would like some help. In general terms, the data and business process is a customer's/accountholder's ...
simplycoding's user avatar
  • 3,021
0 votes
1 answer
146 views

I've been having one of those weeks... I am creating a simple POC for the Director, who is looking for weekly stats of order values shipping. The scenario they asked is "At the end of each week (...
a.Smith's user avatar
  • 11
0 votes
1 answer
141 views

I'm working on a date dimension table for my business, including your standard date measurements as well as holidays. Something I'm trying to add is a flag for certain important periods for the ...
JulianH's user avatar
0 votes
1 answer
197 views

I have a Source Table which looks like as below (pls focus on the show_id column) [ And below is the Dim and Fact Table Diagram from my school's guide: They put the show_id from the Source Table ...
Hoang Minh Quang FX15045's user avatar
0 votes
2 answers
96 views

I feel it is similar to the age old Sales --> Orders setup but I can't seem to finalize a solution. I have a Business process of "Complaints" which are placed into a fact table which are ...
Chaddeus's user avatar
0 votes
1 answer
454 views

I have a ‘Project’ dimension and it has a discount value (in percentage). My problem is I cannot use a column from a Dimension directly in a measure… I have to do Discount x Revenue. (Usually my ...
Chicago1988's user avatar
0 votes
1 answer
175 views

I have a requirement to create a Fact table which stores granted_share_qty awarded to employees. There are surrounding Dimensions like SPS Grant_dim which stores info about each grant, SPS Plan Dim ...
Sunil's user avatar
  • 61
0 votes
0 answers
129 views

Possibly a bit of an odd question given that dimensional tables mostly get created by wizards in RDBMSs as far as I have seen. But I want to see if I can create a dimensional table with a SQL query ...
Catazza's user avatar
  • 285
1 vote
2 answers
935 views

I've just started learning Data Modeling in DW. And now I'm a bit confused about choosing with field to build a Dimension Table and whether should I split into many DIM tables For example, I have a ...
Hoang Minh Quang FX15045's user avatar
-1 votes
2 answers
292 views

Is it necessary to have surrogate keys for each hierarchy level above the lowest level in a dimension table? Row City_Key City_Name State 1 1234 Chicago Illinois 2 3245 ...
MJL's user avatar
  • 1
0 votes
0 answers
47 views

I have a fact table at the grain of sales order. The issue is that people want to see the invoice number but each sales order can have multiple invoice numbers. Which causes my table to have ...
M R's user avatar
  • 62
-1 votes
2 answers
70 views

I am doing a small exercise, I need to create a small dimensional design that deals with the tsunamis that have occurred in different countries over the years. I have created a "Country" ...
Luis's user avatar
  • 65

1
2 3 4 5
10