How to use filtergroup method ?
soofian
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 ?
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 ?
0
Comments
-
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!0 -
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?).0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
