课程: Excel Power Query Tips and Techniques

今天就学习课程吧!

今天就开通帐号,24,100 门业界名师课程任您挑!

Transformation table

Transformation table

- [Instructor] Here we've got two datasets that we need to merge. We need to get Adriano's London matched up with the agent Paula and Paula's email address. That would be an easy merge, but notice other pieces of the data. Andrea's Australia really should be Perth, and then New York is in here as NYC and NY, comma, space, NY. We can't cleanly match that. We would have to do some data cleansing or multiple queries. This would be a mess. But what we can do is create a transformation table, and here it is. Now the transformation table is going to be our bridge. It's saying wherever there's Australia, match it up with Perth. Where there's NYC, match it up with New York. And a requirement of the transformation table is that you have a front column and a to column, all right? Let's do it. We've got our queries and connections all ready. We've got the three queries already set up as connection only. Now let's…

内容