The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I'm trying to translate into a measure for my main table a very specific calculation that I've been able to achieve step-by-step on a summarized table, adding calculated columns in cascade.
The measure calculates the amounts to be eliminated between related parties that belong to the same Business Line (BL).
The amount to be eliminated is the minimum between the sum of the costs and the sum of the revenues that matches a 3 elements key designed for that purpose (Elimination key = "BL-Company-Counterpart").
The attached summarized table shows the desired result, the challenge is to de-summarize that result to apply it on the main table using a measure, for consolidation purposes.
Since the case is quite complex to be shown in a post, I opted to clarify the desired result on a XLS sheet and a test model.
I truly appreciate the help of the community.
Thank everybody for your support.
Marco,
Monterrey, Mexico
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
32 | |
13 | |
10 | |
10 | |
9 |