on 01-04-2008 11:31 AM
Hello,
I am doing flat file data uploading into the InfoCube. One InfoObject is that of the TICKET_ID. I have another InfoObject
which counts the number of tickets ie. for each unique Ticket ID the count of ticket should be equal to one.
However in the flat file the TICKET_ID repeats multiple number of times. I want to write a routine in the transformation which maps the TICKET_ID to the number of tickets. For each of the unique ticket ID the Number of Ticket should be equal to one. For the TICKET_ID's repeating the number of ticket should be equal to one.
Can you please help me out with the routine.
Thanks in advance.
hi
Have u got the solution or not??
Still u can try in front end itself....May be u try this way...
Create a selection & add ur char in tht & then create a KF with tht selection & found a counter...
Chk it out..
Cheers
BI Learner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Problem Solved.
Pls refer to the following link:
No need for routine
Create a KF for count of ticket
In the Business Explorer tab for creation of infoobject count of ticket give Aggregation as SUM, exception aggregation as Counter of all values and give aggregate reference charecteristics as Ticket ID
Upload the data in cube, execute the report. Results will be matching the count on flat file data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I cant take the data into an ODS this is because my flat file looks like this:
TicketID Hours per Ticket
HD0001 2.30
HD0001 6.00
HD0002 21
HD0002 15
HD0002 9
HD0003 0.30
HD0004 0.45.......................
If i create an ods with TicketID as key field there will be an error in calculating the total hours per ticket.
What i want to display in the cube is as follows:
TicketID Hours per Ticket No of Tickets
HD0001 2.30 1
HD0001 6.00 0
HD0002 21 1
HD0002 15 0
HD0002 9 0
HD0003 0.30 1
HD0004 0.45 1
Thanks.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.