Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Error occurs when adding new fields from SSAS cube

$
0
0

I have a problem that I've been occupied with for a long time now and I can't figure out what's going on here. The situation is as follows: I have an SSAS cube with order data, and I want to display this by month and division in a matrix. So I create a matrix, add the dimension fields Month and Division to the dataset, and the measure "Count". I create a matrix and until so far everything works allright. 

Now I want to display average amounts, so I add the measure "Amount" to the dataset, and without even changing the report (so the amount field is not even in the report), I get the following error when I run the report again:

An error occurred during local report processing: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

I've read several posts about this error and it all dealt with page headers and footers, but that can't be it, because here's a thing. When I remove the measure "Count" from the dataset and I set the Amount field as the data field in the matrix, the report runs fine again. As soon as I add another field to the dataset, this error pops up again. Therefore it seems like the problem is not with an individual field but with the number of fields that I have in my dataset!

Any help is much appreciated!!

EDIT: It seems like there's something wrong with SSRS connecting to this cube. I had a situation now where I got the values from another field that were displayed in another column, and with EVERY report connecting to this cube, when I have more than 5 fields in any dataset, the above error is given. Besides that, connecting through Excel to this cube is no problem at all!


-

Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>