Forum Discussion
Mapping locations with drill-down into sublocations
- 9 years ago
Hi danielc7150 - I can get a test to work the way I think you want it to by doing this:
Location
Coordinates [Site]
Coordinates [Block]
Latitude
Average of Coordinates [Latitude]
Longitude
Average of Coordinates [Longitude]
Size
Count of 'Processed Jobs' [Area/Block] <-- note this is from 'Processed Jobs' NOT 'Coordinates. Also, make sure this is set to Count and not Count (Distinct)
I only have one relationship, and that is from Processed Jobs (Area/Block) to Coordinates (Block)
If I set it up like this, the bubbles at the size level are sized based on the total number of 'jobs' for the entire site. When I drill in, the bubbles are sized by the total number of 'jobs' for each block.
Do you have a column for 'Main Area' and 'Blocks' in each table? If so, it's pretty easy to merge both columns together in each table using the Query Editor. Then you can create a relationship between the merged columns.
Just open the Query Editor, select the first table, select the 'Main Area' column, hold down CTRL and select the 'Blocks' column, then on the ribbon click Add Column > Merge Columns. Repeat for the second table.
- danielc71509 years agoFrequent Visitor
Thanks for the reply.
This worked, and was able to make the data drill down.
However, the circle size is relative to a 'count' of entries for each area. When I drill down, this 'count' stays the same for each individual block - it stays the same as the count for the whole 'area'. Any advice on this?
- MalS9 years ago
Resolver III
Glad the merge worked.
Not sure about the count issue without seeing the data and the relationships, but you probably want your measure to count the entries per block. That way, when you have drilled down it will only show the count per block, and when you drill up it should automatically combine the counts for all the blocks in each area (because there is a relationship between areas and blocks).
If you are having trouble, perhaps you could post some screenshots of your data and the relationship you have set up.
- danielc71509 years agoFrequent Visitor
edit: this is actually the right hand side of the table.The left hand side of the main table - just to show the nature of it. Can be multiple entries for each block.The 'block' column here is linked to the area/block column in the main table.Here is the part that shows area/block - this is the column that links to the 'block' column in the coordinates sheet.This is the visualisation and where each entry comes from - I have tried various combinations. The most succesful one managed to show a separate number for the site and the block, but then drilling down into the blocks placed them all in the same (average) location.
Sorry if this is a bit confusing to understand, not sure how else to display it!
Thanks,
Dan