Two-column PowerPivot ratio per table

I have a geoLocations table that contains, among others, two latitudes and longitude columns. There is a second table (let it be called cities), which contains for each unique pair of loyalty and longitude the corresponding city.

How to model this relationship using PowerPivot? Creating two separate relationships will fail, because one coordinate can occur several times in the lookup table (only a combination of both is unique).

Thank you in advance:)

+4
source share
1 answer

You must create a key in each table that combines 2 fields together. This can be done in the calculation column, for example:

= LATITUDE and "-" and LONGITUDE

Or with an import that provides better performance in a large dataset.

Jacob

+6
source

Source: https://habr.com/ru/post/1479063/


All Articles