system
October 6, 2010, 5:40am
#1
Hi Experts,
I am using BOXI SP 3.2 on SQL 2005 environment.
We have a fact table containing a % value measure called ‘Profit’ and they are at the lowest level as decimals (e.g. 0.75, 0.80 etc)
When I create a measure from this and create a report. It seems like it is adding up all of the decimal values.
How do I set this up in the universe correctly that it will roll up properly?
Thanks alot
Jamesy121 (BOB member since 2009-05-04)
system
October 6, 2010, 7:12am
#2
Hi Experts,
I am using BOXI SP 3.2 on SQL 2005 environment.
We have a fact table containing a % value measure called ‘Profit’ and they are at the lowest level as decimals (e.g. 0.75, 0.80 etc)
When I create a measure from this and create a report. It seems like it is adding up all of the decimal values.
How do I set this up in the universe correctly that it will roll up properly?
Thanks alot
I guess you need to format the number in the report to get the all decimal values.
Please try formatting the number.
upendra_boc (BOB member since 2010-09-06)
system
October 6, 2010, 7:32am
#3
I don’t know of any way to roll up a percentage at universe level - you need to do it at report level. Have you searched here? I’m sure there was a really good explanation of why it doesn’t work. Or it might be on Dave’s blog.
Debbie
Edited to add - here’s what a search pulled up:
I am trying to calculate a % based on two objects - it needs to be done in the Universe so that I can perform further averages from the object.
The first object is:
[QRY_Year 1 R Pupils by SOA]
Code:
@Select(3yearcensusdata\Count of UPN) - this returns a correct value in the report
The second object is:
[Qry_Year 1 - Health Data Reception Pupils by SOA]
Code:
sum(Health Data.Numbers)
If I calculate these in the report as:
=[QRY_Year 1 R Pupils by SOA]/[Qry_Year 1 - Health Data Recepti…
Hi
Issue-Calculating Percentage in Universe
I have two measure objects which are summed up:
Summary Cal Qty and Generic Sample Qty and the percentage calculation should be (Summary Cal Qty/Generic Sample Qty )*100
I have used the following formula
((@Select(Qwx Summary Calculation Fact All\Summary Calc Qty)+ 0.0000 )/ @Select(Sample Size Fact\Generic Unit Sample Qty)) * 100
It gives me a multivalue error in my report in some rows
Note :The Measure Objects are set to sum in properties as th…
The second contains a link to Dave’s blog which explains how to deal with percentages and averages and how to use a new feature in R3 which might help you.
Debbie (BOB member since 2005-03-01)