Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi everyone,
Brain is fried, so please help!
I have this table where all columns are pretty easy to handle with the exception with the last one: Rent (EUR). I've imported it via RELATED using the Opportunity number from a different table. This, however, means a lot of bad data.
Opportunity | Opp Owner | Split Type | Split Owner | Opp Owner = Split Owner | Rent (EUR) |
111 | Jim | Apples | Jim | Yes | 100 |
111 | Jim | Oranges | Jim | Yes | 100 |
111 | Jim | Apples | Anne | No | 100 |
111 | Jim | Oranges | Anne | No | 100 |
222 | Betty | Apples | Betty | Yes | 120 |
222 | Betty | Oranges | Betty | Yes | 120 |
So, I would need a Measure (or column, whatever works), to get the Rent money allocated to the Split Owner ONLY if they're also the Opp Owner. For the non-owner, the amount needs to be zero. And oh, that Split Type is doubling/trebling the amounts big time.
This is what I'd love to see:
Opportunity | Split Owner | Rent (EUR) |
111 | Jim | 100 |
111 | Anne | 0 |
222 | Betty | 120 |
I've tried a SUMX with a dash of CALCULATE, and I got Anne an amount of 100 😞
Help, please!
Alice
Solved! Go to Solution.
Hi @AliceW
Create a measure
Measure = IF ( MAX ( Sheet8[Opp Owner = Split Owner] ) <> "No", LOOKUPVALUE ( Sheet9[value], Sheet9[Opportunity], MAX ( Sheet8[Opportunity] ) ), 0 )
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @AliceW
Create a measure
Measure = IF ( MAX ( Sheet8[Opp Owner = Split Owner] ) <> "No", LOOKUPVALUE ( Sheet9[value], Sheet9[Opportunity], MAX ( Sheet8[Opportunity] ) ), 0 )
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you so much, Maggie!!!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |