Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

RunningValue can't use a group clumn as scope if another row is using a row group scope?

Avatar of dcmorrell
dcmorrell asked on
Microsoft SQL ServerMySQL ServerSSRS
1 Comment1 Solution1944 ViewsLast Modified:
I came across this bizarre behaviour in SQL 2008 R2 express + Report builder 3.0

Step 1: make a trivial matrix with row grouping, column grouping

Step 2: Make a second row (insert row outside group)

step 3: on the first row do =RunningValue(field!<valuefield name goes here>,Sum, "<name of row group>"

So far so good

step 4: on the second row do =RunningValue(field!<valuefield name goes here>,Sum, "<name of column group>"

Now it refuses to run, why? O___O

Yes, I know,

"You cannot aggregate values across both a row group and a column group in a single expression. Writing an expression that includes an aggregate with a row group scope and another aggregate with a column group scope is not supported. "

But we're on a different cell, we're even outside the row group on the second row.

 

Thanks in advance for any words of wisdom

ReplyQuote
ASKER CERTIFIED SOLUTION
Avatar of Howard Cantrell
Howard CantrellFlag of United States of America imageretired

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answers