Forum Discussion
Create a new table from columns from existing tables
Hi, I'm trying to get a better look to a report and I'm still learning some of the functions in Power BI so I'm hoping someone can help me out.
I want to create a table which summarizes data from other tables.
So, I have
Item No (Item Table)
Quantity (Production)
Price (Production)
Hours (Job)
Price (Job)
And I want to summarize the totals for each item in a single table. I've been looking at videos and help but I can't find anything which actually tells me here is how you do whatever it is i'm supposed to do here. There is some additional filtering to be done by Posting Date for the Production and Job tables.
3 Replies
- AnonymousNot applicable
Search for UNION.
The UNION function is needed and SELECTCOLUMNS function within it.
The SELECTCOLUMNS function is used in front of every new table to address.
These will get you started. The SELECTCOLUMNS is easy to mess up. patience!
UNION: https://msdn.microsoft.com/en-us/query-bi/dax/union-function-dax
SELECTCOLUMNS: https://msdn.microsoft.com/en-us/query-bi/dax/selectcolumns-function-dax
Cheers!