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
powerbiexpert22
Impactful Individual
Impactful Individual

many to many

i am working on building semantic model where i encountered many to many between case and product table as shown below, this is valid relationship between case and product tables, source for power bi is snowflake, i do not want to create bridge table in power bi , is there a way to handle this in snowflake?

 

powerbiexpert22_0-1731651917572.png

 

1 ACCEPTED SOLUTION
Kedar_Pande
Super User
Super User

@powerbiexpert22 

Handling many-to-many relationships directly in Snowflake without creating a bridge table in Power BI is indeed possible.

  • Even though you don't want to create a bridge table in Power BI, you can still create it in Snowflake. This table will store the relationships between your CASE and PRODUCT tables.
    CREATE TABLE CASE_PRODUCT (

    CASE_ID NUMBER REFERENCES CASE(CASE_ID),

    PRODUCT_ID NUMBER REFERENCES PRODUCT(PRODUCT_ID)

    );
  • When querying the data in Power BI, you can join the CASE and PRODUCT tables using the bridge table.

View solution in original post

1 REPLY 1
Kedar_Pande
Super User
Super User

@powerbiexpert22 

Handling many-to-many relationships directly in Snowflake without creating a bridge table in Power BI is indeed possible.

  • Even though you don't want to create a bridge table in Power BI, you can still create it in Snowflake. This table will store the relationships between your CASE and PRODUCT tables.
    CREATE TABLE CASE_PRODUCT (

    CASE_ID NUMBER REFERENCES CASE(CASE_ID),

    PRODUCT_ID NUMBER REFERENCES PRODUCT(PRODUCT_ID)

    );
  • When querying the data in Power BI, you can join the CASE and PRODUCT tables using the bridge table.

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.