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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anmolgan
Post Prodigy
Post Prodigy

Many 2 Many Relationship issue?

In the screenshot below I have filtered out a table based on cono 7 and resident 15379, its giving me different result sets based on each artype values, now I have another table where I have 3 different artype with various other values involved. For example when I build my table with resident name and resno and amount, I want to see specific amount for that resident and also amount from 2nd table that false into LIA visual (Below table shows filtered out details of my master table)

 

 

Screenshot (5).png

 

Now when I have another table that contains below artype as LIA and certain values attached to it as well:

 

Screenshot (6).png

 

Now my problem here resides, is how can I build a table where I can see both the artypes and amounts assigned to there respective artypes with respect to there company numbers, resident numbers, date etc. I tried using distinct artypes, but that is not giving me usual results because eventually I have more artypes that has been shown in the images if we talk about all the residences, so building distinct tables and using it with the above 2nd table is giving the below error to me not sure why, I think that is related to both the above tables not having distinct artypes not sure if I am correct there, if anyone can suggest some ways to achive this then it will be great, I can happily join over skype call to show what I am dealing with, as the dataset is huge and I am not sure if I can share that with anyone.

 

Screenshot (7).png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anmolgan , You have tried bringing value from other tables and divide with the count. There does not seems to be common table

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

5 REPLIES 5
v-easonf-msft
Community Support
Community Support

@amitchandak hi, thanks for your help on the call, basically we are stuck in the last operation and need your assitance on it, before 5PM, let me if we can connect before that, much appreciated your efforts.

Hi @amitchandak thanks for all your help its nice to learn from someone who is really an expert on the PowerBi field. The activities that we did today helped in valdating most of the datasets, we just need 1 more help on your end, basically we need to calculate variance on all those columns that we have built but the problem we are facing right now is since we have all our measures divided on the different tables, our calculations is some how messing things up, do let me know if we can schedule another session today I think 30minutes will be good so that we can knock this one out.

 

Again, I appreciate all your efforts that you have provided on multiple issues.

 

Looking forward on your response.

amitchandak
Super User
Super User

@Anmolgan , You have tried bringing value from other tables and divide with the count. There does not seems to be common table

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Greg_Deckler
Community Champion
Community Champion

Tough to tell what is going on here. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

But, in general, avoid many-to-many like the plague (or COVID-19). Use bridge tables if you must have them and use the bridge table values in your visuals as the common factor between the two "fact" tables.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.