Country/State "Key" Issues
SQLMonger opened this issue · comments
The [State-Country] column in the Case Details data set has cases where the country name is doubled up, for example, "France, France", due to the differences between the pre and post 3/21 data sources. This affects results when grouping by [State-Country], as "France" and "France, France" are not grouped together.
Can logic be added to the M script to only use the country name if the country name and state name are identical? I'll take a look at it, but figure someone more familiar with the Power Query steps will be able to zero in on it and fix it quicker.
Using the Geography Hierarchy is the solution.