Forum Discussion
mike1234
8 years agoRegular Visitor
Incorrect cumulative values when creating multiple line charts with multiple cumulative values
I am trying to create cumulative sales vs goal line charts by person, team and group but am having a challenge with the calculation to cumulate the sales. Any help / ideas would be appreciated. ...
- 8 years ago
I came up with a solution to get around the Months that have multiple Sales records:
- Use the "Merge Queries as New" function to crate a new table from the Personal Sales. That way I don't mess with that table).
- Used the "Group By" function to combine the sales that are in the same month. After doing this I didn't have the problem with duplicates.
- Once I did that, using the statement from Phil (thanks, Phil!), I created a calculated column to create the cumulative sales, as appropriate.
I had to do this for each of the three charts I wanted (person, team and group). and it worked.
Here's what I ended up with.
mike1234
8 years agoRegular Visitor
I came up with a solution to get around the Months that have multiple Sales records:
- Use the "Merge Queries as New" function to crate a new table from the Personal Sales. That way I don't mess with that table).
- Used the "Group By" function to combine the sales that are in the same month. After doing this I didn't have the problem with duplicates.
- Once I did that, using the statement from Phil (thanks, Phil!), I created a calculated column to create the cumulative sales, as appropriate.
I had to do this for each of the three charts I wanted (person, team and group). and it worked.
Here's what I ended up with.
v-chuncz-msft
Community Support
8 years ago
Glad to hear that you've solved this problem. You may help accept the solution above. Your contribution is highly appreciated.