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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Szymon
New Member

Generating Table as a subset of other table

Hi 

 

I have a table with many many columns (the name of the colums are a,b,c, ... z. 

Now I would like to generate a new table, which includes only a subset of the old table, let's say coulms a,k,r. 

 

May I ask you to help out. 

 

Thx

Szymon

1 ACCEPTED SOLUTION

@Szymon 

have you tried this function?

1.PNG

if this is not what you want, could you pls provide some sample data and expected output?

 





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

Proud to be a Super User!




View solution in original post

5 REPLIES 5
Szymon
New Member

@ryan_mayu Many thanks. Is the any "code" solution? 

@Szymon 

do you mean DAX? pls see the function below

https://docs.microsoft.com/en-us/dax/selectcolumns-function-dax

 





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

Proud to be a Super User!




Yes, I mean DAX. 

But, what I understand, the SELECTCOLUMNS gives a scalar value and not the single columns. 

@Szymon 

have you tried this function?

1.PNG

if this is not what you want, could you pls provide some sample data and expected output?

 





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

Proud to be a Super User!




ryan_mayu
Super User
Super User

@Szymon 

you can try reference a new table, then choose columns

1.PNG

2.png





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

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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