Hi,
First I will explain the data model.
I have 3 entities
1)Contact(Attributes:First Name,Last Name etc)
2)Possession(Attributes:ContactId,UtilityId,Possession %,Possesion Price)
3)Utility(Attributes:Name,Price
Contact has 1:N relationship with Possession entity and Utility also has 1:N relationship with Possession.Eventually Possession is acting a intermediate entity for N:N relationship between contact and Utility.
Example:John smith Contact can hold 100% Possession(Price:$1000) of a Laptop Utility($1000)
His wife Emily Smith contact also holds 100% because they rent it together on lease.If one of them dies/got bankrupt,the other one has to pay.
I have to generate a SSRS report for multiple contacts which will show contact,possession and Utility.And their total price of Possession.
I have to show Possession for either one of them,and not both of them(which creates a confusion for user)
*This post is locked for comments
Can you clarify what you mean by 'I have to show Possession for either one of them,and not both of them' ? In your example, if John and Emily both hold 100% of the same utility, then do you want to show both records, or just one (and if it is just one, how do you decide which one) ?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156