Viewing 15 posts - 61 through 75 (of 99 total)
To get around the "Operand data type varchar is invalid for sum operator" error, cast the value to integer prior to SUM:
SUM(CINT(Fields!FieldName.Value))
July 21, 2011 at 8:50 am
Have you tried just creating the average in an expression rather than using the AVG function?:
SUM(Field!Fieldname) / COUNT(Field!Fieldname)
With AVG function usually not working the way I want I have gone...
July 21, 2011 at 6:02 am
This will get you closer. It may not be the exact format you are looking for, but give it a try for starters.
SELECT
Customer,
Status,
...
July 20, 2011 at 3:00 pm
If you are using SQL Server 2008 R2 you may be able to use the LookupSet function:
http://msdn.microsoft.com/en-us/library/ms157328.aspx
The other ways I've gotten something similar to work are to create a SQL...
July 19, 2011 at 6:36 am
Usually when exporting to Excel, new tabs are created whenever you create a hard page break in the report typically in between groups. If you chose this route and...
July 19, 2011 at 5:35 am
I'm glad you finallly got it working. I didn't think what you were trying to do was that far out of the norm, but I was beginning to lose...
July 19, 2011 at 4:50 am
It's tough to replicate the issue because of the complexity of the query and they way you are displaying the budget, but depending on how the groups are set up...
July 18, 2011 at 2:15 pm
Sounds correct. If the user does not have permissions to the root either through the Authenticated Users group or another group (like TestGroup), you would get the error you...
July 18, 2011 at 1:28 pm
Assuming you are using the Ace driver, I think this syntax works the best. Pulling the WHERE clause out worked better with SSRS. If you are trying...
July 18, 2011 at 1:16 pm
Another random possibility would to be to divide out the count for your grand total, this would effectively create the average of the duplicate records which would be the ovalue...
July 15, 2011 at 3:32 pm
And it's not working if you use the same case statement for both the SubTotal and Budget?
Replace dd.Budget
With CASE WHEN RowNumber = 1 THEN dd.Budget ELSE 0 END as Budget
July 15, 2011 at 3:27 pm
Chances are that you are still getting access because TestUser is getting permissions through the System Group NT Authority\Authenticated Users (this group basically includes everyone that logs on). Log...
July 15, 2011 at 2:04 pm
Have you tried utilizing the ReportItems collection instead of using the fields from the dataset. Put something like the following for your Grand Total expression:
=ReportItems!textbox14.Value - ReportItems!textbox15.Value
Where you replace...
July 15, 2011 at 11:33 am
Here's two additional options that may work. For the data source, instead of using a DSN, create a SQL Server data source. The database you select isn't really...
July 15, 2011 at 7:10 am
Another thing to check, it looks like you're only performing comparisons for the start date length = 0. Could it be the end date that is throwing the #error?...
July 14, 2011 at 8:31 am
Viewing 15 posts - 61 through 75 (of 99 total)