Calculation error in measure

KimC2504

Board Regular
Joined
Jul 17, 2012
Messages
141
Hi There,I am using excel 2013 and I am setting up my first large power pivot table 150,000 lines. I am hoping someone can provide some insight into my problems as I can't work it out. I am trying to set up a very simple "sum" measure in power pivot. First one worked perfectly fine. I then tried to set up a second one and I keep getting a Calculation error message. The function SUM takes an argument that evaluates to numbers or dates and cannot work with values of type String . If I understand this error message, it is telling me I am trying to add a string but I have checked and they are definitely numbers. I really don't know what to do. Any suggestions? I am wondering if this file would be corrupt somehow?? :confused::confused:
qkrm.png
[/URL][/IMG]
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
What is the data type shown for that field?
 
Upvote 0
Hi Rory, The data type is a text field but I wouldn't think that would matter as it is a filter
 
Upvote 0
Back again, so I went back to my table in excel and created a quick pivot table. I can sum the field just fine. I think my problem is when power pivot is importing the table from excel into power pivot. How on earth do I fix that?
 
Upvote 0
Woohoo, I fixed the problem. Rory you confused me before because my pivot table actually had a field in the filter called "Data Type". I now know the data type you were referring to and it was Text, as soon as I changed it, my problem was fixed. Geez, I wasted heaps of time on that but I guess I won't make that rookie mistake again. They didn't cover that in my training!!! Thanks for your help.
 
Upvote 0
Glad to help - and sorry for the confusion! ;)
 
Upvote 0

Forum statistics

Threads
1,223,989
Messages
6,175,814
Members
452,672
Latest member
missbanana

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