I've created an ssrs report in visual studio and I have a lot of complex formulas that need to be subtotaled and totaled as part of groupings. But because I get my data from 3 different data sets I keep getting errors. Other than a possible hack to join the data so I have the data repeating I can't figure out how to not get the aggregate error. In this example I'm only using 2 datasets.
The error: The value expression from the text box '' has a nested aggregate that specifies a dataset scope. Inner aggregates cannot specify a dataset scope.
The formula: =sum((Floor(Sum(Fields!new_secfeerateValue.Value, "AdminTable")) * -100 * ((Fields!new_quantityValue.Value * Fields!stockprice_new_priceValue.Value) + Fields!new_commissionsfeesValue.Value)) / 100))
I tried using code and that worked, but I received an error in CRM while uploading the report:
This Report can't upload because there are restrictions with SQL Servier Reporitng Services reports Definition Languare (RDL) sandboxing is enabled.
I appreciate any help figuring this out.
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (