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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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