Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Data modelling

There are 3 tables in my data model. dim_stage, agg_route_stop & dim_route_stage. dim_stage to agg_route_stop one to many relationship(On stage_key column) & dim_stage to dim_route_stage one to many relationship (on stage_key column). agg_route_stop to dim_route_stage many-many relationships. Now I want stage_key column (dim_stage table), tripfrom_tripto column(agg_route_stop table) & distance (dim_route_stage table) in my table visual. But while while dragging these columns in to table visual I am getting error. 

 

1 Tripfrom_tripto have multiple stage_keys  & I want the distance b/w these stages(stage_keys) for a particular Tripfrom_tripto

1 REPLY 1
mohitkumawat
Super User
Super User

Hi,

Create a Bridge Table b/W agg_route_stop and dim_route and connect with both agg_route_stop and dim_route using that newly created bridge table.

Note :- Bridge table is nothing but a disitinct of key column from any of (agg_route_stop and dim_route).

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.