Hello.
I need to do a calculation using 2 fields from a different dataset.
I tried something like Value = (Fields!y.Value, "scope") /(Fields!x.Value,
"scope"), but I got the error.
How can I do that?
Thanks in advance for assistance
ChiekoIf you have both of the base values displayed somewhere in your report, have
you tried referring to them via the textbox name?
--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"chieko" <chieko@.discussions.microsoft.com> wrote in message
news:66F60804-FB93-43DC-8869-73F11802F9C0@.microsoft.com...
> Hello.
> I need to do a calculation using 2 fields from a different dataset.
> I tried something like Value = (Fields!y.Value, "scope")
> /(Fields!x.Value,
> "scope"), but I got the error.
> How can I do that?
> Thanks in advance for assistance
> Chieko
>
Showing posts with label scope. Show all posts
Showing posts with label scope. Show all posts
Sunday, February 19, 2012
Tuesday, February 14, 2012
calculating percentage of group1 vs group2
Hi,
I've got a matrix report set up that gives the following:
column Group1 Group2
Row1 x y
I need to calculate x/y and cannot get the scope straight.
Any help would be much appreciated.im having the same problem, did you find a way of solving it?
thank you very much
Eli
"devinjc" wrote:
> Hi,
> I've got a matrix report set up that gives the following:
> column Group1 Group2
> Row1 x y
> I need to calculate x/y and cannot get the scope straight.
> Any help would be much appreciated.
>|||Did you ever discover a solution? I'm trying to do the same but with no
success.
"devinjc" wrote:
> Hi,
> I've got a matrix report set up that gives the following:
> column Group1 Group2
> Row1 x y
> I need to calculate x/y and cannot get the scope straight.
> Any help would be much appreciated.
>|||me too
"devinjc" wrote:
> Hi,
> I've got a matrix report set up that gives the following:
> column Group1 Group2
> Row1 x y
> I need to calculate x/y and cannot get the scope straight.
> Any help would be much appreciated.
>|||I solved this problem by calculating the percentage in a different query and
the adding an extra matrix next to the existing one.
To deal with different levels off aggregation, I dident calculate the
percantge but the difference and the base value.
The expression for the percentage then becomes:
=iif( sum(Fields!Base.Value,"Compare") = 0, 0,
sum(Fields!Difference.Value,"Compare") /sum(Fields!Base.Value,"Compare") *100)
It's a bit heavy on the use of queries but it works and I've been looking
everywhere for a different sollution.
"Tango" wrote:
> me too
> "devinjc" wrote:
> > Hi,
> >
> > I've got a matrix report set up that gives the following:
> >
> > column Group1 Group2
> >
> > Row1 x y
> >
> > I need to calculate x/y and cannot get the scope straight.
> >
> > Any help would be much appreciated.
> >
I've got a matrix report set up that gives the following:
column Group1 Group2
Row1 x y
I need to calculate x/y and cannot get the scope straight.
Any help would be much appreciated.im having the same problem, did you find a way of solving it?
thank you very much
Eli
"devinjc" wrote:
> Hi,
> I've got a matrix report set up that gives the following:
> column Group1 Group2
> Row1 x y
> I need to calculate x/y and cannot get the scope straight.
> Any help would be much appreciated.
>|||Did you ever discover a solution? I'm trying to do the same but with no
success.
"devinjc" wrote:
> Hi,
> I've got a matrix report set up that gives the following:
> column Group1 Group2
> Row1 x y
> I need to calculate x/y and cannot get the scope straight.
> Any help would be much appreciated.
>|||me too
"devinjc" wrote:
> Hi,
> I've got a matrix report set up that gives the following:
> column Group1 Group2
> Row1 x y
> I need to calculate x/y and cannot get the scope straight.
> Any help would be much appreciated.
>|||I solved this problem by calculating the percentage in a different query and
the adding an extra matrix next to the existing one.
To deal with different levels off aggregation, I dident calculate the
percantge but the difference and the base value.
The expression for the percentage then becomes:
=iif( sum(Fields!Base.Value,"Compare") = 0, 0,
sum(Fields!Difference.Value,"Compare") /sum(Fields!Base.Value,"Compare") *100)
It's a bit heavy on the use of queries but it works and I've been looking
everywhere for a different sollution.
"Tango" wrote:
> me too
> "devinjc" wrote:
> > Hi,
> >
> > I've got a matrix report set up that gives the following:
> >
> > column Group1 Group2
> >
> > Row1 x y
> >
> > I need to calculate x/y and cannot get the scope straight.
> >
> > Any help would be much appreciated.
> >
Subscribe to:
Posts (Atom)