Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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
))
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
20 | |
14 | |
11 | |
10 | |
8 |
User | Count |
---|---|
21 | |
15 | |
9 | |
7 | |
6 |