Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DAXRichArd
Resolver I
Resolver I

Inquiry: De-normalize data to create dimension tables: what are your best practice recommendations?

Software: Microsoft Power BI - Power Query Editor

Hello,

I'm looking for recommendations on best practice to de-normalize data in Power Query Editor.

  • Desired outcome: create dimension tables to use in star schema data modeling.
  • Desired outcome 2: use best practice that places least demand on computer resources (RAM, processor...).

Techniques I've used:

  • 1   If the list of distinct attributes are few and I know the list won't change (deletions, additions),
    • I create a table and simply type the list.
      • HOME tab > Enter Data

DAXRichArd_1-1673977323626.png

  • 2   If the list is long I
    • mouse left click the column
    • select Add as New Query
    • select Remove Duplicates
    • select Convert To Table

DAXRichArd_2-1673977744405.png

DAXRichArd_3-1673977810421.png

DAXRichArd_4-1673977880411.png

  • 3   Technique found on Youtube Channel Pragmatic Works.
  • https://www.youtube.com/watch?v=MrLnibFTtbA , starts at minute 00:41
  • Instructor duplicates the fact table several times.
    • From each duplicate table, targets specific columns to use as dimension table attributes.
      • Deletes columns that won't be used.
      • Removes duplicates
      • Repeats process until all desired dimension tables created.

END TECHNIQUE DESCRIPTIONS

Closing

I am a novice at data modeling.

  • I am realtively well versed at Power Query Editor using the menu features (tabs).
  • However I do not know the M.Query functional language.

Please describe your techinque and it's advantages.

Thanks in advance for your mentoring and guidance.

DAXRichard

1 REPLY 1
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @DAXRichArd - they are all good approaches. Other options to consider are:

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors