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? – Evan Carroll Nov 8 '17 at 3:36

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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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