I have two separate tables, one with latitude and longitude columns (for locations in the USA), and the other with the US state abbreviation (TX, AZ, CA, etc).

Is there a way to count the number of rows in the LatLong table that fall within each state in the other table using PowerBI?

  • what database are you using? Nov 8, 2017 at 3:36

1 Answer 1


Without ever using PowerBI, without even knowing what it is, no. Highly unlikely.

You'll have to pull in Shapefiles that represent the states from the Census or like data-source. Then you'll have to construct points representing the cords and run point-in-polygon on the result.

Check out

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.