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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Dunner2020
Post Prodigy
Post Prodigy

Creating dim table in Query editor

Hi there,

 

I have one big table (let's called fact table) in the data flow model. The table is about the accident information. One of the columns in the table is about the location of the accident. I want to create a location column of the fact table as a separate dimension table and then connects with the fact table. Is it possible to create a dimension table in power query editor from the existing fact table? 

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Dunner2020 , In power query Refer my video

https://www.youtube.com/watch?v=kU2M1LmNvNo

 

Right click Add as new Query -> Convert to table and Delete suplicate

 

DAX - https://www.youtube.com/watch?v=vYxWyt0qNUQ

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
PC2790
Community Champion
Community Champion

In Power query editor, right click on the main table and create a reference table. Then delete the unrequired columns in the reference table keeping the required location column.

Now remove duplicates by right clicking the column which will give you a look up column for Location.

Further the relationship can be created accordingly.

You can also refer this for step by step implementation.

amitchandak
Super User
Super User

@Dunner2020 , In power query Refer my video

https://www.youtube.com/watch?v=kU2M1LmNvNo

 

Right click Add as new Query -> Convert to table and Delete suplicate

 

DAX - https://www.youtube.com/watch?v=vYxWyt0qNUQ

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.