Hide group on 2009 rdlc report.
makina
Member Posts: 6
Hi All.
I need to create a grouping section on a 2009 r2 rdlc report that depending on the numbers of records involved in the grouping this must be shown or hidden. I mean, if the group is created by two or more records the group section must show a total, but if the group is created by the grouping of just one record the section must not me shown....
Can anyone give me some hint to accomplish this requirement?
I have created the group section but I don't get the right condition to hide or show the section depending on the number of records of the group.
Thanks in advance.
I need to create a grouping section on a 2009 r2 rdlc report that depending on the numbers of records involved in the grouping this must be shown or hidden. I mean, if the group is created by two or more records the group section must show a total, but if the group is created by the grouping of just one record the section must not me shown....
Can anyone give me some hint to accomplish this requirement?
I have created the group section but I don't get the right condition to hide or show the section depending on the number of records of the group.
Thanks in advance.
0
Comments
-
You could add a column with expression "1" to your dataset. In your condition you could then sum this field. Something like =Sum(Field.Value < 2, TRUE, FALSE)0
-
Hi Peterz84.
Thanks for your help. That was the idea I was working in, but the problem is "where" I have to specify the condition, I mean, editing the group ->Visibility tab ?
Thanks in advance.0 -
you can probably use "countdistinct" function in the visibility of the grouptotal row. try it out.
it should be something like
=(Countdistinct(field[,Group]) <= 1)
where "field" should be some unique value on the line (a counter, for example)0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 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