Role Playing Dimension | Data Warehouse Concepts

  Рет қаралды 40,874

aroundBI

aroundBI

Күн бұрын

In this video, we will talk about Role playing dimension.
Role playing dimensions are type of dimensions that are used multiple times with different meaning and purpose. They appear several times in the same fact table with unique labels.
Recommended structure in warehouse is to create independent views for each fact table foreign key and label all the columns in each of the views uniquely.
Please share your thoughts and feedback.
Thanks for watching.

Пікірлер: 21
@AshokKumar-ji3cs
@AshokKumar-ji3cs Жыл бұрын
Thanks for the detailed explanation. This is the best video I have seen till today
@rickmemmer5625
@rickmemmer5625 6 жыл бұрын
Informative, easy to follow, and elegant to boot -- very nicely done!! Thank you!
@UmeAsh393-z4d
@UmeAsh393-z4d 3 жыл бұрын
Very helpful !! Easy to understand!
@v-k883
@v-k883 2 жыл бұрын
Jazz at the end sounds good.
@ashoknidamanuri6361
@ashoknidamanuri6361 2 жыл бұрын
very nice explanation
@jdisunil
@jdisunil 2 жыл бұрын
great eplaination.
@jeanpierretueros7757
@jeanpierretueros7757 6 жыл бұрын
thanks, and keep going!
@indranisandur9644
@indranisandur9644 6 жыл бұрын
Great effort to explain topics simply. Thank you. One question, when we create multiple views for master table, will the views structure and data be same with just different names?
@aroundBI
@aroundBI 6 жыл бұрын
Thanks for appreciation. Most of the time, for simplicity, we keep same structure. But it can be different based on requirement.
@jeffharrison2840
@jeffharrison2840 4 жыл бұрын
You mention foreign keys, but not the technical aspect of trying to build a fk constraint to a view. Do most solutions that use views for RPDs retain the foreign key nomenclature (e.g. ThisDate_FK) but not actually define it as a foreign key constraint?
@junkingjunking8477
@junkingjunking8477 Жыл бұрын
What do you mean exactly by VIEWS? Please explain sir.
@willbee6591
@willbee6591 Жыл бұрын
Same question
@huzischannel
@huzischannel 2 жыл бұрын
Cant we use single Date Dimension with left join for all the date fields in fact? Even when we create views on top of date Dimension we are essentially doing same thing.
@shilpakr7963
@shilpakr7963 4 жыл бұрын
Tutorial is very helpful ..thank you ..can we not join the same dimension multiple times?
@chrism3790
@chrism3790 3 жыл бұрын
The problem would be that when selecting from the joined table, all fields in the joined dimensions would be named the same. In this example, every date would be called "Date", so a more descriptive name would be helpful. I think that aliasing each column is a simpler solution, but you run into issues if people start aliasing the field differently in different places/datamarts.
@jimmymemon
@jimmymemon 3 жыл бұрын
My teacher with PhD in Computer Science from Harvard should be your student. No even kidding.
@MuideenMuibi
@MuideenMuibi 4 жыл бұрын
Great tutorial.. Short, precise and very easy to understand. However, I am thinking that what if I choose not to create views for the role-playing dimension, but rather decide to use aliases to separately reference the different roles of the dimension. Is there any problem with such approach?
@jeffharrison2840
@jeffharrison2840 4 жыл бұрын
Problems -- not necessarily. If that design meets your business's needs, it's the right solution. From all my research, there is a divergence on this point, but there is no argument that one option is absolutely the right option for every implementation. Views add some maintenance work, and don't allow for enforced FK constraints, but result in a very clean and orderly approach. Aliases add development work, but result in a more simple model. And your choice should fit with your BI tooling -- if you pick an option that doesn't work well with your BI tools, it's probably the "wrong" option.
@AkshuGotuDance
@AkshuGotuDance 3 жыл бұрын
Thanks
@karmagurung2098
@karmagurung2098 5 жыл бұрын
How can you reference a view in a foreign key?
@jeffharrison2840
@jeffharrison2840 4 жыл бұрын
From some other research, here are options: (1) you call your field "_FK" but you don't actually have a constraint on it; you rely on your ETL to enforce the "constraint" (2) you have a fk constraint to the physical table, but the field is named in such a way to point at the RPD/view. So the underlying table insures the constraint is observed, but the RPD is used for reporting.
Use of Degenerate Dimension | Data warehouse Concepts
4:05
aroundBI
Рет қаралды 50 М.
Why do we need Junk Dimension | Data Warehouse Concepts
6:15
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 2,7 МЛН
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 30 МЛН
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 35 МЛН
7 Different Types of Dimensions in a Data Warehouse!
8:56
Abhilash Marichi
Рет қаралды 36 М.
What is ETL | What is Data Warehouse | OLTP vs OLAP
8:07
codebasics
Рет қаралды 422 М.
Dimensional Modeling
53:54
Bryan Cafferky
Рет қаралды 170 М.
Power BI Desktop And Role-Playing Dimensions: Can you do it?
8:28
Guy in a Cube
Рет қаралды 42 М.
Fact table and Dimension table | Data Warehousing
7:56
Kishan Mashru
Рет қаралды 75 М.
SCD: Slowly changing dimensions explained with real examples
25:43
What are Junk dimensions?
10:46
Tech Coach
Рет қаралды 21 М.
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 2,7 МЛН