Data Modeling (Star Schema 🌟) in Power BI - Creating Dimension Tables

In this video we discuss the definition of a data model and focus our exploration around the Star Schema. We break down the specifics of what makes a Star Schema model and take a closer look at Fact tables and Dimension tables. At the end we walk through an example of creating a dimension table to help model efficiency!
If you enjoy this video or any of my other videos and are interested in formal training on DAX, Power BI, Power Apps, Azure, or other Microsoft products you can use my code "Manuel30" to get an extra of 30% off at check out when purchasing our On-Demand Learning classes from pragmaticworks.com/pricing/ #ManuelQuintana
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - -
Next step on your journey:
👉 On-Demand Learning - Start With The FREE Community Plan: tinyurl.com/2ujujsb5
🔗Pragmatic Works On-Demand Learning Packages: pragmaticworks.com/pricing/
🔗Pragmatic Works Boot Camps: pragmaticworks.com/boot-camps/
🔗Pragmatic Works Hackathons: pragmaticworks.com/private-tr...
🔗Pragmatic Works Virtual Mentoring: pragmaticworks.com/virtual-me...
🔗Pragmatic Works Enterprise Private Training: pragmaticworks.com/private-tr...
🔗Pragmatic Works Blog: blog.pragmaticworks.com/

Let's connect:
✔️Twitter: / pragmaticworks
✔️Facebook: / pragmaticworks
✔️Instagram: / pragmatic.works
✔️LinkedIn: / pragmaticworks
✔️KZread: / pragmaticworks
Pragmatic Works
7175 Hwy 17, Suite 2 Fleming Island, FL 32003
Phone: (904) 638-5743
Email: training@pragmaticworks.com
~-~~-~~~-~~-~
Please watch: "(275) Free Pragmatic Works Power Apps Component Library "
• Free Power Apps Compon...
~-~~-~~~-~~-~

Пікірлер: 178

  • @awarrentfa
    @awarrentfa Жыл бұрын

    I have watched so many videos about the star schema concept, but this is the very first video I've seen to actually walk me through how to actually normalize a denormalized table of data. THANK YOU, Manuel. I feel like I finally get it now!

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Awesome, thank you!

  • @glengarner4566

    @glengarner4566

    Жыл бұрын

    Agreed, this was a great video to share with my new Power BI expert-in-training. It's always been the one concept that I feel like is criminally underexplained, either ignoring it entirely, talking too high-level, or assuming you already know how to do it. And other guides use DAX which... is not what you're supposed to do when you're building the starting model. Useful to visualizing the idea, but not for practically doing it. This Power Query-based video is perfect.

  • @rokaskrisciunas6015
    @rokaskrisciunas60156 күн бұрын

    perfectly explained. Finally understood the concept

  • @ifyluv7402
    @ifyluv7402 Жыл бұрын

    I was confused because the basic star schema tutorials weren't giving me what I want but this video just solved my problem. Thank you

  • @Ryiah87
    @Ryiah872 жыл бұрын

    First time I've seen query merging. It's really efficient. Thanks!

  • @ethanlecuona5557
    @ethanlecuona55572 жыл бұрын

    You're really good at explaining! Thank you for being so awesome!

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    We appreciate that. Thanks for watching!

  • @yutianwanggg
    @yutianwanggg Жыл бұрын

    This is extremely helpful! Thank you so much for making such a good interpretation of how data schema works in PowerBI!

  • @devun1248
    @devun12482 жыл бұрын

    Short, Clear, Precise. You are awesome! Keep it up

  • @kkpw12
    @kkpw125 ай бұрын

    this is I love. Actual example and not just slide show of pictures and theory.

  • @nazirkulovbotir6491
    @nazirkulovbotir6491 Жыл бұрын

    You are a lifesaver. This is essential for building DWH from scratch. Thank you.

  • @mauriceprice4211
    @mauriceprice4211 Жыл бұрын

    Hey Manuel, thanks for making a mystery into something that I can use today! If only all tutorials were this straight forward to understand. Nice work!

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Thank you!

  • @nolann2763
    @nolann27632 жыл бұрын

    You are a great teacher. Taking the complex and making it simple is a great trait to have.

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad you enjoyed!

  • @akshaykalamkar304
    @akshaykalamkar3042 жыл бұрын

    OMG, this is the topic I am searching from 10 days. very well expalained

  • @wuajaz91
    @wuajaz91 Жыл бұрын

    if you want to understand what is star schema and how to use id in pbi, this video is for your you.

  • @yolanizitumane4993
    @yolanizitumane49932 жыл бұрын

    One of the best PowerBi videos on KZread. Thanks Sir.

  • @carltonpatterson5539
    @carltonpatterson55392 жыл бұрын

    Absolutely excellent talk ... truly well delivered. I love the passion

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Much appreciated!

  • @Avenger24601
    @Avenger246012 жыл бұрын

    Manuel, this was so useful. Thank you! I like how you present.

  • @joseluisbeltramone599
    @joseluisbeltramone5992 жыл бұрын

    Awesome video, Manuel. Thank you very much for sharing your knowledge!

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad you enjoyed!

  • @jerrychen8715
    @jerrychen8715 Жыл бұрын

    That's amazing video that getting me thru the basic of the data schema, short but very precise.

  • @naojamg
    @naojamg2 жыл бұрын

    this video is a masterpiece!! thank you very much 🤓

  • @mosesakwagiobe4438
    @mosesakwagiobe4438 Жыл бұрын

    great video, well explained and straight to the point.

  • @eligorniak9699
    @eligorniak969911 ай бұрын

    Amazing explanation! Thank you!

  • @robertomarra2431
    @robertomarra24319 ай бұрын

    Amazing job Manuel, really appreciate it

  • @tahirhanif9669
    @tahirhanif96699 ай бұрын

    Excellent presentation, thank you

  • @jessicaperez3746
    @jessicaperez3746 Жыл бұрын

    This is amazing, was able to apply immediately and get a better more efficient product. Thanks!

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Glad it was helpful!

  • @BrettGroneman
    @BrettGroneman2 жыл бұрын

    Fantastic job teaching this. Super helpful for me trying to figure out this tool.

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad you enjoyed!

  • @stevieboyProductions
    @stevieboyProductions Жыл бұрын

    Great video, I've definitely learned something today. Thank you for this tutorial, I'll be looking to implement this going forward

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Glad you enjoyed!

  • @olusolaokuboyejo7291
    @olusolaokuboyejo7291 Жыл бұрын

    Thanks so much for making this topic easy to understand.

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Glad it was helpful!

  • @shoboyjr
    @shoboyjr2 ай бұрын

    This is really good! Thank you very much!

  • @4nyone
    @4nyone Жыл бұрын

    Really nicely explained, this is going to help me clean up my messy models for sure.

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Great to hear!

  • @TraceyOsbornHR
    @TraceyOsbornHR2 жыл бұрын

    Excellent information!! Thank you!!!

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad you enjoyed :)

  • @mantasgustas1352
    @mantasgustas1352 Жыл бұрын

    one of the best one I seen so far

  • @kidssongs6542
    @kidssongs65422 жыл бұрын

    Thank you so much!, truly helpful!

  • @BikerDad40
    @BikerDad402 жыл бұрын

    Excellent video, explained very well Start schema and normalizing table, very knowledgeable video. Great job!

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Than kyou for your kind words! Glad you enjoyed it.

  • @marceljohnson5783
    @marceljohnson5783Ай бұрын

    Simple effective, thank you so much.

  • @mirelatamaokigiraldini9989
    @mirelatamaokigiraldini9989 Жыл бұрын

    Excellent video! Thank you so much for this Manuel, just subscribed because of this video. Thanks a lot!

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Glad it was helpful!

  • @fennecfennec5234
    @fennecfennec52342 жыл бұрын

    brilliant demonstration Thank you so much

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad you enjoyed it!

  • @GiaiPhapXP
    @GiaiPhapXP2 жыл бұрын

    Great! Thanks.

  • @EllaXu-ge7hf
    @EllaXu-ge7hfАй бұрын

    Thank you so much for this Dim in PowerBI

  • @ae7786
    @ae7786 Жыл бұрын

    Great video Manual. This information is going to help me tremendously! 😀

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Glad it was helpful!

  • @RenataOliveira-dw1vl
    @RenataOliveira-dw1vl2 жыл бұрын

    Very helpful! Thanks a lot.

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad it was helpful!

  • @adrianfuhrer5832
    @adrianfuhrer58327 ай бұрын

    Perfect! Thanks!

  • @richardgavatin2592
    @richardgavatin2592 Жыл бұрын

    Excellent - thanks!

  • @bensix6496
    @bensix64962 жыл бұрын

    Man that was a very good video, very visual and nicely explained not too much info so I could relate and think about my own problematics and how it ties at the same time.. you have a new subscriber!!

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad to hear it!

  • @muftau7
    @muftau72 жыл бұрын

    Very good explanation

  • @ahsanali50
    @ahsanali50 Жыл бұрын

    Awesome Work Sir !! Thank you for the value provided . Subscribed !! ☺️

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Thank you!

  • @advent7324
    @advent73242 жыл бұрын

    Great Video Manuel, and logic really well explained. :)

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad you liked it!

  • @rahulrd2713
    @rahulrd27132 жыл бұрын

    very clear and informative. thanks

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad you found this helpful!

  • @lilpandacub
    @lilpandacub2 жыл бұрын

    Learned so much

  • @parastoomousavi8847
    @parastoomousavi8847 Жыл бұрын

    perfect. thanks

  • @davidmanoraj6274
    @davidmanoraj6274 Жыл бұрын

    Awesome 🎉 thanks

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    You’re welcome 😊

  • @iamthemoss
    @iamthemoss11 ай бұрын

    Good job, great explanation.

  • @AbadllahDeBourgogne
    @AbadllahDeBourgogne Жыл бұрын

    Great tutotial, very instructive.

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Glad it was helpful!

  • @iamtrapped1
    @iamtrapped12 жыл бұрын

    Great video

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Thank you! Glad you liked it.

  • @rachelrdh5671
    @rachelrdh56717 ай бұрын

    AMAZING tutorial

  • @baneledludlu7983
    @baneledludlu7983 Жыл бұрын

    Thank you so much this is helpful

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    You're so welcome!

  • @chandrasekhar1883
    @chandrasekhar18832 жыл бұрын

    Powerful explanation.💯

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Thanks for watching!

  • @ItsWithinYou
    @ItsWithinYou2 жыл бұрын

    Awesome!

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad you enjoyed!

  • @abduvosidmalikov
    @abduvosidmalikov Жыл бұрын

    Thanks!

  • @shivappas8432
    @shivappas8432 Жыл бұрын

    Thank You

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    You're welcome!

  • @Cebuanoontwowheels
    @Cebuanoontwowheels2 жыл бұрын

    Thank you very much sir!!!

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Most welcome!

  • @lpdowdell
    @lpdowdell4 ай бұрын

    I love Manuel!

  • @paulobuenobruno3423
    @paulobuenobruno34237 ай бұрын

    Great video, thanks!

  • @PragmaticWorks

    @PragmaticWorks

    7 ай бұрын

    Glad you liked it!

  • @Adin7785
    @Adin77852 жыл бұрын

    Awesome! Great job explaining the value of normalized data.

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad you enjoyed it!

  • @barryjorden1145
    @barryjorden11452 жыл бұрын

    Excellent video!

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad you enjoyed!

  • @ramielhag2284
    @ramielhag2284 Жыл бұрын

    Perfect!! Thanks

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Glad it helped!

  • @shawnebrown
    @shawnebrown2 жыл бұрын

    Fantastic video. Thank you. Would be very interested in knowing what you were going to do with the Geo Dim.

  • @mirdhapuneet
    @mirdhapuneet2 жыл бұрын

    superb

  • @Manojprapagar
    @Manojprapagar Жыл бұрын

    Amazing video

  • @jayong2370
    @jayong2370 Жыл бұрын

    That was great. Thank you.

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Glad you enjoyed it!

  • @jilalumustefa2276
    @jilalumustefa2276 Жыл бұрын

    no comment only appreciated 100% for great JOB

  • @kevdo6333
    @kevdo63339 ай бұрын

    Thanks dear

  • @fadwa2413
    @fadwa24132 жыл бұрын

    perfect!! Thanks a lot Keep going Please

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    We will!

  • @waltherziemerink
    @waltherziemerink2 ай бұрын

    Great video, however this aligns more with a traditional multidimensional model (snowflake). PowerBi is optimized to work with a tabular model which is more denormalized in nature. I think our response to introduce snowflake stems more from our bias towards DB design than dimensional modeling. Both will work though and you provided a great lecture

  • @simonnalleey7547
    @simonnalleey75472 жыл бұрын

    Love your videos, informative and entertaining. Question though: if a new category were added to the data, wouldn't that potentially break the indexing that appears to be tied to the ascending sort step? And potentially shift all the index keys and royally mess up the data model? I guess I am unsure how the incremental index step works.

  • @RedCloudServices
    @RedCloudServices4 ай бұрын

    I wish Power BI could integrate with a GraphQL spec or something like it. Where the query is the model and no need to manage relationships. However love your video and thank you!

  • @aziiserak8863
    @aziiserak88632 жыл бұрын

    well explained thx

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad you found it helpful :)

  • @anitachacko8006
    @anitachacko80069 ай бұрын

    Thank u❤

  • @mercydabbs3330
    @mercydabbs33302 жыл бұрын

    Thank you!!!!

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    You're welcome!

  • @mercydabbs3330

    @mercydabbs3330

    2 жыл бұрын

    @@PragmaticWorks I have a challenge of identifying the grain of a dataset, please where can I find your video on this?

  • @francisjohn6638
    @francisjohn66382 жыл бұрын

    It's awesome

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Thank you!!

  • @stevanmomcilovic4469
    @stevanmomcilovic4469 Жыл бұрын

    Good explanation.

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Glad it was helpful!

  • @oscarrosalescorzo
    @oscarrosalescorzo2 жыл бұрын

    Excelent

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad you enjoyed :)

  • @xMastJedi
    @xMastJedi2 жыл бұрын

    DIM tables. MOST Important part of data in model.

  • @juantray
    @juantray Жыл бұрын

    Good stuff, bro! 🤌🏽

  • @PragmaticWorks

    @PragmaticWorks

    Жыл бұрын

    Appreciate it!!

  • @babulthegreat4834
    @babulthegreat4834 Жыл бұрын

    This was extremely helpful! Is this how I would tie in a date table, as well? Merge with the date table then delete the original columns? Thanks!

  • @gerryboie
    @gerryboie Жыл бұрын

    Hey Manuel, thank you for making this video. One thing I would like to ask, if the star schema had been modelled in the database but the surrogate keys are not numeric as you would normally expect, can this be utilised directly in PowerBI or do we need to create unique IDs within PowerBI? Are there any performance issues using non-numeric surrogate keys?

  • @deniseortiz8567
    @deniseortiz85672 жыл бұрын

    Hi thanks for the video! Great summary! At 12:09 for Denormalized Tables it lists "Best for increasing the spee of data search and analysis" on the slide but I interepret from what you are saying, the opposite. Can you exlplain the statement on slide a bit more please? Thank you!

  • @user-kr9wv4ex3g
    @user-kr9wv4ex3g7 ай бұрын

    Thanks for sharing the video. I was able to create a star schema with my data by following along. Do you have a video where you show how to use the star schema tables and create visuals with them? I am trying to recreate visuals I had made before star schema vs with star schema and my visuals are coming out very differently. Bar charts with data in x and y axis along with the legend. Thanks!

  • @janwillemvanholst
    @janwillemvanholst2 жыл бұрын

    In my view the most important argument for modelling (quoting Ferrari/Russo): 'if you fix the model, the formula becomes easy to author and understand'

  • @vsone9565
    @vsone95652 жыл бұрын

    Great video!! Incredibly insightful and very practical explanation on how to create dimension tables. I'm trying to replicate the same but in this case it's requesting me to change from directquery to Import - is it expected to work from this mode?

  • @manuelquintana2225

    @manuelquintana2225

    2 жыл бұрын

    Yes, as working with a Direct Query connection does have limitations on what you can do within the power query editor. As soon as you go past those limitation you get the message that if you would like to continue you must switch to import. This same conversation we have in this video is what IT would have with the upstream data source and quite often this should be implemented at the source system when possible. Here we are just showing that it is possible

  • @norpriest521
    @norpriest5212 жыл бұрын

    Thank you. Do you have video tutorial for a little more complex dimensional modeling where there are more than multiple fact tables and multiple dim tables?

  • @mubarbianalytics

    @mubarbianalytics

    Жыл бұрын

    This is what I'm facing through now, please can you help with this tutorial?

  • @ashutoshgadgil8407
    @ashutoshgadgil840711 ай бұрын

    Hello, for anyone who has worked on data modelling; Can we apply similar steps when the scheduled update is switched on and all of Dimension tables needs to be created in in Business Client Project scenario, or Should we inform data engineering team to create these tables in backend?

  • @tMub365
    @tMub3652 жыл бұрын

    So easy on the ears

  • @PragmaticWorks

    @PragmaticWorks

    2 жыл бұрын

    Glad to hear it!

  • @dizzyharris2658
    @dizzyharris26582 жыл бұрын

    Scenario Question: I'm pulling in data from a ITSM solution in which they use a 20 character alpha-numeric key for each validated attribute across all their tables. In most cases the Key has more characters than the text attribute. After watching this video, is it safe to say that I should just create my own keys, even though the fact and dim tables exist?

  • @sunenielsen2686
    @sunenielsen26866 ай бұрын

    Thank you! Very helpful video when beginning my Power BI adventure and want to apply good Power BI data models. However, one thing keeps me awake at night - - but I hope there is no reason for that other than my lack of knowledge - - well, the thing is, now that I have done all the normalisation in Power BI, data is organised very different from my starting point - - so will Power BI still be able to recognize the original data set from Excel that I will continue to use as a datasource, and what if I did make changes in my Excel datasourse - how should I apply these changes in Power BI If I eg added an extra column in my Excel model???

  • @user-ip3fr3lp4r
    @user-ip3fr3lp4r Жыл бұрын

    Just to clarify: the redundancy in denormalized tables is not a problem in columnar storages (most of modern DWs)

  • @ankitacs7
    @ankitacs72 жыл бұрын

    Thanks for explaining! have a question, if a new category segment is added in the productdim table at the database level then how that will be reflected in the categorydim table which is created in power bi ?

  • @excelrati

    @excelrati

    2 жыл бұрын

    In this video, dimensions are created dynamically in each refresh based on the original sales table of sales. So, if the new category shows up in any sale, the new category will be picked up by the query that creates the dimension of categories.

  • @patrickbcox
    @patrickbcox2 жыл бұрын

    Thanks for sharing. I enjoyed your video. I do have a question. Is normalization really that important for a dimension table that will generally have relatively fewer record than your fact tables? And then I thought that adding the filter layers in a snowflake vs star schema can have a negative impact on model performance. What are your thoughts on this? Thanks again.

  • @dawidgrzeskow987

    @dawidgrzeskow987

    2 жыл бұрын

    Have in mind that you are on reporting side of the process, your goal is to provide easy to use and access report, do this changes affect the performence? Yes, they are, so if you see that your transformation is to costly you have to change your approach or push these changes on lower level (Data Warehouse). On the other hand what is the cost of looking just for performence? Well, have you ever had task to change huge report with not clear data model? If you didn't I'll tell you it's hell.

  • @heobingo
    @heobingo10 ай бұрын

    What if more data need to be added into fact tables after creating index column in dimension table, merging and cleaning the fact table, how can some one remember all of those index key for each combination?

  • @niranjanmakkuva4639
    @niranjanmakkuva463910 ай бұрын

    How can i handle Upstream Schema changes cascading into PBI data model and report

  • @mattmatt245
    @mattmatt2452 жыл бұрын

    Could you give some examples of sql queries, which would be difficult to write against transnational (relational) database but are fairly easy with star schema ?

  • @manuelquintana2225

    @manuelquintana2225

    2 жыл бұрын

    Hello Matt, In this video we took the approach and idea of starting with a de-normalized flattened out table and seeing the benefits of moving to a star schema by normalizing the data into facts and dimensions. When talking about pulling data from OLTP DB you generally need to go the other direction and go through a process of de-normalization because generally you have multiple tables that contain attributes for a table that would ultimately be your dimension (e.g. various different tables that hold different attributes for customers that are important). Because you have various table that need to be brought together the common item which can degrade performance is having more and more join statements needed, this is how the SQL can become more complicated. Yours is a rather large question but hopefully my short answer helps

  • @mattmatt245

    @mattmatt245

    2 жыл бұрын

    @@manuelquintana2225 Do you know where I can find some examples of how it's done ?