The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
So im working with a real estate company and I need to calculate if the commission they get is good enough depending on their standard commission.
here is sample data for the standard commission :
To start with I made a measure calculating the Total commission money they made on every sale :
for exemple immo ABC made 55500 € with their commissions.
But now i need to see if (for exemple) immo ABC made it to their expectations.
I have a table where i can see how much they sold, but they were not grouped so I needed a measure to SUM them up:
Here is the problem :
Now that i know how much all of my companies made, I need to multiply the sold-amount(the measure just above) with the standard commission and compare it to the commission they really earned.
I hope it is a bit more clear,
Thank you for reading.
Solved! Go to Solution.
Hi @frz ,
Make sure that the two tables have such a relationship:
Then create a measure like below:
Measure 2 = SUM(Sale[Sales])*MAX(immo[standard commission])
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @frz ,
Make sure that the two tables have such a relationship:
Then create a measure like below:
Measure 2 = SUM(Sale[Sales])*MAX(immo[standard commission])
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@frz Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
User | Count |
---|---|
79 | |
73 | |
39 | |
30 | |
28 |
User | Count |
---|---|
108 | |
99 | |
55 | |
49 | |
45 |