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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors