The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
i have been working in power bi for a while and got into the habit of keeping numerical information that is created using a group by seperate from my fact table and creating a relationship between both tables in pbi desktop. But as I have been gaining experience starting to realise this may not be the best solution instead it is best to do joins to the fact tables (using sql) and bring them in as one fact table. Dimensions should be kept for anything that can be called a category or a date table.
Can someone explain further
Solved! Go to Solution.
It depends on the nature of your facts. For example if you have Orders and Shipments then you could theoretically keep them in the same fact table. But if you have Sales and Quota then you cannot combine these facts, they have to stay separate. And there should be NO link between the fact tables !!!
Another thing to consider is the size and growth characteristics of your fact tables. Some will be slow growing, others will keep growing massively every day and you will want to think about partitions and aggregations etc.
Having numerical columns to link between facts and dimensions is considered good practice as it helps to improve the join performance.
Think about the nature of your data. Dimensions are something you filter by. Facts are something you count/sum up.
Don't join tables just because you can. Your data model needs to reflect the business problem you are trying to solve for.
It depends on the nature of your facts. For example if you have Orders and Shipments then you could theoretically keep them in the same fact table. But if you have Sales and Quota then you cannot combine these facts, they have to stay separate. And there should be NO link between the fact tables !!!
Another thing to consider is the size and growth characteristics of your fact tables. Some will be slow growing, others will keep growing massively every day and you will want to think about partitions and aggregations etc.
Having numerical columns to link between facts and dimensions is considered good practice as it helps to improve the join performance.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
110 | |
80 | |
77 | |
46 | |
39 |
User | Count |
---|---|
141 | |
110 | |
64 | |
64 | |
53 |