Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have one table with one column called stores:
Stores
A
B
C
And I have another table called channels:
Channels
1
2
3
I need to create a new table with two columns "Stores" and "Channels" like this in Power Query
Stores Channels
A 1
A 2
A 3
B 1
B 2
B 3
C 1
C 2
C 3
For each store, there will be 3 channels.
Is there any way to achieve this in Power Query? Thank you!
Solved! Go to Solution.
Import both tables into the Power Query. Select Stores table and add Custom Column Channels and Enter formula = #"Channels"[Channels]. Expand the Channels column by selecting Expand to New Rows. And you will achive what you need as below.
Import both tables into the Power Query. Select Stores table and add Custom Column Channels and Enter formula = #"Channels"[Channels]. Expand the Channels column by selecting Expand to New Rows. And you will achive what you need as below.
Thank you very much. It works!
https://learn.microsoft.com/en-us/power-query/add-custom-column
Have a read of this then try my suggestion.
Work your way through it and I will help if you have specific problems
Thank you! I don't quite get what you meant. Would it be possible to add a few more detailed steps like screenshots etc?
Add a custom column to table1 with the name of the other table and column , for example,
Table2[theColumn]
then expand to new rows
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |