How to use filtergroup method ?

soofiansoofian Member Posts: 7
Hi All,

I want to filter the data in report in such away that these three fields
"Sales (Qty.)", "COGS (LCY)" and "Sales (LCY)" all should not be equal to zero.

The only thing I know is that, filtergroup() method will be used for applying combination of filters for filtering such type of data.

I don't know how to use it. Can anybody explain by example plz ?

Comments

  • krikikriki Member, Moderator Posts: 9,118
    edited 2007-02-20
    You don't need FILTERGROUPS in your case.
    Just this:
    SETFILTER(Sales (Qty.)",'<>0');
    SETFILTER("COGS (LCY)",'<>0');
    SETFILTER("Sales (LCY)",'<>0');
    

    See also http://www.mibuso.com/forum/viewtopic.php?t=16659.

    Edited the post:to put the FILTERGROUP example in Tips & Tricks.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • WaldoWaldo Member Posts: 3,412
    First of all, this is a "heavy" filter ... .
    Second,
    don't know what you're trying to reach with FILTERGROUP? You should be careful with filtergroups, because all different groups are all effective simultaneously. Usually, filtergroups are used to "hide" the filters for a user, but for your report, this is not necessary. There is a lot to find about FILTERGROUP in the help of C/SIDE, as well as on this forum.

    For you report,
    you can set the filters on the dataitem of the report (suppose you mean Cust. Ledger Entry?).

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • WaldoWaldo Member Posts: 3,412
    Posting at the same time ... sorry kriki :|

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • krikikriki Member, Moderator Posts: 9,118
    Waldo wrote:
    Posting at the same time ... sorry kriki :|
    No problem.
    I also edited my post. It is a nice one for Tips&Tricks.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.