Filter not working in a report!
Tiwaz
Member Posts: 98
Hi everyone.
I have a report, that is fairly simple, but I encountered a problem I cannot wrap my head around.
I have two DataItems (ex. Header and Line) which are linked (using ex. Var1, Var2, Var3).
Plus there is also a filter in Line DataItem property where variable ex. BoolVar=CONST(No).
I added a List in Report Designer where i added Group by using those same variables Var1, Var2, Var3.
In my list I added a table where I grouped data from Line on Line No.
I added Filter on List group to be BoolVar=FALSE.
But it doesn't work!
Can you say what could be the problem. I need to see only those Lines where BoolVar is TRUE.
Thanks in advance!
I have a report, that is fairly simple, but I encountered a problem I cannot wrap my head around.
I have two DataItems (ex. Header and Line) which are linked (using ex. Var1, Var2, Var3).
Plus there is also a filter in Line DataItem property where variable ex. BoolVar=CONST(No).
I added a List in Report Designer where i added Group by using those same variables Var1, Var2, Var3.
In my list I added a table where I grouped data from Line on Line No.
I added Filter on List group to be BoolVar=FALSE.
But it doesn't work!
Can you say what could be the problem. I need to see only those Lines where BoolVar is TRUE.
Thanks in advance!
0
Best Answers
-
Hello Tiwaz
You said you have a filter in the dataitem on BoolVar=No. Therefore no lines with BoolVar = Yes are in the Dataset and thus, no such lines can be processed in the RDL layout.5 -
I solved my problem by adding filters using SETRANGE in page action which is to call my report
5
Answers
-
Hello Tiwaz
You said you have a filter in the dataitem on BoolVar=No. Therefore no lines with BoolVar = Yes are in the Dataset and thus, no such lines can be processed in the RDL layout.5 -
Tiwaj,
As Vaproj suggested can you please try dong the same, If you want to accomplish something else then please let us know.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Sorry for the late answer.
Thank you for your response
Sadly, this does not dsolve the problem, I have tried it.
If I remove filter on DataItem and then place a filter in rdlc layout, it will show all Lines is BoolVar = FILTER(TRUE) and no lines if BoolVar = FILTER(FALSE).
0 -
I solved my problem by adding filters using SETRANGE in page action which is to call my report
5
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

