Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
So i've done quite a bit of research. I've found that my measure is calculating by row properly:
YTD.sample.2 = CALCULATE( IF([YTDEarn]-[Period.Earn]>7000 ,[Period.Earn]*[Bonus %] ,IF([YTDEarn]>7000,([YTDEarn]-7000)*[Bonus %],0)) ,FILTER(VALUES(SALES[SALES_PERSON]),[YTDEarn]>7000))
When viewing data in table, grand total is not the sum of rows. Row total is 2076.5381 Grand Total displays 2470.
As a side note i've noticed that all earnings are being sum (regardless of the second condition) when viewing the grand total.
TIA .csv File
Solved! Go to Solution.
Hi @KUNGFUPANDA559,
Please try the method provided in below thread:
Best regards,
Yuliana Gu
Hi @KUNGFUPANDA559,
Please try the method provided in below thread:
Best regards,
Yuliana Gu
OMG when i tell you thank you. . . This is exactly what I was looking for!
For the values that are NOT YTDEarnings-PeriodEarnings>7000 current filter is multipying the full period earnings by Bonus amount. I'm just unsure of how to get it to calculate grand total based on row totals (sumx?)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
68 | |
61 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |