Forum Discussion
Anonymous
7 years agoNot applicable
Calcualte(sum giving an error
Hello Community, i am trying to create a calculated column and i am getting below error.Can i get suggestion? Thanks Error Message"The expression contains multiple columns, but only a single col...
- 7 years ago
Hi Anonymous
Perhaps like this?
delete after use = CALCULATE ( SUM ( [RAW Valid Months] ), FILTER ( ALL ( '03- Contracts'[Sales Org] ), '03- Contracts'[Sales Org] = "AMERICAS" ), FILTER ( '04-Software ', '04-Software '[P Identifier] = '04-Software '[RAW Unique] ) )
jthomson
7 years agoSolution Sage
Try using a comma/semicolon depending on your localisation instead of &, if it's still coming up you may need to make some sort of custom column to compare the two 04-Software columns to see if they're equal and then use that in your column
Anonymous
7 years agoNot applicable
thank you so much for your suggestion.I have tried with , but i am getting the same error.
- AlB7 years agoCommunity Champion
Hi Anonymous
Perhaps like this?
delete after use = CALCULATE ( SUM ( [RAW Valid Months] ), FILTER ( ALL ( '03- Contracts'[Sales Org] ), '03- Contracts'[Sales Org] = "AMERICAS" ), FILTER ( '04-Software ', '04-Software '[P Identifier] = '04-Software '[RAW Unique] ) )- Anonymous7 years agoNot applicable
Thank you so much AIB.
- AlB7 years agoCommunity Champion
Anonymous
No worries.
If you're interested, in this article you can read why your first approach was not working.