Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
2 replies
119 views

I’m designing a domain model where some entities evolve over time, and I need to keep a historical record of their state that can be retrieved later. A simplified example: A Credit Line represents a ...
MABC's user avatar
  • 605
1 vote
1 answer
70 views

Screenshot from DAX Studio Screenshot from Semantic Model I’m working in a Microsoft Fabric Semantic Model (same behavior as Power BI Desktop model) and I’m trying to sort one column by another using ...
Nick's user avatar
  • 11
2 votes
1 answer
47 views

I am developing web application using Gin and MongoDB. I have defined models for user like, type User struct { Id nftdb.ObjID `bson:"_id,omitempty"` Tenant string ...
Akon_Namikaze's user avatar
1 vote
1 answer
256 views

I want to implement SCD-Type2, and keep track of historized data, I am using for this task DuckDB, but I found out that DuckDB does not support Merge Statement. The idea I have is to have two separate ...
MuGh's user avatar
  • 165
0 votes
1 answer
29 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
1 answer
66 views

In MongoDB (version 8) I'm wondering about the most read-efficient way of storing a "sharing mechanism". I.e. the users can share items with other items within the same collection. When ...
cis's user avatar
  • 1,403
0 votes
1 answer
88 views

For displaying the (daily-weekly-monthly-annual) total profits for the store's dashboard. I want to store the data in an array for each store to not have multiple docs for the same store but different ...
Marya's user avatar
  • 198
-1 votes
1 answer
114 views

Each appliance is classified as either: Kitchen appliances, Entertainment appliances, and it’s important to keep track of their type. Kitchen appliances and Entertainment appliances have details about ...
OutOfBounds's user avatar
0 votes
1 answer
82 views

I'm usually quite good with Power BI, but weirdly stuck on this matrix, that I'm trying to create. I just can't seem to get the data in the right format to produce the below chart. Can anybody help? ...
ninelondon's user avatar
0 votes
0 answers
24 views

I have Product dim that filters the FactSales (1:M) And Charges dim that filters the FactCharges (1:M) There is a bridge table with a key value (concat of saleid, poid). This has a 1:M relation with ...
variable's user avatar
  • 9,886
0 votes
0 answers
24 views

I created following data set as illustrated below: You can see four level's. level 4: the records that tie everthing together, in this case : reservations. Or more precisely: object-reservations, ...
Christof De Backere's user avatar
0 votes
0 answers
99 views

I’m working on a Looker project with two main datasets: Table A: Contains only id values and other related data. Table B: Maps id values to human-readable name values (e.g., id-name). My goal is to ...
prezzma info's user avatar
0 votes
1 answer
45 views

I am seeking help with a complex data modelling problem I am trying to solve. Was wondering if any kind soul with a good SQL expertise is able to help me. The question is: obtain the average number of ...
Tarek Hossain's user avatar
1 vote
1 answer
69 views

I am writing a world simulator for a turn-based game. The key feature is that there will be many NPCs with detailed psychology modelling, perhaps 20,000 - 30,000 of them. I want all NPCs to make their ...
Asparuh's user avatar
  • 23
-1 votes
1 answer
74 views

I have data model for a Kimball style data warehouse. Regarding the whole Star vs Snowflake schema conundrum when it comes to dimensional tables and their ownership. Scenario: A bunch of IoT Devices ...
LordRofticus's user avatar
-1 votes
3 answers
168 views

I've got a record that I use for making update requests via json/Jackson: public record UpdateRequest( Optional<String> field1, Optional<LocalDate> field2, Optional<@Max(24) ...
Kevin's user avatar
  • 1,871
1 vote
0 answers
121 views

I need to keep track of changes to a particular field in an opensearch document, and to be able to find aggregations on that field per date basis (for example, per day), or find count/IDs of docs that ...
paranoidAndroid's user avatar
0 votes
0 answers
49 views

I'm building a lead data website using the MERN stack. Users can filter data based on various criteria like country, city, job title, seniority, industries, department, email type, and more (over 10 ...
Ali Sadain Tanvir's user avatar
0 votes
1 answer
54 views

I’m working on a data warehouse for a pharmacy business process and need some advice on determining the appropriate grain for the fact table. The business process is as follows: A pharmacy provides ...
Maokai's user avatar
  • 244
0 votes
1 answer
292 views

My model contains a fact table and a dimension. The dimension contains Full Name, Login, Access, DOMAIN. Domain is a numeric number which is used as a key to the fact table. Here is some dummy data: ...
ttruhcheva's user avatar
0 votes
0 answers
74 views

I have a fact table called ProjectTasks. It's a left join of project and tasks table. A project can have 0 or more tasks. Thus for projects that don't have any task, the task columns are nulls (blanks)...
variable's user avatar
  • 9,886
0 votes
1 answer
210 views

I'm looking at Product dimension table. It has got products table obtained by performing a SQL UNION between Product tables in 2 databases. The columns are: Dbname,productid,productname,...
variable's user avatar
  • 9,886
0 votes
0 answers
39 views

I am working with a DataWarehouse from which I'll be collecting data, I am trying to build a star model schema on data modeler in order to be then use on Snowflake and then later in Power BI for BI ...
Nolann Salaun's user avatar
1 vote
0 answers
34 views

I'm trying to model the data as follows. Is this good practice or is there a better way so that I don't have to repeat the data in the checklist collection. /* technical book 1 reference number ...
enginedave's user avatar
  • 1,003
0 votes
1 answer
37 views

I have 2 tables, encounters table and procedures table, that both have 2 columns containing a date data type and 2 columns containing a time data type. I have created a Calendar lookup and a Time ...
Tristan Privott's user avatar

1
2 3 4 5
63