Calculated Field Powerpivot and trying to use this function TOTALMTD (Expression, Date_Column [, SetFilter])

Can someone explain how this breaks down in terms of fields i need to refer to. I've tried a bunch of variations and keep getting #error. I want to sum a column across the Month to date called "SLOutAdj" based on  the values in a column called "queue".

I created another table called calender with the dates listed and month number, month name etc. The 'Call' table which contains the SLOutAdj column also contains multiple dates for each day linked to queue names.

I tried this
=TOTALMTD(sum([SLOutAdj],Calender[Date])) but no joy
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


pls try


instead of


titanium123Author Commented:
=TOTALMTD(SUM([Sum of ServiceLevel]),Calender[Date])

im getting this error now

The SUM function only accepts a column reference as the argument number 1.
titanium123Author Commented:
I have changed the formula to this


and get no error but it does not provide an accumulated number in the column just replicates the number in the Servicelevel column
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Sorry can't help further
titanium123Author Commented:
I worked it out. I was making the mistake of trying to use the totalmtd formula as a calculated column. It needs to be a calculated field.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
titanium123Author Commented:
No solution offered, I worked out what I was doing wrong and posted answer to my own question
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft PowerPoint

From novice to tech pro — start learning today.