Forum Discussion
SELECTCOLUMNS or Table.SelectColumns ?
- 8 years ago
Hi iamprajot,
Yes, you can use DAX functions like SUMMARIZE() or ADDCOLUMNS() or ( SELECTCOLUMNS(), UNION() ) to create a custom table from exsiting tables.
Regards,
Jimmy Tao
Hi iamprajot,
Using M code can be faster that DAX, if your data in these column is large, I recommend you to use M code because M code is more efficient than DAX in data model transforming.
Regards,
Jimmy Tao
- iamprajot8 years agoResponsive Residentthanks but that is a different dimension which I am not planning to explore, right now just gonna practise DAX as learning M Code is gonna consume time and also I need to add calculated columns, retrieving values from another few tables which needs hands on on M Code.
So is there any other way to do this, create a new table containing normal columns and complex calculated columns using columns from existing few tables.- v-yuta-msft8 years agoCommunity Support
Hi iamprajot,
Yes, you can use DAX functions like SUMMARIZE() or ADDCOLUMNS() or ( SELECTCOLUMNS(), UNION() ) to create a custom table from exsiting tables.
Regards,
Jimmy Tao
- DAXRichArd7 years agoResolver I
Hi Jimmy Tao,
Great article. Big thanks for your post.
When creating a table using your guidance above, is there a way to exclue brining in blanks?I've successfully used the function string in the attached image and it works. But if the column I reference has blanks, PowerBI won't create the table.
I'm hoping you could provide a solution where I can exclude blanks and successfully create a table.
I've tried NOT BLANK(), NOT IS BLANK, and tried using a boolean arguement (IF), but I can't figure it out.Thx
DAX Richard