IF command on Calc Measure

Discussion forum for PivotCubeX component. Common usage questions. Bug and problem reports

Moderator: Alex Zencovich

IF command on Calc Measure

Postby ccascante » Tue Apr 06, 2010 7:52 pm

Hi there;

I'm trying to do that at the Calc Measures Administrator:

begin
If "Grano Tostado" <> 0 Then
Result = (("Terminado" / "Grano Tostado") * 100)
Else
Result = 0;
end

But I got an error, please help me.

Best regards;

ccascante
Chrisoft Costa Rica
ccascante
User
 
Posts: 18
Joined: Fri Jul 07, 2006 8:46 pm

Re: IF command on Calc Measure

Postby AlexZencovich » Wed Apr 07, 2010 12:50 am

The IF is not supported in embedded language, sorry.
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am


Return to PivotCube ActiveX

Who is online

Users browsing this forum: No registered users and 3 guests

cron