Location? As in a country or town or datacentre or ..? If so, create it as a custom property and detail it out that way.
bro i have already created custom property for location and when i add and verify the query is valid but when i click show record getting error
Can you paste the actual code here please?