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
In brief:
A) Make sure your two “base” measures (Summary Cal Qty and Generic Sample Qty) are using SUM in the SELECT box of Universe Designer as well! Only then will proper SQL code be generated such as:
SELECT SomeDimension, SUM(myMeasure)
FROM MyTables
GROUP BY SomeDimension
B) Make your calculated percentage measure a smart measure (a.k.a. database delegated measure).
Little note: @Select does not tell us much here, we need to see the real underlying code!
Smart measures/database delegated measure were introduced with XI R3+
In your case (prior to XI R3), you must calculate the percentage measure in the Webi document as a local variable, otherwise your percentage measure will not roll-up properly within the report!
Again, did you check your two “base” measures?
You MUST use SUM in the SELECT box, such as
SUM (myfactTable.Measure1)
That is in addition to SUM under properties!
See my other entry here explaining SQL aggregation and projection of measures.