Forum Discussion
Anonymous
7 years agoNot applicable
CALCULATE(IFERROR(AVERAGE giving error
Hello Community, i am trying to created a calculated column and i am getting below error. Does any one able provide suggestion? Error Message “Too many arguments were passed to the IFERROR function...
- 7 years ago
You've got all kinds of mismatching parenthesis and commas, but I think this might be closer to what you're after:
IFERROR (
CALCULATE (
AVERAGE ( [Valid Price] ),
FILTER (
'Software Contracts',
[RAW Unique Identifier] = 'Software Contracts'[AUP Pricing Identifier]
),
FILTER (
'Software Contracts',
[RAW Region] = 'Software Contracts'[ AUP SALES] )
),
"no"
)
AlexisOlson
Super User
7 years agoYou've got all kinds of mismatching parenthesis and commas, but I think this might be closer to what you're after:
IFERROR (
CALCULATE (
AVERAGE ( [Valid Price] ),
FILTER (
'Software Contracts',
[RAW Unique Identifier] = 'Software Contracts'[AUP Pricing Identifier]
),
FILTER (
'Software Contracts',
[RAW Region] = 'Software Contracts'[ AUP SALES] )
),
"no"
)
Anonymous
7 years agoNot applicable
thank you so much Alexis.It works perfectly fine for me.