Forum Discussion
johndolan2
4 years agoResolver I
Sum based on a condition
Hi fumbling and hoping for some help. The examples I have looked at have not helped. ... In the table below I am trying to sum for the city, based on the component. So NYC total would be 10 and the ...
- 4 years ago
OHHHHHHH Thank you!!!!!
Fowmy
4 years agoSuper User
johndolan2
Can you also share the expected result as you have shared the data?
johndolan2
4 years agoResolver I
Absolutley - The result for NYC would be 10. And the result for Tulsa would be 6. I only need to be able to show these on a card. So on my report page if I selected NYC on my city slicer, my card visual for NYC would show the number 10. John
- Anonymous4 years agoNot applicable
A simple Sum measure should do the needful.
SUM of Cost = SUM(#Cost)
If you use above measure in a card and then try to slice by city or service, you should get the desired result.
- johndolan24 years agoResolver I
OHHHHHHH Thank you!!!!!