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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Add calculated column as Table

Hi All,

 

I have created a calculated column (Column1) in Table1 and want to create a new table (Table2) using Column1.

 

Can some one please suggest how we can achieve this.

 

Thank you

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Anonymous ,

 

If you create the new table using the following syntax:

 

New table =

SELECTCOLUMNS(
   FirstTable,
   "Column", FirstTable[CalculatedColumn])

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

4 REPLIES 4
MFelix
Super User
Super User

Hi @Anonymous ,

 

If you create the new table using the following syntax:

 

New table =

SELECTCOLUMNS(
   FirstTable,
   "Column", FirstTable[CalculatedColumn])

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Thank you @MFelix  your solution worked but I see duplicates in the data so I tried using the below syntax

 

New Table =

Distinct(FirstTable[CalculatedColumn])

 

Don't forget to mark the correct answer so it can help others.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Pragati11
Super User
Super User

Hi @Anonymous ,

 

You need to add more details to your question to get answered. Refer following link:

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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