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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Create New Table from Existing SQL Server Many-to-Many Relationship

I have an existing many-to-many relationship in SQL Server that has been pulled into Power BI.  I would like to create a 'dynamic' table in PowerBI using fields from each table from both sides of the relationship.  I can do this in a visualization no problem, but I need to also add some conditional fields so I'm thinking a new table is the way to go?  Any ideas would be fantastic.

fristin816_1-1598472483951.png

 

3 REPLIES 3
lbendlin
Super User
Super User

Let the data model do the work for you. (Also known as "Don't fight the API")

 

Define what you mean by "conditional fields"  - should these be measures or calculated columns?

Anonymous
Not applicable

Sorry for the confusion.  Calculated columns.

If it is a calculated column then you can also think about implementing it in either Power Query or your SQL server source.  DAX is always the last resort for calculated columns.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors