Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
Proud to be a Super User!
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.
@Phil_Seamark i did have it on but it was giving me funny resuts elswhere, guess i better tweak my relationships a bit! thanks
Proud to be a Super User!
For funzies try:
Leads Income (YTD) = CALCULATE(Income[Plan Income (YTD)], Practice)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 33 | |
| 29 | |
| 26 |
| User | Count |
|---|---|
| 134 | |
| 104 | |
| 63 | |
| 60 | |
| 55 |