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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
vanessafvg
Community Champion
Community Champion

Relatedtable issue

I have 3 tables, 

1. income

2. practices

3. leads

 

i want to pull back the income from income where they are related to leads but the relationship is through the practice table

 

Leads Income (YTD) = CALCULATE(Income[Plan Income (YTD)], RELATEDTABLE(Leads))

 

this works to a degree but unfortunately it brings everything back from leads. and my date filter on leads is not working.  What is the best way to bring something back from another table, ie  many to many relationship

 

Capture.PNG





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




3 REPLIES 3
Phil_Seamark
Microsoft Employee
Microsoft Employee

HI @vanessafvg

 

You could experiment with the "bi-directional" relationship setting as one approach.  By setting this to Both on one of the relationships coming from your Practices table it may solve your issue.  MS introduced this feature as one way to address many to many challenges in your data.  This may solve your issue without requiring you to restructure your tables.

 

bidir.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

@Phil_Seamark i did have it on but it was giving me funny resuts elswhere, guess i better tweak my relationships a bit!  thanks





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

For funzies try:


Leads Income (YTD) = CALCULATE(Income[Plan Income (YTD)], Practice)

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.