en
Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
Lotte Bjørn Jensen  
#1 Posted : Thursday, May 9, 2019 7:16:29 AM(UTC)
Lotte Bjørn Jensen
Rank: Advanced Member

Groups: extranet\Forum
Joined: 4/12/2019(UTC)
Posts: 41

Hi

Can I refer to a comparison in a calculation?

I have a comparison called
"Hour"
having 3 elements called
"Direct"
"Indirect"
"Total"

Can I then do something like this:

if
@[Hour].[Direct] ..... then

BR
Lotte




Ole  
#2 Posted : Thursday, May 9, 2019 9:42:26 AM(UTC)
Ole
Rank: Administration

Groups: extranet\Forum
Joined: 4/7/2011(UTC)
Posts: 497

Hi Lotte,

Yes. Except that it should probably just be sum(@"[Direct]", 0, m1).

And here I am assuming that you just have three columns in your crosstab: Direct, Indirect and Total. You cannot refer to the comparison title itself.

BR / Ole
Ole Dyring
Lotte Bjørn Jensen  
#3 Posted : Thursday, May 9, 2019 10:02:59 AM(UTC)
Lotte Bjørn Jensen
Rank: Advanced Member

Groups: extranet\Forum
Joined: 4/12/2019(UTC)
Posts: 41

Hi Ole

Unfortunately it did not solve my problem.

Here is my example:

Is coming up... I hope ;-)

Refering to a comparison


BR
Lotte

Edited by user Thursday, May 9, 2019 10:23:09 AM(UTC)  | Reason: Not specified

Users browsing this topic
Anonymous
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error

We use cookies to improve your site experience, but they also provide us with information on your use of our website.
To find out more about the cookies we use and how to delete them, see our Privacy Policy. By continuing to browse the site, you are consenting to our use of cookies.

ok