Forum Discussion
Matching Totals Once Using Filters
- 2 years ago
Thank you all - for now I have gone with ...
This is because SUMX did not want to work and repeated the same number all the way down however I will go back but assume I could get a couple of missed numbers for now.
Sum Project Billed Milestones = CALCULATE( SUM(Autotask_ContractMilestones_Billed[amount]), FILTER( DISTINCT(Autotask_ContractMilestones_Billed[contractID]), Autotask_ContractMilestones_Billed[contractID] = Autotask_Projects[contractID] ) )I will also have a look at the schema option which seems to be a good way forward too.
Thanks
T
Hi ccsnet ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a measure.
Sum Project Not Billed Milestones =
CALCULATE(
SUM(AT_ContractMilestones_NotBilled[amount]),
FILTER(
AT_ContractMilestones_NotBilled,
AT_ContractMilestones_NotBilled[contractID] =MAX(AT_Projects[contractID])
)
)
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.