Forum Discussion
Filtering SUM Value Based on Another Measure
- Anonymous4 years ago
Hi TamlerlovesKant ,
12605 is 2521*5, that is, the total of AVG Plant Cost per Day is multiplied by the total of Assigned Equipment Days.
You can create a new measure to get the results you want.
Measure = SUMX('Equipment List',[Plant Assigned Cost])Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.
- TamlerlovesKant4 years agoFrequent Visitor
Hi lbendlin,
Thanks for getting in touch on this one; i have created a simplified and Sanitised Data model which can be viewed below:
https://1drv.ms/u/s!Aqcds9Zosni5iG0KXKTyExJSeeaD?e=mds6P7
The outcome i would like to achieve is
AVG plant cost per day * Assigned equipment days;
wherein apply the average daily cost of a piece of equipment (which is referencing the Invoices Column) and apply that value average value to a project whenever the piece of equipment is assigned to the project (using the day diary)
as you can see in the image below, it appears to be filtering and applying the values correct, but the total value for "Plant assigned cost" doesnt seem to add up properly;
the cost that i want applied to the project is 1502.67+641.33+1449.00 = $3593.00 but instead the total is $12605.00 and i cant figure out why?
- Anonymous4 years agoNot applicable
Hi TamlerlovesKant ,
12605 is 2521*5, that is, the total of AVG Plant Cost per Day is multiplied by the total of Assigned Equipment Days.
You can create a new measure to get the results you want.
Measure = SUMX('Equipment List',[Plant Assigned Cost])Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- TamlerlovesKant4 years agoFrequent Visitor
Thankyou so much Stephen!