Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Only displaying an item when it's the last line in the group?

  1. #1
    Join Date
    Apr 2007
    Posts
    2,009

    Default Only displaying an item when it's the last line in the group?

    Hi,

    For some reason my users want this:

    line 1 product A 10
    line 2 product A 5
    line 3 product A 50 65

    Where the 65 is the total for the product A group.

    So because they want it on the same line at the bottom of the group i guess i have to include it in the item band, so how do i know it's the last row in the group and hide/show accordingly?

    Thanks,
    Dan

    (Platform 1.7, reporting 0.8.9.9)

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    Add an ItemCount and TotalGroupCount and when both results are the same, you are in the last item row.
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

  3. #3
    Join Date
    Apr 2007
    Posts
    2,009

    Default

    As always, it's somehow deceptively simple when when you say it! it works, thanks again!

    Dan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.