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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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