March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi everyone, having trouble figuring this out, and hope I explain it correctly.
I want to show affiliates on a map, specifically for sports leagues. Essentially, when you select the pro team, the map will show the minor league locations as well.
This has to be possible right? I think I'm having the most trouble figuring out how to setup data amd relationships. What do you think? Thanks in advance.
@Cobalt58_9 , what do you have for geo data either pro teams or minor leagues or both? You can create two related tables one containing pro teams and the other containing minor leagues with primary and foreign keys.
I have not used lat/long, simply the city, state/province, and country names. And I do have them broken out by each league, sometimes up to four different leagues, and then tried using an "order" column to keep them organized, but that didn't seem to work.
Thanks @Cobalt58_9 , using lat/long will probably be more precise especially if multiple pro or minor teams belong to the same city.
You mean you have both pro and minor teams in the same table? If so, it will difficult and complicated showing them on a map in that data structure.
I do have a master list with all of them together, but also have them broken out.
For example here is my hockey book:
^NHL Team
^AHL Team
Hi @Cobalt58_9 , hello pborah, thank you for your prompt reply!
You could create a relationship between two tables as shown below:
Then select the City column from both tables:
Result for your reference(Drill down or drill up to get the parent and child city):
Best regards,
Joyce
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
82 | |
69 | |
53 | |
44 |
User | Count |
---|---|
202 | |
106 | |
100 | |
64 | |
56 |