Error Msg When Using Slicer

gradywang

New Member
Joined
Feb 1, 2018
Messages
2
All users concerned are using Excel 2016. On my computer, I have the Power Pivot add-on while audience doesn't.

When emailing my report to my audience, as soon as they select a something in the slicer, they encounter this error:

The query did not run or the Data Model could not be accessed. Here's the error message we got:

MdxScript(Model) (7, 8) Calculation error in measure 'refCallDetail'[Calls Handled]: The function COUNT takes an argument that evaluates to numbers or dates and cannot work with values of type String.

When I open the same report and use the slicers, I have no problems. I have had my audience enable the Powerpivot add-ins and they still encounter the same issues. What puzzles me is I have sent reports using PowerPivot to other people who do not have the add-on and they have never encountered problems using slicers before. What makes this instance so different? How do I resolve this?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Probably having more or less updated versions of Power Pivot. On the face of it, it seems that you are counting a column that includes strings, so use COUNTA instead of COUNT.

https://msdn.microsoft.com/en-us/library/ee634956.aspx?f=255&MSPPError=-2147217396

While that solved my specific issue, is there any general advice you can provide to avoid encountering this issue in the future? I'd like to avoid sending reports only to find out that my audience can't use them and then have to constantly tweak and troubleshoot formulas.
 
Upvote 0

Forum statistics

Threads
1,223,935
Messages
6,175,493
Members
452,649
Latest member
mr_bhavesh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top