AssignedTo showing multiple times on report

I was tasked with creating some reports from Service Manager using the cubes.  My boss wanted a report that showed all active tickets, showing from high to low the analyst, then the category, then the user.  
I used the following Fields:
IncidentStatusValue in the Column Label
IncidentDimCount in the Values
AssignedToUserDim.DisplayName, IncidentClassificationValue, and AffectedUserDim.DisplayName in the Row Labels.
The report looks exactly as I want it to.  
The problem is that the data is wrong on several levels.
Issue 1:  It shows multiple entries for the AssignedToUserDim.DisplayName 
I changed the names, but if I click on the number 1 next to Joe User(Affected User) for either Analyst1 or 2 a tab open with IR48005.  Basically the two analyst both show an active ticket assigned to them, when only one of them should.
Issue 2: The Grand Total that is calculated by the PivotTable is incorrect.  I copy and paste the same numbers into the cells next to the PivotTable and the total is something completely different. 
The weird thing about this also is that when I did this 20 minutes ago before writing this post, the Autocalc showed 130.  
The first issue is more important than the second issue.  It is not just this report and I have tried using many different values only to get the same duplication.  Its almost like the DataWarehouse is not actually deleting the previous AssignedTo
user.  The history in the actual ticket shows that it should be, but the reports show something different.  
This then throws off every report I try to make.  I made one for totals tickets per analyst and I noticed that I got credit for closed tickets that I had previously reassigned, as did the person who the ticket was reassigned to.  
Can anyone offer any suggestions?
Thanks.
Matt 

Unfortunately no. But I think I found a pattern in regards to this: it seems the current assigned to user is always the one listed the last.
I guess this is because the stored procedure behind the AssignedToUserDim doesn't filter if the relationship is still active. This is quite easy to "reproduce" via PowerShell.
Lets say you have an IR with ID IR1234 which has been re-assigned multiple times.
If you run this small query now in PowerShell you'll see that all the AssignedToUser relationships still exists, but only one of them has the property "IsDeleted" set to False.
Import-Module SMlets
$IRO = Get-SCSMObject -Class (Get-SCSMClass System.WorkItem.Incident$) -Filter "Id -eq IR1234"
Get-SCSMRelationshipObject -BySource $IRO | where {$_.RelationshipID -eq "15e577a3-6bf9-6713-4eac-ba5a5b7c4722"}
So, in the DB those AssignedToUser relationships (actually it applies to all relationships) won't be "overwritten" or the old one deleted as soon as you re-assign an incident for example. Instead, new relationshipobjects will be generated and the old ones
changes the "IsDeleted" attribute to True.
Perhaps it would be possible to create a new Dim for the Data Warehouse, re-use the stored procedure for the AssignedToUserDim and modify it slightly to filter only for the active AssignedToUser relationship. Then you could use your newly created dim to
display the current Assigned To User. I haven't tested this though, probably it's more complex than I assume :)
Cheers
Alex

Similar Messages

  • PO Values showing multiple time in Report

    Hello Expert,
    We had one report called PO Status report it is fetching data from ME23N from ECC,when i am checking the report in BW the report PO showing multiple values for different different invoices which should not be the case it should be same,please help me to fix the issue.can i change something in reporting level
    Thanks and Regards,
    Jyoti

    Hello All,
    Thanks for the reply i had cheked by putting PO number and Invoice number next to next in the report but the total amount of the value is coming more than the line items in the Purchase order in ECC.I would like to give example of the issue like for X PO there are 3 line items and 5 invoices the total sum of the line items for the PO is for ex 3000 with  5 invoices.Expected results in BW is the sum of the line items=(PO Amount),but in report it is taking the invoices value and PO value for each invoices and adding all the invoices PO amount as in our case 15000 which is incorrect.Please help
    Thanks and Regards,
    Jyoti

  • Lines are showing multiple times on Invoice Report

    Hi,
    If Payment Terms are Installments then lines are showing multiple times on Invoice Report.
    Suppose Payment Terms are 10 Installments then (Item, Description, Qty, Unit Price and Extended price) lines are showing 10 times.But I need to display only one time line data (Item, Description, Qty, Unit Price and Extended price).
    Please help me to achieve this.
    Thanks,
    Subbarao.

    Hi,
    Thank you very much for your reply.
    I used following ways:
    1) <?xdosxlt:distinct_values(LINE_NUMBER)?>
    2) <?if:position()=1?><?LINE_NUMBER?><?end if?>
    But no luck to achieve the requirement.
    I too thought like your Idea (like displaying multiple) but client wants me to display the only one line data.
    Thanks,
    Subbarao.

  • I recently purchased some information to be downloaded to one of my apps I never received the download and I was charged multiple times I reported the problem my  Community

    I recently purchased some information to be downloaded to one of my apps I never received the download and I was charged multiple times I reported the problem And it's been about a week my question is how long does it take  to credit my account back. It's my money and I want it now.

    It can take a while for your money to show up in your bank, but a week is a bit over the top. Try contacting iTunes Store Support to make sure the refund was issued.

  • Fiori  web service  GetEntity single record show multiple times

    Hi Guys
    I have created Purchase Order GetEntity Web Service. In single Purchase order there are multiple Products. I have show that products in Line Item.
    In that line item a single records show multiple times.
    From Netweaver Geteway  GetEntity  service. I got data in below format.
        "d":
            "results":[
                    "__metadata":
                        "id":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')",
                        "uri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')",
                        "type":"ZHR_VF_RCV_SRV.PurchaseOrderItems",
                        "properties":{
                            "PurchaseOrderHeader":{
                                "associationuri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')/$links/PurchaseOrderHeader"
                    "PoNumber":"4500000215",
                    "PoItem":"00010",
                    "PurMat":"H12",
                    "ShortText":"Trading Good,Reorder Point,Reg.Tr.",
                    "Unit":"EA",
                    "DispQuan":"20.000",
                    "PurchaseOrderHeader":{
                        "__deferred":{
                            "uri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')/PurchaseOrderHeader"
                    "__metadata":{
                        "id":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')",
                        "uri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')",
                        "type":"ZHR_VF_RCV_SRV.PurchaseOrderItems",
                        "properties":{"PurchaseOrderHeader":{
                                "associationuri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')/$links/PurchaseOrderHeader"
                    "PoNumber":"4500000215",
                    "PoItem":"00020",
                    "PurMat":"H11",
                    "ShortText":"Trading Good,PD,Reg.Trading",
                    "Unit":"EA",
                    "DispQuan":"20.000",
                    "PurchaseOrderHeader":{
                        "__deferred":{
                            "uri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')/PurchaseOrderHeader"
                    "__metadata":{
                        "id":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')",
                        "uri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')",
                        "type":"ZHR_VF_RCV_SRV.PurchaseOrderItems",
                        "properties":{
                            "PurchaseOrderHeader":{
                                "associationuri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')/$links/PurchaseOrderHeader"
                    "PoNumber":"4500000215",
                    "PoItem":"00030",
                    "PurMat":"H21",
                    "ShortText":"Trading Good,Reorder Point,Batch-FIFO",
                    "Unit":"EA",
                    "DispQuan":"30.000",
                    "PurchaseOrderHeader":{
                        "__deferred":{
                            "uri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')/PurchaseOrderHeader"
    any one please help me on that.
    Regards
    Pankaj Kamble
    [Removed by Moderator]
    Message was edited by: Michael Appleby

    Hi  RW
    I have created  NW web sevice used  'SEGW'. In that web service there are two Methods  (PurchaseOrders  &  PurchaseOrderItems )  with   two different BAPI.
    In both BAPI   "PoNumber"   is common & Primary Key.
    so please guide me. where should i set my key.
    Regards
    Pankaj Kamble

  • IMac shows multiple times on my Apple TV after installing Yosemite.

    After upgrading to Yosemite my IMac show multiple time on my Apple TV.  

    Weird.  Restart everything including your router.

  • Adobe DNGConverter 8.1 is showing multiple time as a device

    Adobe DNGConverter 8.1 is showing multiple time as a device on my iMac running OSX 10.9.  Today it shows 18 times.  I have not launched any Adobe software today. 

    I am Windows, so I have ZERO information on how you tell a Mac not to load software automatically

  • Element showing Multiple times in SOE.

    Hi,
    I have added one element called 'Basic' one time only in element Entries. But it is showing 2 times in SOE report and Run Results also.
    How to remove that. Pl. help.
    Thanks in advance.

    The Element was processed multiple times in the Payroll run and hence you can see the element twice in the Run Results. The possible reasons could be
    1. Element was prorated.
    How to check : Check whether the Start Date and End Date were populated in the run results screen for the two entries of the element.
    2. Multiple Element entries were created for the Element which is ruled out as you confirmed that there are no multiple element entries.
    3. Run results were triggered due to Indirect Results.
    you need to fire some queries to find out this.
    select * from pay_element_entries where element_entry_id in (select source_id from pay_run_results where run_result_id in (<id1>,<id2>) )
    where id1 and id2 are run_result_ids of the two run result entries for the element.
    Performing above checks should give you the reasons.
    Regards,
    Sharath

  • A single photo in Aperture smart album shows multiple times on Apple TV2.

    Sometimes a random photo in my Aperture smart albums displays on my ATV2 multiple times..can I fix this? For example, currently a single picture shows up on the Apple TV in the photos taken "in the past week" smart album 124 times, and the same picture shows up in the "in the past month" smart album 15 times.
    When I double check the picture in the original smart album on the computer, it appears correctly, i.e. only one time.
    Suggestions?

    I'm having the same problem.  I deleted all the photos in the photostream then tried to drag a couple new ones in to see if they'd synch.  Nothing is happening.  I recently installed aperture (have about 125 gb in the library).  If anyone has an idea what to do, i'm open to try something.

  • Failed Test Steps reported multiple times in Report

    Running Multiple Numeric Limit Tests in a for loop, and when a test step fails, the result is reoprted multiple times in the report (sometimes repeated as many as 5 times for one failure).  Thought it had something to do with the fact that it was a multiple numeric limit test, but each test only checks 2 limits.  Also, sometimes the result appears indented in the report, almost like TestStand thinks it is starting a new section, in the middle of a test.  Any ideas?  Please advise.
    Thanks,
    GSinMN   

    Hi,
    Which TestStand version and Report Format are you using? Please share the test sequence file if possible.
    I executed the attached sequence file which has Multiple Numeric Limit Test with 2 limits in a for loop  and generated ATML 5.0 report using tr5_horizontal stylesheet to display. The results appeared as expected in the report with failures shown for each iteration in the loop.
    Regards,
    Sahana
    Attachments:
    NumericFormats_Forum.seq ‏7 KB

  • Bridge issues:  Bridge does not open.  It can show multiple times in TaskBar but nothing to user

    Issue 1 Bridge does not open.  If you click on the application multiple times in trying to get it to load... it shows the app multiple times in the TASK BAR Manager. 

    Sounds like you may need to restart the computer Braswels.
    Try that and see if it resolves the issue.

  • IMac shows multiple times in Finder

    I have an issue in the Finder.
    I'm working on my iMac. It keeps showing my iMac multiple times, but I can't connect to any of them, and worst of all, I can't remove them.
    Anyone had something like that, or knows how to resolve this?

    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Preferences/com.apple.finder.plist and com.apple.sidebarlists.plist. Move the .plists to your desktop.
    Re-launch Finder by restarting and test. If it works okay, delete the plists from the desktop.
    If the same, return the .plists to where you got it  from, overwriting the newer ones.
    Thanks to leonie for some information contained in this.
    You might need to redo the View settings after an update.

  • Excel is not showing multiple Drill thru report selection option

    We have created 3 drill thru reports in EIS, excel is not showing Select Drill-Through Report Dialog Box when tying to acess drill thru reports. It defaultly executes the first drill thru report, we want it to list the available reports so that we can select accordingly after view/launch is selected.
    essbase 7.1.6 version SQl server 2000

    Hi,
    This Prompt message would have been set in WAD(XHTML Coding section) in your old project. Now , you cross check your Web template for the same. Your issue will be resolved.
    Regards,
    Suman

  • Show multiple parameters on report

    Hi, most of the reports I make have multiple parameters, for example, I want to show the number of calls received for accounts and technical combined. I tried using the join function like this Join ({?Workgroup},',')   but it just doesn't work. I get an error saying "A String array is required here".
    Any ideas on how I can get this working? I've never worked with arrays before.
    Thanks
    Paul

    Try this
    local stringvar output;
    local numbervar x;
    for x := 1 to ubound({?Filter})
    do
    output := output+totext({?Filter}[x])+","
    output
    Regards,
    Raghavendra

  • Time Machine showing multiple times in finder

    One of my clients is having an issue where throughout the week the time machine volume will slowly keep adding multiple copys of itself to his finder sidebar. It seems like it is not unmounting after a backup and will clutter the finder sidebar. A reboot removes them but they always come back.

    Are those backups on a network?
    If so, yes, that does happen on occasion.  Exactly why it happens isn't clear, but It may be that while the volume is mounted by Time Machine to do a backup, the user enters the "Star Wars" display to look at the same set of backups, and somehow with both accessing it at the same time, the last process to use it doesn't realize it needs to be unmounted.
    It may also be that the backups aren't finished indexing when the backup completes, so doesn't unmount them.
    You might want to try repairing them, per #A5 in Time Machine - Troubleshooting.

Maybe you are looking for