• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Dimension & Fact Tables - Relationship Creation |Power Query|Excel Forum|My Online Training Hub

You are here: Home / Dimension & Fact Tables - Relationship Creation |Power Query|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower QueryDimension & Fact Tables - Relat…
sp_PrintTopic sp_TopicIcon
Dimension & Fact Tables - Relationship Creation
Avatar
Sid Jones
Member
Members
Level 0
Forum Posts: 11
Member Since:
April 15, 2021
sp_UserOfflineSmall Offline
1
August 3, 2022 - 4:09 am
sp_Permalink sp_Print sp_EditHistory

I have been watching videos and reading up on relationships (one to many/many to many) and have not found any specific information regarding table creations per se'.   Of course, I'm aware of transforming data when bringing data into power query, but I've found in a few instances, I run into relationship issues, and it got me thinking about dimension tables for slicing and dicing my information.   My reporting is not traditional sales information but procurement information for my company (I'm in procurement), and while the information I find is helpful, I haven't seen a lot of videos, etc., slicing and dicing procurement type info. 

My main question is when you have a large data dump (many columns) would I be correct in assuming this would be the fact table?   But within power query, can you transform the data into smaller dimension tables to use as my filtering options?   I'm starting to use Power BI as well, so I'm looking to expand my reporting 

For Example, I have procurement data from column A through AJ.  This contains program information, supplier information, organization information, procurement staff, etc.   

My assumption is that all data would be my fact table, but from that I would have separate dimension tables for Program, Suppliers, Organization, and ProcurementStaff.   Is that thought process, correct?

I would then create relationships "one too many".    Also, this purchasing info has hundreds of thousands of rows.  

 

Screenshot-2022-08-02-104631.pngImage Enlarger

 

 

if you can create your dim tables from the main fact table would it be preferred to create those by pulling that from the source to create or just as easy to transform it?

sp_PlupAttachments Attachments
  • sp_PlupImage Screenshot-2022-08-02-104631.png (158 KB)
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4443
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
August 3, 2022 - 9:52 am
sp_Permalink sp_Print

Hi Sid,

You're on the right track. Although, just because a table has many columns doesn't mean it's always a fact table. Facts are your transactional data, where as dimensions are more static e.g. customer details, supplier details etc.

The classifications in the example file are correct, however, you need to retain a copy the identifier from each dimension table in the fact table so that you can create relationships between the two tables.

Please consider taking my Power Pivot & DAX course to continue your learning.

Mynda

Avatar
Sid Jones
Member
Members
Level 0
Forum Posts: 11
Member Since:
April 15, 2021
sp_UserOfflineSmall Offline
3
August 4, 2022 - 3:55 am
sp_Permalink sp_Print

Thanks, Mynda.   Helpful as always. 

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Philip Treacy, Carlos Ferreira, Chandler Davis, baber Tufail
Guest(s) 7
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
drsven
Annie Witbrod
wahab tunde
Cong Le Duc
Faisal Bashir
Ivica Cvetkovski
Blaine Cox
Shankar Srinivasan
riyepa fdgf
Hannah Cave
Forum Stats:
Groups: 3
Forums: 24
Topics: 6205
Posts: 27211

 

Member Stats:
Guest Posters: 49
Members: 31880
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.