Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hello.
Here's what i got:
Seller | Store | Revenue
1 2 1.200
2 2 800
3 1 300
4 1 500
I want to create a measure that calculates the comission fee i have to pay for each seller, respecting the following criteria:
If the total revenue of the store was greater than or equal to 1.000, the fee is 5%
If the total revenue of the store was less than 1.000, the fee is 2.5%
And then, i want to show a table with sellers, stores, revenue and comission as columns.
My main problem here is that, when i create this table, my actual measure changes the calculation of the comission fee to each seller individual revenue, not the total.
I am using something like:
if(sum(revenue)>1.000,0.05,0,25)
is there any way to this measure only apply to the store and not to the seller level?
Solved! Go to Solution.
Hi, @Anonymous
Please try the below measure.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster.
Hi, @Anonymous
Please try the below measure.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster.
Thanks Jihwan, it worked just as i needed.
I appreciate your help.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 14 | |
| 11 | |
| 6 | |
| 5 |