Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
I guess for most of you that's a fairly simple task, unfortunately not for me.
I am trying to calculate the commission on sales depending on a country table:
'Sales Territory'[Country] ) = "United States" gets 15% commission, all other countries get 10%.
With a calculated column that's straight forward, but I want a measure.
Solved! Go to Solution.
@datadonuts please try this code
SUMX(VALUES('Sales Territory'[Country]),IF (
'Sales Territory'[Country] = "United States",
[Revenue] * 0.15,
[Revenue] * 0.1
))
@datadonuts please try this code
SUMX(VALUES('Sales Territory'[Country]),IF (
'Sales Territory'[Country] = "United States",
[Revenue] * 0.15,
[Revenue] * 0.1
))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
12 | |
10 | |
10 | |
8 |
User | Count |
---|---|
15 | |
15 | |
15 | |
12 | |
10 |