Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I am new to power BI. Sorry if my question may be trivial.
I have data imported from azure cloud which contains about 1 000 lignes.
Id_cloud | score |
1 | 0.8 |
2 | 0.3 |
I also have data from Oracle database that contains about 100 000 000 lignes.
Id_oracle | name | phone | |
1 | name1 | name1@mail.com | 0123456 |
2 | name2 | name2@mail.com | 0123457 |
3 | name3 | name3@mail.com | 0123458 |
I am trying to join the two tables based on ID in power BI. However, using the import query to import 100M lignes from oracle is too heavy and taking too much time, since we want only 1 000 data from it. And I could not find a way for the selected query to only include the ID in the external table ( cloud table).
Is there any way to select only selected ID from oracle database that much the ID in the cloud table already imported.
Many thanks in advance for your answer.
Load both Data Sources:
Filter the Oracle Data:
Merge the Tables:
After filtering the Oracle data, you can merge or join the two tables in Power Query using the "Merge Queries" option. Here's how:
a. Select your Azure Cloud table in the Power Query window.
b. In the "Home" tab, click on "Merge Queries."
c. Choose the Oracle data source as the second table to merge.
d. Specify the join condition, which is matching the "ID_cloud" column from the Azure Cloud table with the filtered "ID" column from the Oracle table.
e. Select the type of join you want (e.g., Inner Join, Left Outer Join, etc.).
f. Click "OK" to perform the merge.
This will create a new table in Power Query that combines data from both sources based on the specified join condition.
Expand the Merged Table:
Load the Merged Data:
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
Thanks @mh2587 for your efforts and detailed answer. I just have a concern with the 2nd step: "Filter the Oracle Data" . It indicates the use of the "Filter Rows" transformation, does it means I should select manually all the required ID from Cloud table and filter the Oracle table ?
I think first merge it and filter the data if any blanks occure
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
Thank you @mh2587, in fact to perform the merge, the data should be uploaded first and that is the problem, it is too heavy to upload 100M lignes and then perform the necessary treatement. Is there a way to upload just the necessary lignes ( using SQL query while importing for example ) ?