I am using webi 6.5.1.
I am trying to calculate a percentage using a count that I have to get as part of a seperate query so I have:
Query 1
Dimension name from tablea
count dimension id from tablea
Query 2
count of something unrelated to the above tableb i.e no direct join and dont want to use a join
I need to show
dim name, count dimension, and then
count dimension/count something unrelated * 100
when I create a variable as above I get a wierd percentage figure that is the same for every dimension name.
How do I get webi to use the count of each dimension/count something unrelated rather than it doing count dimension in total / count something unrelated which is what it is doing now.
Is there a certain function to do this ?
Many thanks
[blue]DBomrrsm[/blue] ![[bandito] [bandito] [bandito]](/data/assets/smilies/bandito.gif)
[blue]Software code, like laws and sausages, should never be examined in production[/blue][black] - [/black][purple]Edward Tenner[/purple]
I am trying to calculate a percentage using a count that I have to get as part of a seperate query so I have:
Query 1
Dimension name from tablea
count dimension id from tablea
Query 2
count of something unrelated to the above tableb i.e no direct join and dont want to use a join
I need to show
dim name, count dimension, and then
count dimension/count something unrelated * 100
when I create a variable as above I get a wierd percentage figure that is the same for every dimension name.
How do I get webi to use the count of each dimension/count something unrelated rather than it doing count dimension in total / count something unrelated which is what it is doing now.
Is there a certain function to do this ?
Many thanks
![[bandito] [bandito] [bandito]](/data/assets/smilies/bandito.gif)
![[bandito] [bandito] [bandito]](/data/assets/smilies/bandito.gif)
[blue]Software code, like laws and sausages, should never be examined in production[/blue][black] - [/black][purple]Edward Tenner[/purple]