Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi guys!
I need to compare two diffent tables (more than 6mi rows each one) with conditionals. like a VLOOKUP + IF function or more specifically, index + match in excel.
In table 1, i need to figure out if exists in table 2 and if so, how many days are between each one (there's a date column) - I need only the diference <= 30 days. But i can have the same ID more than once with differents dates.
Thanks!!!
Hi @Anonymous ,
Sounds like Merge Queries.
Better to share some sample data and expected result to us.
Best Regards,
Jay
@Anonymous please provide sample data. Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi,
sorry, my bad!
here's a sample data. The situation is like:
1) Step1 - Everyday, I send an e-mail to customers about outstading payments.
2) Step2 - Everyday, i check all the payments we've received and compare to our list in step 1 (ID_CLIENT in step 2might be in step1 or not)
Table C = Notifications E-mail
Table R = Payments
Trying to solve it, in table R i've checked if CLIENT_ID in table R exists in table C:
now, I'm trying to have something like:
if column vlookup = X, go to table C and get the latest date considering the column DATE in table R (in table C, i can have the same ID_CLIENT more than once -- with differents dates)
Thanks!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 143 | |
| 125 | |
| 100 | |
| 80 | |
| 55 |