Skip to Content
author's profile photo Former Member
Former Member

Calculated Key figure

Hi ,

I need to calculate the count of the record which exist in the cube for a material . We don't have standard key figure .

I created a CKF using key figure = Standard cost which is always filled for material inside the cube .

then in properties i used exception aggregation with

"counting all values <> 0" and reference character as "material".

but it is not working fine . it is always bringing 1 in the report .

Our report inlcudes Material in drill down followed by some key figures .

where as in cube we have 5 records for same material .

Any one has idea why it is not working .

regards

Raj

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 11:52 AM

    Hi,

    The simplest option is to create a keyfig in Cube and in transformation put as constant 1 and aggregate it,this will work.

    thanks,

    shana

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 04:58 PM

    Raj,

    Build the CKF in the global CKF area using the definition. Make sure the "Calculation after Aggregation" is not checked.

    Regards,

    Dae Jin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 06:17 AM

    Hi Raj,

    For that you need to create a key figure and then goto the update rules Routine of that key figure.

    There you will find a variable called Result by which the value of the key figure will be populated.

    Assign value one for that variable.

    • RESULT = 1.*

    It will give the count of the records.

    Hope it will help you to solve the issue.

    Regards,

    Yokesh.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.