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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Tallyski
Advocate I
Advocate I

Relationship Issue - Power Bi

After creating a relationship between two tables, I am having trouble with a count. 

The count should be:
Count2.PNG

But I see:
Count1.PNG

The relationship is built on the event_log_id, and I use that to make the count.:
Relationship1.PNG

I've tried all types of relationships, but it doesn't seem to work. Any help would be appreciated.

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Share some data to work with, explain the question and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
djurecicK2
Super User
Super User

Hi @Tallyski ,

 You should avoid many to many relationships if possible. Could you possibly create a table with unique event_log_id as a bridge table and join each table to it?

 

Here is some additional information:

https://learn.microsoft.com/en-us/power-bi/guidance/relationships-many-to-many

 

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors