Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
A very simplified version of my database has three tables:
* Stops stores the locations of bus stops (primary key: StopID)
* Journeys stores the details of various passenger journeys (e.g. start time, origin, destination and primary key JourneyID)
* StopJourneyMap lists which journeys go past which stops. I.e. it has just two columns: StopID and JourneyID
Ultimately what I'd like to do is let the user select some stops in a table visualisation and then in a map visualisation show the origins and destinations of journeys that go past those selected stops.
Crucially though I'd like to show only the journeys that go past ALL of the selected stops. Currently I'm struggling with that first step. I've got two table visualisations - One that shows the Stops table and another that shows the StopJourneyMap table. When the user clicks on a row in the Stops table visualisation, it filters the StopJourneyMap to show which journeys go through that stop, which is fine. However, when the user selects another stop (Ctrl+click), the StopJourneyMap table is filtered to show all journeys that go through either stop. How can I change that behaviour so that the StopJourneyMap table is filtered to show only journeys that go through *both* the selected stops?
Try using INTERSECT Function in your measure.
Still struggling with this. I created a measure that calculates how many stops have been selected and a then tried to apply this as a filter to filter for routeIDs that are associated with that many stops. But I couldn't get this to work. So perhaps measures were a red herring.
I'd be grateful for any pointers.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
55 | |
54 | |
38 | |
29 |
User | Count |
---|---|
78 | |
62 | |
45 | |
40 | |
40 |