I have a scenario in which I have a fact table and related dim table. The fact table is related via ID field, but also has a second depth on a row basis which means there are two IDs' for the same row. My question is if it's possible to create a measure that will sum up once by related column and next by secondary ID column. Creating regular measure gives awkward results for the secondaryID.
I am attaching simple scenario as a reference for what I am asking about.
Thank you in advance!
Cheers