Forum Discussion
Anonymous
4 years agoNot applicable
summarizing multiple values from different Table within other Table
Hi, I do have two tables. one is simply a long list of values structured like below search value cost a cost b final cost 1z32sde 12 32 44 1z8432 12 23 11 in general text-nu...
- Anonymous4 years ago
Hi Anonymous ,
You can try this code to create a calculated column in second table.
Column = CALCULATE ( SUM ( 'First Table'[Final cost] ), FILTER ( 'First Table', CONTAINSSTRING ( 'First Table'[Search value], 'Second Table'[Info] ) ) )Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
apologize, my fault within the words... "1Z32sde" would deliver 500 as "Final cost-summary"
Anonymous
4 years agoNot applicable
Hi Anonymous ,
You can try this code to create a calculated column in second table.
Column =
CALCULATE (
SUM ( 'First Table'[Final cost] ),
FILTER (
'First Table',
CONTAINSSTRING ( 'First Table'[Search value], 'Second Table'[Info] )
)
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.