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

How to count unique records in Learning solution

Hi BW experts,

I am using SAP Learning Solution. Using datasource 0HR_LSO_1(Participation) I have pulled data to BW side. I have a requirement where my user wants to see the number of employees who have gone training for that particular year (irrespective of the number of trainings). So basically what is needed is a training flag whose value willl be 0 or 1 (depending upon whether a minimum of 1 training is attended) for that particular year. Is there any existing KF or formula in the transformation or do I have to write a routine for the same? Please help if any other alternative is available.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jan 06, 2014 at 12:12 PM

    Dear Soumya,

    You can achieve your requirement through multiple ways: either through Transformation by wring Routine and populating count.

    - Through exception aggregation at Bex end and get count.

    Better get at end without changing modelling.

    Best wishes, Vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 06, 2014 at 12:16 PM

    Hi

    Write a routine in your transformation setting the result to either 1 or 0 if the learning condition is met or not. Use that keyfigure later in your bex query as your count.

    hope that helps

    Martin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 12, 2014 at 11:11 AM

    Hi Guys,

    Thanks for your help. Got a turnaround for the problem without routines or exception aggregation. Put a 2 DSOs before between the cube and datasource so that only 1 record exists for a particular employee. Thanks for your help anyways.

    Regards.

    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.