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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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