Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
megan_deboer
Partner - Contributor II
Partner - Contributor II

Error in expression ')' expected

Hi:

Any suggestions on why I'm getting this error message:

=Sum([Month.autoCalendar.YearMonth] = {'2017-May'}[Cases-Verified])/(sum([Month.autoCalendar.YearMonth] = {'2017-May'}[Cases-Verified])+ sum([Month.autoCalendar.YearMonth] = {'2017-May'}[Cases Unbillable]))

Thank you!

Megan

1 Solution

Accepted Solutions
krishnacbe
Partner - Specialist III
Partner - Specialist III

Try below expression. You missed the Set Modifier and braces.

=Sum({<[Month.autoCalendar.YearMonth] = {'2017-May'}>}[Cases-Verified])/(sum({<[Month.autoCalendar.YearMonth] = {'2017-May'}>}[Cases-Verified])+ sum({<[Month.autoCalendar.YearMonth] = {'2017-May'}>}[Cases Unbillable]))

View solution in original post

3 Replies
krishnacbe
Partner - Specialist III
Partner - Specialist III

Try below expression. You missed the Set Modifier and braces.

=Sum({<[Month.autoCalendar.YearMonth] = {'2017-May'}>}[Cases-Verified])/(sum({<[Month.autoCalendar.YearMonth] = {'2017-May'}>}[Cases-Verified])+ sum({<[Month.autoCalendar.YearMonth] = {'2017-May'}>}[Cases Unbillable]))

sunny_talwar

May be try this

=Sum({<[Month.autoCalendar.YearMonth] = {'2017-May'}>} [Cases-Verified])/(sum({<[Month.autoCalendar.YearMonth] = {'2017-May'}>} [Cases-Verified]) + Sum({<[Month.autoCalendar.YearMonth] = {'2017-May'}>} [Cases Unbillable]))

megan_deboer
Partner - Contributor II
Partner - Contributor II
Author

Perfect! Thank you!