Data modeling best practices - Part 1 - in Power BI and Analysis Services

Data modeling best practices - Part 1 - in Power BI and Analysis Services

Guy in a Cube

4 года назад

418,676 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@lisbongraffiti242
@lisbongraffiti242 - 29.08.2023 00:55

Hi everyone!

Maybe somebody here could help me with this issue:

I have a FactTable with CustomerID and ProductID as ForeignKeys.

The CustomerID has also some columns with information about territory such as (City, Region, Country).

I tried to combine those columns with the Fact Table, create the new Territory Table related to this columns and then delete the columns from the fact table and the Products Table with Power Query, butn if I delete any of this columns, all their fields become null.

As the columns should not repeat in a Star Schema, is there any way that I can separate those columns into a different dimension table and add this new Territory Dimension with his specific Territory Key inserted into the original Fact Table?

Thank you very much!

Ответить
@Wzxxx
@Wzxxx - 06.06.2023 22:34

But what if I have just a wide tables in DB????

Ответить
@bongrobs
@bongrobs - 11.03.2023 22:18

awesome tips patrick, love it!

Ответить
@CrazySw3de
@CrazySw3de - 07.03.2023 01:27

Would love to see more videos like this that I can share with my team.

In particular I've been running into issues where we have a general policy that all transformations/data modeling are to be done on the back end, with I think the intention being that the logic can be accessed by other sources if needed and not just locked inside Power BI.

At the same time though, it just seems like this approach cripples what Power BI is capable of and leads to so many other issues. Especially when I see things like essentially multiple flat-file like views being pulled into a model, with relationships just being created in a really ambiguous way that has caused all kinds of problems that I inevitably end up needing to fix by creating a dimensional model.

Would love to see a video going more in depth on concepts like when is it right to do a calculated column in SQL vs. having a measure in DAX, or elaborating on why its better to have a flexible dimensional model instead of applying all your filtering logic etc. to a view and then using that to drive a single report page.

I've created really clean, robust dimensional models in the past so this sort of thing is infuriating to see, but at the same time I can't seem to break this misconception with people that creating a dimensional model takes too long compared to making a SQL view, or that having a pre-joined view in SQL isn't really a good replacement for a solid data model.

Ответить
@rashidtagelsirahmed9139
@rashidtagelsirahmed9139 - 12.02.2023 18:23

How to create report short cut in iPhone

Ответить
@GordonShamway1984
@GordonShamway1984 - 17.01.2023 10:02

I make a "model" for every fact table to separate it visually

Ответить
@mantistoboggan3384
@mantistoboggan3384 - 07.12.2022 19:44

Great video! Thank you for the very easy to digest examples

Ответить
@haniomar1838
@haniomar1838 - 30.11.2022 16:04

Great Mr. Will Smith

Ответить
@RM-xu3dv
@RM-xu3dv - 06.10.2022 11:35

I thought it's Will Smith 😀 good info 👍

Ответить
@MrTC-rv3jo
@MrTC-rv3jo - 18.09.2022 23:39

Hi Patrick, Great Video! But where is part 2 of this video as the title suggests? Thanks!

Ответить
@karihosny9420
@karihosny9420 - 13.09.2022 18:33

How many Columns in a Table you would consider it being a wide table?

Ответить
@lucernec3101
@lucernec3101 - 14.07.2022 00:23

Can you tell me if we can do Power BI Adhoc Analytics

Ответить
@chanchalarya983
@chanchalarya983 - 07.07.2022 19:07

How can I work with unstructured data, what process should I use to make structure data

Ответить
@antique-bs8bb
@antique-bs8bb - 02.07.2022 22:50

Did a Part 2 ever emerge?
Loved this one

Ответить
@petecardona8203
@petecardona8203 - 16.06.2022 04:06

Always enjoy your videos -thank you 🙏

Ответить
@ehsanellahi5602
@ehsanellahi5602 - 14.06.2022 18:01

Dude, you scared me the way you started this Video.

Ответить
@krzysztofs7231
@krzysztofs7231 - 05.06.2022 18:34

Hey Patrick, wheres part 2? :)

Ответить
@DASARI01
@DASARI01 - 09.05.2022 07:00

awesome

Ответить
@afsanarabeya4417
@afsanarabeya4417 - 05.04.2022 02:48

How can i narrower my table which have a column with comma separated string values for almost like 20?? And i really have to work with those values..
Really need the help. TIA

Ответить
@powerbinoob8535
@powerbinoob8535 - 16.03.2022 17:08

how did you create multiple tables ?

Ответить
@priyanga0
@priyanga0 - 04.03.2022 11:47

Excellent video. Very well explained. Thanks. I would like to see more videos like these around the topid BI. Thanks once again.

Ответить
@jamieelswick8399
@jamieelswick8399 - 04.12.2021 07:19

Cc

Ответить
@syek3470
@syek3470 - 27.11.2021 10:11

You are a Rockstar. Really Informative ,Great Job ..Keep it up and going

Ответить
@matthewtupuola6091
@matthewtupuola6091 - 26.11.2021 06:23

New sub! Awesome vid and down to earth presentation with great humour and knowledge of the topic!

Ответить
@amarkhaliq641
@amarkhaliq641 - 01.11.2021 11:39

I had the same problem last week. Having two fact tables were i couldn’t use a slicer for a field in both tables correctly. The slicer would filter one table but not the other.

Ответить
@KirtC
@KirtC - 19.10.2021 16:50

Thanks for your videos. I always enjoy them. I understand star schemas. Been using them for decades. What causes my hangups are filtering directions in the model. Hopefully you have a video discussing that topic.

Ответить
@felipebizarre
@felipebizarre - 08.10.2021 19:53

NO WAY YOU CAN HAVE TWO DATA TABLE DISPOSITIONSSS, my mind just exploded ugh Patrick you're and angel sent from MS Heaven

Ответить
@koys1000
@koys1000 - 24.09.2021 02:50

Hi- Great video! I really need some help and support with my data modelling! Would be great if we good arrange a call maybe?

Ответить
@ansarwajahat
@ansarwajahat - 21.09.2021 09:33

What will Smith is doing here? 😂

Ответить
@sauravsinha6939
@sauravsinha6939 - 17.09.2021 05:02

why many to many as both has same key so one can be primary and other can be foreign key ?

Ответить
@BigFatOwl
@BigFatOwl - 30.08.2021 11:28

Is there a part 2 for this video? Couldn't find it 😢

Ответить
@rowanschoultz1022
@rowanschoultz1022 - 12.08.2021 01:57

Hi Patrick, my RMS creates a 24-digit primary key. Power BI displays these in scientific notation, which, of course, creates a ton of duplicates. We have tried to change the data type without success. We are forced to make the data type Text, which of course is a pig when it comes to compression. Is there a way we can have Power BI display the full 24-digit primary key?

Ответить
@johngay1981
@johngay1981 - 30.07.2021 10:46

Good content Patrick.

Ответить
@mchopra1989
@mchopra1989 - 13.07.2021 20:56

Awesome tips. Where could I see the part 2?

Ответить
@mohamadsaifjamadar1912
@mohamadsaifjamadar1912 - 09.07.2021 22:02

Thanks Patrick! Awesome advice.. I am great a fan of both of you guys. Just a question that, Is it a good practice to use SQL DB Views instead of DB Tables?

Ответить
@MrSumit658
@MrSumit658 - 08.07.2021 12:16

Hey Will Smith

Ответить
@pranayreddy7303
@pranayreddy7303 - 29.06.2021 08:12

hey patrick pls do a vedio on how to avoid bidirectional relationship and manu to many relationship

Ответить
@brucesheffer
@brucesheffer - 22.06.2021 22:16

not seeing how this relates to analysis services

Ответить
@Alpacastan21m
@Alpacastan21m - 17.06.2021 06:52

Do you guys have a video on how to correctly handle Many to Many?

Ответить
@jellovendigar
@jellovendigar - 15.06.2021 20:17

If Morpheus was an IT guy

Ответить
@cpsbhati
@cpsbhati - 26.05.2021 16:28

Awesome!!! Loved IT:)

Ответить
@gopigadde6752
@gopigadde6752 - 08.05.2021 16:41

Hi Patrick,

Need to understand how you are not getting an inactive relationship when you are dealing with multiple fact tables and multiple conformed tables? Is there any setting that you are making in power query editor etc?

Ответить
@00EagleEye00
@00EagleEye00 - 24.04.2021 02:11

Good day sir.
I would like to ask on how to include a dimension on a hierarchical design (recursion) to a fact?
Kindly set an example and provide explanation if possible.
Thank you.

Ответить
@gkool4655
@gkool4655 - 21.04.2021 14:25

You guys channel are literally saving thousands of people from losing their jobs

Ответить
@hc9987
@hc9987 - 01.04.2021 03:15

Dang...where's the Power Bi 101 video! I just finished a Power BI course and it was great theory and cool to see all the tool can do, but I'm lost at where to begin! I need some basic report building exercises to show me step by step what to do. Any such resources?

Ответить
@kristinamelnichenko5775
@kristinamelnichenko5775 - 12.03.2021 07:21

Thanks for waiting that was a great video

Ответить
@sravankumar1767
@sravankumar1767 - 03.03.2021 18:39

nice Patrick, Here multiple Fact tables are available . How can we handle the reports and dax queries..

Ответить
@hovx
@hovx - 24.02.2021 07:28

Part 2? We need more advanced stuff!

Ответить
@microguard
@microguard - 20.02.2021 13:03

Thanks for the video

Ответить