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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Tallyski
Frequent Visitor

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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