Forum Discussion
Compare two dates in different tables
Hi PowerBI Brains,
I hope someone can help me. I've got a procurement table with a due date (pmlDueDate) and a Sales Order table with Shipping Date (ompRequestedShipDate). The two tables are indirectly linked via projectID each table has a many to one connection to a project table.
I want to flag the due date in the procurement table if it is later than the shipping date and has the same projectID. I tried a simple if statement but it won't let me do a comparison between the two tables. I hope anyone has an idea why that might be.
Thank you
1 Reply
- Ritaf1983Super User
Hi MartinZ85
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523