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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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