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 nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
good morning everyone
I know that through Power Query we managed to combine two tables, however, I need the opposite way, where I have a fact table of hotel reservations with 34 million rows, and I have a table of changed hotel reservations where I made an EXCEPT query inside the bank SQL, and it only brings me changes of fact.
I would like to remove from the fact table (34 million rows), the reservations based on this table of "modified reservations", (where the reservations had modifications), and combine the fact table with the modified table avoiding me having to upload a fact than 34 million every day.
Is there any way to do this in PowerQuery?
Hi @Anonymous
You can use Left-Anti when merging. After that, remove the merged table column.
Here is a similar thread
https://community.powerbi.com/t5/Desktop/Remove-rows-which-contain-data-in-another-Table/m-p/929743
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
If I'm understanding you correctly, you can use either 'Left Anti' or 'Right Anti' when doing the merge to acheive this.
| Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
Dude, it didn't work for what I need.
I would need the following;
= Table.RemoveMatchingRows(facReservas, {[ID= facChangesReservations[ID]]}, "ID")
I can generate the function using number, anything, but I can't insert the criterion, which is the ID of the table of modified/new reservations.
I don't understand what you mean, and perhaps I don't understand the original question.
You may need to provide more detail and examples.
"I would like to remove from the fact table (34 million rows), the reservations based on this table of "modified reservations","
This comment made me think that Left/Right Anti join may have been what you're looking for, but now when I re-read your post, I'm thinking you just need to setup incremental refresh.
It is open to too much interpretation, can you please provide further detail?
| Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |