Forum Discussion

pshetty05's avatar
pshetty05
Helper I
6 years ago

Create a new table through sql query using the existing table that was loaded via excelsheet

Hello,

 

I have table A that has 2 values - Email address & Client Status which has been created using an excelsheet.

 

Now, I want to create another table that uses the values from this table to create another table B which will now have few more columns like Title, Role etc. along with Email address & Client Status using power query.

Earlier I used to create a temp table in MS SQL for table A and would use it in the Query Editor to create table B but when I already have the data of Table A in Power BI, I want to eradicate use of MS SQL.

My query is as follows - 

select Email Address, Title, Role, Client Status from Table A, Table B where A.email = B.email

 

How do I use Table A in the power query?

8 Replies