cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nick001
Frequent Visitor

Transfer a column of a table into a list

Hi, everyone,

 

I am looking for a solution to the following problem: How can I convert a column of a table into a list without destroying the base table? The base table should continue to exist in the data model. Then i would like to create another new table from the list 

 

 

 

Many Thanks Nick

1 ACCEPTED SOLUTION
watkinnc
Solution Sage
Solution Sage

Let's say your base table is named "BaseTable". You can add a blank query, and then in the formula bar, type:

 

= BaseTable[ColumnName]

That gives you the list. You can wrap it in Table.Distinct to get unique values. If you want it as a one column table, it's:

 

BaseTable[[ColumnName]]

--Nate


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!

View solution in original post

2 REPLIES 2
Nick001
Frequent Visitor

wow, thank you very much 🙂 I've tried so much and then it's so easy - thank you

 

Nick

watkinnc
Solution Sage
Solution Sage

Let's say your base table is named "BaseTable". You can add a blank query, and then in the formula bar, type:

 

= BaseTable[ColumnName]

That gives you the list. You can wrap it in Table.Distinct to get unique values. If you want it as a one column table, it's:

 

BaseTable[[ColumnName]]

--Nate


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!

View solution in original post

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Kudoed Authors