Grouping withot field no.

guptavarunmcaguptavarunmca Member Posts: 95
Hello
i want to group my data in report instead of posting date only with the month of that posting date .Is this possible in navision.
With Best Regards:
VARUN K. GUPTA

Comments

  • vijay_gvijay_g Member Posts: 884
    Earlier has discussed on this topic....you can search
    solutions is you have to add a field Name Month in table and calculate month for each posting date then you can.
  • guptavarunmcaguptavarunmca Member Posts: 95
    Please let me know the process how to group if i have month field.
    With Best Regards:
    VARUN K. GUPTA
  • ShonatinaShonatina Member Posts: 114
    Please let me know the process how to group if i have month field.

    do it the same way you would have done with the posting date, now instead of posting date, use Month.
    smile always
    shona
    That which you seek inside is that which you find outside
  • guptavarunmcaguptavarunmca Member Posts: 95
    I used the same but not working. i use month in totalcausedby but nothing grouped
    With Best Regards:
    VARUN K. GUPTA
  • alok_didaalok_dida Member Posts: 73
    vijay_g wrote:
    Earlier has discussed on this topic....you can search
    solutions is you have to add a field Name Month in table and calculate month for each posting date then you can.

    Without adding month field we can also do it.
    In group use Expression instead of direct field value.

    Suppose in your table field name is "Posting Date" and you want to group your data based on month in Posting Date.
    You can use following expression for it.

    =MonthName(Month(Fields!Cust__Ledger_Entry__Posting_Date_.Value))

    instead of =Fields!Cust__Ledger_Entry__Posting_Date_.Value this.

    I have did this thing for RTC.
  • guptavarunmcaguptavarunmca Member Posts: 95
    I used following code in group header section

    CurrReport.Showoutput:=CurrReport.TOTALCAUSEDBY = MonthName(Month(Rec."Posting Date"));

    Month is calculated field for month from posting date.



    But its giving error monthname not a function.

    ](*,) ](*,) ](*,) ](*,)
    With Best Regards:
    VARUN K. GUPTA
Sign In or Register to comment.