Hi,
After many hours searching i hope someone over here can point me in the right direction.
I have two tables. One with projects in it, and one with support tickets in it. An example of my data:
Projects
| Project ID | Customer | Date finished |
| 123456 | 55522 | 9-2-2024 |
Support tickets
| Ticket ID | Customer | Date created |
| 654321 | 55522 | 10-2-2024 |
My goal is to create a column in the projects table that sums the amount of support tickets created within one month after a project is finished. As you can see the only matching value is the customer ID.
I thought i can achieve this with creating a rollup column and create a relationship between the 2 tables, but as far as i understand dataverse uses table keys to create succesfull relationships and that is where thing get difficult. I think i need to create a key on the customer, but because a customer can have more then one project and more then one support question values are not unique and i am unable to create a key on it.
In PowerBI i do this with a many to many relationship which sounds the most logical to me to also use in Dataverse, but with a many to many relationship i cannot select the related table in the rollup column. I also tried a calculated column and formula, but i didn't get that working either.
I am pretty new to this kind of functionallity in Dataverse so i hope someone can tell me what the best way to achieve my goal is.
Thank you in advance!
Kind regards,
Lars