Forum Discussion
Measure*Measure
- 7 years ago
The calculations are actually right.
I realized that I had a filter in my TotalBalance table and that's why I was getting wrong results. Thanks for your help.
Sure!
The idea is to calculate the customer profitability.
I have a list of fixed costs that I want to alocate based on the Nr of activites generated by customer.
The relevant measures:
TotalBalance = SUM(Costs[Balance])
TotalActivities = COUNT(Activitied[CaseID])
AlocatedCosts = SUMX(
VALUES(Customers[Customer]);
[TotalBalance]*[Percentage of Activities])but the values obtained are wrong and the sum at the botom is not equal to the TotalBalance.
Hmmm... sorry I still don't fully get it. I'd need to see the data model to see the relationships and check what is going on when the measures are invoked from the SUMX. I don't think posting the URL to a file would be a problem at all, it souldn't at least. Perhaps try with tinyupload.com or filedropper.com but I've seen many post with links to google drive
- setis7 years agoPost Partisan
The calculations are actually right.
I realized that I had a filter in my TotalBalance table and that's why I was getting wrong results. Thanks for your help.