on 11-03-2014 4:58 AM
Hi Experts,
I am getting an error "key figure cannot be defined without aggregation" in calculation view during activation.
DETAILS:
var_out = SELECT
VEHICLE_REG AS REG_NUMB,
AF_TIMESTAMP AS TOE1,
(6.286*AF_ENGINE_SPEED*AF_WHEEL_BVSPD) AS GEAR_RATIO
FROM "_SYS_BIC"."Analytic_View_DEMO1"
GROUP BY VEHICLE_REG, AF_TIMESTAMP, AF_ENGINE_SPEED, AF_WHEEL_BVSPD;
Data Type:
VEHICLE_REG VARCHAR(30)
AF_TIMESTAMP TIMESTAMP
GEAR_RATIO DECIMAL 25, 20
AF_ENGINE_SPEED DECIMAL 25, 20 (Declared as Measure in Analytic View)
AF_WHEEL_BVSPD DECIMAL 25, 20 (Declared as Measure in Analytic View)
Thanks..
Regards
Madhusudan Pareek
Hi,
you should use a sum function in expression. For examle: SUM(6.286*AF_ENGINE_SPEED*AF_WHEEL_BVSPD)
Good luck!
--
WBR, Sergey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.