TFS SSRS bug age report

Hello,
I want to create pie chart report which will display bug counts according to their age i.e. within last month, 1-3 month old and 3+ month ago.
I have got dataset (TFS2010Olap as data source) which is displaying 2 columns, System_CreatedDate and WorkItem_count. I want to create group expression at chart level so it categories
source data and display on chart accordingly.
I am using this expression in categoryGroup of pie chart:
=iif(CDate(Fields!System_CreatedDate.Value) > DateAdd("m", -1, now), "Within Previous Month", iif(CDate(Fields!System_CreatedDate.Value) > DateAdd("m", -3, now), "1-3 Months Old", "3+ Months Old"))
but I am getting error: Conversion from string "22/01/2012" to type "Date" is not valid. I tried to do with function
"DateDiff" but getting same error. Please let me know what I am missing or wrong in the expression? I had a look at MSDN post with title "SSRS
Report to calculate Bug Age" but getting this date conversion problem.
I tried to format date as well but getting format error again:
=iif(cdate(format((Fields!System_CreatedDate.Value),"dd/MM/yyyy")) > format(DateAdd("m", -1, now),"dd/MM/yyyy"), "Within Previous Month",
iif(cdate(format((Fields!System_CreatedDate.Value),"dd/MM/yyyy")) > format(DateAdd("m", -3, now),"dd/MM/yyyy"), "1-3 Months Old", "3+ Months Old"))

Hi gajeshm,
I have tested on my local environment and can reproduce the issue,  the issue caused by the format of the
System_CreatedDate which is "dd/MM/yyyy" and not supportted as the date type in the report but instead of string type. You need to convert this field to the string format "MM/dd/yyyy" and then using the CDate()
function to change it the Date type (because the format "dd/MM/yyyy" which is not support to use directly in the CDate() function, so we need to change it to "MM/dd/yyyy" using the split() function and this format will support to use in
the CDate() function).
Details information below for your reference:
Right click the dateset to add calculated field(NewSystem_CreateDate) and use expression as below, this calculated field will display the NewSystem_CreateDate which is the datetype and format is "MM/dd/yyyy":
=Cdate(split(Fields!System_CreatedDate.Value,"/")(1) &"/"& split(Fields!System_CreatedDate1.Value,"/")(0)&"/"&split(Fields!System_CreatedDate.Value,"/")(2))
Modify the first expression you have provided and change the "System_CreatedDate" to the Calculated field "System_CreatedDate":
=iif(Fields!NewSystem_CreatedDate.Value> DateAdd("m", -1, now), "Within Previous Month", iif(Fields!NewSystem_CreatedDate.Value > DateAdd("m", -3, now), "1-3 Months Old", "3+ Months Old"))
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support

Similar Messages

  • AGEING REPORT NOT UPDATING

    After made partly payment to an invoice of vendor, and proecessed it in the outgoing payment, why the ageing report does not reflect the balance of the that particular invoice, instead of showing the original amount and the payment, which makes the ageing report very long and confused. How can I solve this problem? thanks.

    There is no problem with AP balance. After payment made, it is reduced. The only one that remain unchanged is doc status. it is still open since the payment is partial. I suggest to cancel the payment and then repaying again. If problem still persists it will be bugs in the PL you are currently using.
    Rgds,

  • Aging Report Problem

    Dear all SAP expert,
    I have a question about aging report for business partner. I want to know what is the difference between Aging Report with option "display reconciled transaction" check and Aging report with un check option "display reconciled transaction" ?
    If I compared with Balance sheet, the report that has same balance with Balance sheet is Aging Report with option "display reconciled transaction" check but in this report include all transaction like Invoice, Incoming payment etc that's make aging report contain all transaction. I want to use the other aging report with uncheck option that show only open transaction but it has difference balance with balance sheet.
    Why it's different ?
    Thanks for yiur kind help

    What parameters are you using to extract the GL balance? Use no From date, and a To date that is the same as the To Date in your Balance Sheet report.
    In the aging report, make sure you are using the same posting date to date as the aging date, and have no Posting date from, so you are not excluding any transactions.
    If you are finding your balance from drilling to Account Balance in the Chart of Accounts, make sure you are viewing all transactions, not just unreconciled transactions, as this will exclude items reconciled after the required date.
    I know there was a bug with this early on in 2007A, but I'm sure it was fixed before PL30

  • SAP Business One 8.8 - Customer Receivables Ageing Report

    Hi All,
    We have one client on ramp up for SAP Business One 8.8. They love the new version and the feedback has been exceptional. I have one issue with the customer receivables ageing report. Once the results are displayed we are applying a filter on the report which does not seem to meet our expectations (Possible Bug?) We are trying to filter a particular ageing column only to display values if they are greater than 0 for that column. The filter partailly works since it displays the values greater than 0 but it also displays values where the column value = "Blank" thus not achieving the desired result! Does anybody know how to do this and if not should I log this on the SAP Messages Dashboard?
    I have also tried to use a condition where the column is not equal to blank but then again it displays customers who have a negative balance in that column! Once again not the desired result.
    Any help / feedback will be much appreciated!
    Thanks
    Andre Pienaar

    Hi,
    Please check by selecting any amount appearing in the list in the column you are filtering in the "Greater than". After selcting the value update the same to be zero and then filter the results.
    Check if it bring the desired results.
    Also, if not, please update us with the patch you are checking in order to test.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Customer Receivables Aging Report doesn't show correct data

    Hi Experts,
    I have some problem when executing Customer Receivables Aging Report.
    I'm using 8.8 PL14.
    (It should be bug this is very strange ...)
    I can't get same result even if I run it continuosly when I selected option "group by Customer" .
    Total amount of balance due is change each time because of BP shown in the report is change.
    I also got the message " Data is not available, modify selection criteria and re-enter" even though I never change selection.
    During executing this report, no Invoice and JE and banking data were input.
    Please advice if you know about this error or having something information.
    Thanks,
    Kaori Shirasuna

    Hi,
    The latest patch level available for B1 8.8 is PL16. it will be released on week Oct 25-29, 2010. You may directly upgrade to this latest patch level to solve the issue. If you want to try using query SQL to generate the aging report, there are some threads discussion about the query. You may search it in the SBO reporting and printing forum.
    JimM

  • Vendor Aging Report

    Hi All
    i am trying to get a legitimate vendor Aging report from within SAP
    The 2 reports that I am currently looking at are:
    S_ALR_87012085 - Vendor Payment History with OI Sorted List
    S_ALR_87012084 - Open Items - Vendor Due Date Forecast
    But both these do not bring out the output the way i want it - and i tried changing the output control and it still doesnt bring out the report as i want it - I want a report like the S_ALR_87012178 for customers, with output control 1, 6 and a 0 - which gives me a logical list of the aged customers.
    Is there one like this for vendors too? Any suggestions?
    Thank you
    Rukshana

    Hi Ruksaana,
    You can customize the vendor report to show the items overdue per vendor by using the following steps
    1. Create a form using T Code - FKI4
        In this form ( two-axis structure) provide the details for each column as per your Client requirement - Due from 0 - 30 days
        etc. You can create a column (using formula method) at the end by adding the previous columns, this will give you total     
        amount of overdue items for each vendor
    2. Create a report using T Code - FKI1
        Based on the Form created in the above step. Make additional selections based on  client  requirements like document type,
        company code, account type, currency etc. Execute the report.
    The following link will give provides detail steps for the creation of the aforementioned form and report.
    Re: AR aging report (summary by customer)
    Hope this helps.
    - Sadha.

  • Vendor ageing report(urgent)

    in vendor ageing report i am getting the data for the vendors with open item only means those vendors who have to pay depending on the parameter date which we r passing
    in selection screen.
    but i  want all those records with cleared item also depending on that date.
    means suppose there r 2 vendors
    1.sanjeev-he has to pay 1000 but he has paid 500 and left
    with 500 due.
    2. amit -he has to pay 1000 and he had not paid anything till now.
    so when i am executing my report it is showing only
    sanjeev 500
    amit 1000
    but i need
    sanjeev 1000
    amit 1000
    to be displayed but as sanjeev has already paid 500
    so it is not showing the output as above.
    so how it could be achieved

    hi sanjeev,
    anver here.
    do like this.
    if has_paid < has_to_pay.
    write has_to_pay.
    endif.
    rgds
    anver

  • Aging report for Open Invoice

    Hi All,
    I need to develop an Aging report for open invoice, there is no indication for open invoice or close invoice since we are using customise DS and DS from third party system. only one key flag we have is clearing date. so kindly let me know how to write the logic for this requirement.. can I use Customer exit for this? I have an Idea to do like
    first logic is
    *If Clearing date = blank than invoice is = open (by using of this logic we can get all open invoice).
    second logic
    total number of invoice = current date - document date.
    but I do not know how to implement this logic in BEx hnece kinnly advice me whether this logic can be work or suggest with different solution ples..
    Regards,

    hi,
    You can  check few default PO reports wid proper paramater in it
    or
    Can check table EKBE
    or
    Check PO history in the PO doc
    Or
    Check the ME80FN
    Regards
    Priyanka.P

  • WIP : Work Order Aging report

    Hello,
    Is there any standard program given by Oracle on WIP  as 'Work Order Aging report' ?
    I guess not.
    If its not, then is there any other program related to WIP Aging exists in Oracle?
    Thanks in advance.

    Hi,
    Can you please make Ship To also as Primary Business Purpose?
    Regards
    Raghavender K

  • Aging report

    hi I am developing a aging report for which I am getting fields from the tables EKPO and EKKO based on
    s_gjahr  FOR bsid-gjahr  OBLIGATORY.    "Document Fiscal year
    p_date   TYPE vbak-aedat OBLIGATORY,    "A/P Open items
    p_bukrs  TYPE t001-bukrs OBLIGATORY.    "Company
    s_ekorg  FOR mepo1222-ekorg OBLIGATORY, "Purchasing Organization
                    s_ekgrp  FOR mepo1222-ekgrp,            "Purchasing group
                    s_zterm  FOR bseg-zterm,                "Terms
                    s_ebeln  FOR bseg-ebeln,                "Purchase order
                    s_hkont  FOR bseg-hkont,                "Reconciliation Account.
                    s_blart  FOR invfo-blart OBLIGATORY,    "Document type
                    s_date   FOR bseg-zfbdt NO-DISPLAY.
      SELECT * FROM ekko INTO TABLE tbl_ekko WHERE bukrs = p_bukrs
                                             AND   zterm IN s_zterm
                                             AND   ekorg IN s_ekorg
                                             AND   ekgrp IN s_ekgrp.
      IF tbl_ekko[] IS NOT INITIAL.
        SELECT * FROM ekpo INTO TABLE tbl_ekpo FOR ALL ENTRIES IN tbl_ekko
                                               WHERE ebeln = tbl_ekko-ebeln
                                               AND   bukrs = p_bukrs
                                               AND   repos = 'X'
                                               AND   werks IN s_werks. "additonal.
    ENDIF.
    Now my problem is I need to combine the data I have selected from EKKO with a table which has EBELN, I found BSIK but that doesnt have the EBELN field filled.
    Can you tell me some table other than BSEG ( performace issue ) which I can use to select my entries with Inner join... only BSIK has BLART not BSEG..
    I will definitely award points for all the helpful answers

    Hi
    U need to read the EKBE table here you should fine the FI invoices linked to PO
    Max

  • Open aging report

    This report has been extended from an existing query that has been posted on this forum. 
    This report is an aging report for ALL trasnactions, both open and closed.
    Is it possible to modify this query to report on OPEN / unreconciled trasnactions only?
    select T0.shortname,T2.cardcode 'Customer Code',T2.cardname 'Name',T2.U_BU, T2.U_DEPT, sysdeb 'Debit Amount',syscred 'Credit Amount',
    case T0.transtype
    when '13' then 'INV'
    when '14' then 'AR CN'
    when '24' then 'INCOMING'
    else 'Other'
    end 'Type',
    T1.BaseRef'Trans #',
    case T0.transtype
    when '13' then
    (Select Comments from OINV where OINV.Transid=T1.Transid)
    else '-'
    end 'Inv.Rem.',
    (Select SeriesName From NNM1 Where Series=T1.DocSeries and ObjectCode=T0.TransType)'Series',
    T0.Ref1,
    fccurrency 'BP Currency',
    CONVERT(VARCHAR(10), T0.refdate, 103)'Posting Date' ,
    CONVERT(VARCHAR(10), T0.duedate, 103) 'Due Date',
    CONVERT(VARCHAR(10), T0.taxdate, 103) 'Doc Date' ,
    CASE
    when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 < 31
    then
    case
    when syscred <> 0 then syscred * - 1
    else sysdeb
    end
    end "0-30 days",
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 30
    and (datediff(dd,T0.refdate,current_timestamp))+1< 61)
    then
    case
    when syscred <> 0 then syscred * - 1
    else sysdeb
    end
    end "31 to 60 days",
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 60
    and (datediff(dd,T0.refdate,current_timestamp))+1< 91)
    then
    case
    when syscred <> 0 then syscred * - 1
    else sysdeb
    end
    end "61 to 90 days",
    CASE
    when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 > 90
    then
    case
    when syscred= 0 then sysdeb
    when sysdeb= 0 then syscred * - 1
    end
    end "90 + days"
    from JDT1 T0
    Inner Join OJDT T1 On T1.TransId=T0.TransId
    left outer join
    OCRD T2 ON T2.cardcode =T0.shortname where
    T2.cardtype = 'c' and T0.intrnmatch = '0' and
    T2.U_Bu = %0and T2.U_Dept = %1
    ORDER BY T2.CARDCODE, T0.taxdate
    Thanks in advanced Lisa

    Thanks for the feedback Jule - I have changed the query as is as below
    Unfortunately,  the query is still reporting ALL transactions not just unreconciled transations.
    Would be grateful for any assistance.
    Cheers Lisa
    select T0.shortname,T2.cardcode 'Customer Code',T2.cardname 'Name',T2.U_BU, T2.U_DEPT, balscdeb 'Debit Amount',balsccred 'Credit Amount',
    case T0.transtype
    when '13' then 'INV'
    when '14' then 'AR CN'
    when '24' then 'INCOMING'
    else 'Other'
    end 'Type',
    T1.BaseRef'Trans #',
    case T0.transtype
    when '13' then
    (Select Comments from OINV where OINV.Transid=T1.Transid)
    else '-'
    end 'Inv.Rem.',
    (Select SeriesName From NNM1 Where Series=T1.DocSeries and ObjectCode=T0.TransType)'Series',
    T0.Ref1,
    fccurrency 'BP Currency',
    CONVERT(VARCHAR(10), T0.refdate, 103)'Posting Date' ,
    CONVERT(VARCHAR(10), T0.duedate, 103) 'Due Date',
    CONVERT(VARCHAR(10), T0.taxdate, 103) 'Doc Date' ,
    CASE
    when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 < 31
    then
    case
    when balsccred <> 0 then balsccred * - 1
    else balscdeb
    end
    end "0-30 days",
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 30
    and (datediff(dd,T0.refdate,current_timestamp))+1< 61)
    then
    case
    when balsccred <> 0 then balsccred * - 1
    else balscdeb
    end
    end "31 to 60 days",
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 60
    and (datediff(dd,T0.refdate,current_timestamp))+1< 91)
    then
    case
    when balsccred <> 0 then balsccred * - 1
    else balscdeb
    end
    end "61 to 90 days",
    CASE
    when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 > 90
    then
    case
    when balsccred= 0 then balscdeb
    when balscdeb= 0 then balsccred * - 1
    end
    end "90 + days"
    from JDT1 T0
    Inner Join OJDT T1 On T1.TransId=T0.TransId
    left outer join
    OCRD T2 ON T2.cardcode =T0.shortname where
    T2.cardtype = 'c' and
    T2.U_Bu = [%0]and T2.U_Dept = [%1]
    ORDER BY T2.CARDCODE, T0.taxdate

  • GR/IR Aging Report

    Hi,
    I'm new member of this forum. I have a questions.
    I want to create a report that utilizes the functionality of GR/IR aging. I want to ask you, for those who ever build GR/IR aging report, what kind of field I can use to trigger the starting counter of GR/IR aging? like GR date maybe, and what kind of indicator I can use to stop the calculation of GR/IR aging, such as date of posting on BSEG may be (it just my opinion)...
    Thank you.
    Regards,
    Arif

    Hi,
    I don't think it can be acheieved in std report, better use below tables as epr your logic to develop a Zreport.
    EKKO
    EKPO
    EKBE
    MSEG
    MKPF
    BSEG
    BKPF
    And also check the Logic of std reports MC50 , MC46 and MB5B

  • Dunning Letter Design & Aging report

    Hello Experts,
    I have a few doubts in B1 Sales AR -> Dunning and Aging Reports.
    1. How do we incorporate our own letter format for dunning letters? I looked for PLD's, but nothing was available in the print preview screen.
    2. When we execute Customer Receivables Aging report, what is the significance of the column "Future Remit"? In our B1 instance, the receivables that are due 60 or 90 days from current date are not appearing in their respective columns.
    Please advise on how to proceed
    With Regards,
    PS: We are running B1 2005-B / MS-SQL 2005

    Hi Kaatss,
    You should be able to find the Dunning letter formats by clicking on the layout designer button and then from the windows selecting the dunning letter formats from the 'Choose Document Type'.  They go by the ID of DUN0... DUN09.
    As for the columns the 60 and 90 columns show the invoices (values) that are overdue by 60 and 90 days respectively.
    The Future Remit column shows invoices that are still within the due date.  So if you raise two invoice with 60 and 90 day payment terms, but they are still within their due date, their values will appear in the future remit column.
    I hope this helps.  I use 2005A so I hope there are no differences.
    Damian

  • Need to convert AP Invoice Aging Report in Excel format

    Hi,
    Need to convert AP Invoice Aging Report in excel format..there was an existing Invoice Aging report in AP and that was in paper format. That we need to convert to rtf template..
    There was an other concurrent program called 'Invoice Aging Report (XML) - Reserveed for future use', when i am using that rtf template..to get the report output it was taking more than 1 hr time.
    1)Is there any way/patch to get that XML report to be used in 12.1.3 EBS version
    2) is there any other way to get the report output faster.
    Thanks..

    Hi,
    When submitting the request, you may change the output to Excel and get the output in Excel. Otherwise as you mention if you getting the output in text format, you may download the text format and open the document in excel and use the delimitation to format in excel as per your requirement.
    1)Is there any way/patch to get that XML report to be used in 12.1.3 EBS version
    2) is there any other way to get the report output faster.
    Is your statistics up to date, when did you last run gather schema statistics program in Sysadmin responsibility.
    Also what is the record quantity that you are expecting here? Is date range parameter available in the report and if yes, did you try running the report for a day to check the output.
    Thanks &
    Best Regards,

  • Vendor Liabilities Aging Report

    Hi Guys,
    We are trying to generate a Vendor Liabilities Aging report on one of our companies, but no data is being displayed.  Instead the following error message is being shown "Data is not available; modify the select criteria and re-enter [Message 131-85]".  We also tried various options in the selection criteria but still this did not solve our problem.
    We are suspecting that this could be related with data corruption since during this weekend we had power failures on MSSQL and SAP servers.
    Any help from you guys will be much appreciated...
    Many Thanks,
    Bernard

    Hi Bernard,
    Welcome you post on the forum.
    It is more than likely the data consistency issue. You must got certain bad data in your database. Run DBCC first to see if the problem can be fixed. If not, report to SAP support to get help.
    Thanks,
    Gordon

Maybe you are looking for

  • Crashes on iOS

    iCloud Numbers spreadsheet runs on iMac but crashes on iOS devices.

  • Will WLS start 32-bit or 64-bit native library?

    After installing the generic WLS 10.3.4 on HP Itanium platform (64bit), I got both 32-bit and 64-bit native libraries. At runtime, which native library will be used? Is WLS smart enough to pick the right one depending on the JVM I am using? Is it tha

  • Weird USB Hard Drive probem -HELP

    Just upgraded from a macbook to a brand new macbook pro. My USB 2.0 hard drive would work fine on the macbook. Now, on my MBP, I plug it in and nothing shows up on the computer... HOWEVER... If I plug it into my Apple external keyboard, which has 2 U

  • IPhoto won't recognize SD card placed directly into my iMac's SD slot.

    iPhoto won't recognize SD card placed directly into my iMac's SD slot. Image Capture shows the name of the SD card but does not show any photos. If I use the Finder I can see all of the photos on the sd card so I know they are there. I've previously

  • (How) Create a Laser Beam Effect?

    I am working on a project for a client that requires a laser beam. The source will be a laser generator (used fix points in space for the construction of roller coaster track). I need to create a thin red beam (like one of those laser levels you get