Forum Discussion
Help comparing dates between tables
OMG Allison!!!! It worked!!! It finally worked!!
The only thing I need to figure out now is how to resolve the names discrepancies between the two systems (eg, we have one name William Scott on system A and Will Scott on System B, in this case obvs William wont appear. Other than that, is f....king working.
I cannot thank you enough!!!!!
Yay! So glad to hear you finally got it sorted. rdops I knew you could do it!
Go and take a much deserved break, and when you're ready to tackle the names, come back and let us know how you get on. Here's a start idea for you:
To reconcile differences in names between the two systems, how many are there? If it's just a few you can do a Replace Values in the query editor.
If you have many, I would recommend creating yourself a 'mapping' table of sorts to reconcile the name differences between the two systems:
| NameA | NameB |
| William Scott | Will Scott |
| F Smith | Fred Smith |
| M Jane | Mary Jane |
Make sure NameA column has no duplicates. Then merge this mapping table into SysA table as a Left Outer join using Name column from the System A table and NameA from the mapping table. Click the arrow on the Mapping column to expand and select the NameB column. Close and Apply. Then you just need to replace the NameB part in the DAX.
Has this post solved your problem? Please mark it as a solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos.
I work as a trainer and consultant for Microsoft 365, specialising in Power BI and Power Query.
https://sites.google.com/site/allisonkennedycv