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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors