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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
pramoth
New Member

Cannot Visualize Combined Data from Two Tables Connected via Bridge Table (Many-to-Many is avoided)

I have two fact-like tables in my Power BI model:

Attendance: Contains attendance records (multiple entries per user)

Members_Billable: Contains project assignments (multiple entries per user)

Both tables have a UserID column (non-unique in both).

To avoid a many-to-many relationship, I introduced a third table:

Users: Contains unique UserID values

I created:

A 1-to-many relationship from Users → Attendance

A 1-to-many relationship from Users → Members_Billable

I want to build a visual table showing:

UserID (from Attendance)

Shift Date (from Attendance)

Project Name (from Members_Billable)

Without dragging any column from the Users table into the visual.

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@pramoth 

Verify that you have the following relationships:

Users[UserID] (1) to Attendance[UserID] (many)
Users[UserID] (1) to Members_Billable[UserID] (many)


 Use DAX to create a new table that combines the necessary columns from Attendance and Members_Billable based on the UserID. This can be done using the NATURALINNERJOIN function

 

CombinedTable =
NATURALINNERJOIN(
SELECTCOLUMNS(
Attendance,
"UserID", Attendance[UserID],
"Shift Date", Attendance[Shift Date]
),
SELECTCOLUMNS(
Members_Billable,
"UserID", Members_Billable[UserID],
"Project Name", Members_Billable[Project Name]
)
)

 


Once you have the CombinedTable, you can create a visual table in Power BI using the columns from this new table:
UserID (from CombinedTable)
Shift Date (from CombinedTable)
Project Name (from CombinedTable)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

5 REPLIES 5
v-prasare
Community Support
Community Support

Hi @pramoth,

May I ask if you have resolved this issue? If so, Can you please share the resolution steps here. This will be helpful for other community members who have similar problems to solve it faster.


If we don’t hear back, we’ll go ahead and close this thread. For any further discussions or questions, please start a new thread in the Microsoft Fabric Community Forum we’ll be happy to assist.
Thank you for being part of the Microsoft Fabric Community.

v-prasare
Community Support
Community Support

Hi @pramoth,

We would like to confirm if our Super user answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.

 

 

 

Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are

v-prasare
Community Support
Community Support

We would like to confirm if our Super user answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.

 

@rohit1991 & @bhanu_gautam , thanks for your prompt response

 

 

 

Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are

rohit1991
Super User
Super User

Hi @pramoth 

 

Create Measure

Projects (All) = 
CALCULATE (
    CONCATENATEX ( Members_Billable, Members_Billable[Project Name], ", " ),
    TREATAS ( VALUES ( Attendance[UserID] ), Members_Billable[UserID] )
)

 

Add the following fields:

  • UserID (from Attendance)
  • Shift Date (from Attendance)
  • Project Name (From Members_Billable)

 

Output: 

rohit1991_0-1754474335566.png

 

 


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
bhanu_gautam
Super User
Super User

@pramoth 

Verify that you have the following relationships:

Users[UserID] (1) to Attendance[UserID] (many)
Users[UserID] (1) to Members_Billable[UserID] (many)


 Use DAX to create a new table that combines the necessary columns from Attendance and Members_Billable based on the UserID. This can be done using the NATURALINNERJOIN function

 

CombinedTable =
NATURALINNERJOIN(
SELECTCOLUMNS(
Attendance,
"UserID", Attendance[UserID],
"Shift Date", Attendance[Shift Date]
),
SELECTCOLUMNS(
Members_Billable,
"UserID", Members_Billable[UserID],
"Project Name", Members_Billable[Project Name]
)
)

 


Once you have the CombinedTable, you can create a visual table in Power BI using the columns from this new table:
UserID (from CombinedTable)
Shift Date (from CombinedTable)
Project Name (from CombinedTable)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors