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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Relationship is not working

Hello all,

 

I am working on a report to show all sales data.

Our database works with 3 different date types for the sales proces (create date, estimate close date and actual close date). They are all in the same table. Because of this I work with inactive relationships between these dates in the database and my date table.

To calculate the amount won I made a measure which works perfect.

But when I add the name of the company the result is all goes all wrong. I get a list of all companies and opportunities which don't relate. 

 

When I make the relationship between my datatable and the actual close date active manually, and use all the filters in reports it works fine. But in that case other visuals wont work because of the active relationship

 

Did I made a mistake with the relationships?

 

TamarHoogstad_1-1660045021353.png

 

Thanks in advance

1 REPLY 1
jcalheir
Solution Supplier
Solution Supplier

Hi

 

I dont know the actual logic of your model, but can you connect the oportunity table with the ancestor table by an ID? Insted of connecting by the 3 dates?

 

Also, your company table has a the wrong cardinality (Many to 1 to the facts table), it should be 1 to many if you want to follow the star schema model.

 

Kind regards,
José
Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 🙂

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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