This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Hi Team,
I am new to Power BI. Is there a way to create a new table from the exsisting table using SQL Query in Power BI. For example I have one table with two columns like "DeptName" and "EmployeeName". Now using this table I need to create a New Table where the new table should have data related to only "HR" Department using SQL query.
Regards,
Mohanraj
Solved! Go to Solution.
You can do it in two ways.
1:- Open Edit Queries --> right click on table --> Duplicate --> FIlter only HR Department from DeptName column
2:- Use SQL Query as below and load the new table
select * from Table where DeptName = 'HR'
You can do it in two ways.
1:- Open Edit Queries --> right click on table --> Duplicate --> FIlter only HR Department from DeptName column
2:- Use SQL Query as below and load the new table
select * from Table where DeptName = 'HR'
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 14 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 47 | |
| 39 | |
| 24 | |
| 22 | |
| 20 |