We help IT Professionals succeed at work.
Get Started

Change group options using a formula?

Westwindcorp
Westwindcorp asked
on
1,732 Views
Last Modified: 2012-05-05
My users have asked me for a report that would display grouped data in two different formats: by month or by week.  The catch is that they want to be able to choose between the two options at runtime.  I currently have the data grouped by date, then by project number, with the detail records hidden and available in a drill-down.  They would want the top-level data to look something like the example below.

July 2008        $100,000
     Project1          $30,000
     Project2          $50,000
     Project3          $20,000

-----or-----

Week 29          $45,000
     Project1          $10,000
     Project2          $15,000
     Project3          $20,000

My first approach was going to be to create a parameter the users could set, then change the group display option to print either by week or by month depending on that value.  But I can't find anywhere to put the formula!

Am I missing something obvious?  Is there a better way to approach the problem?  I really don't want to create two separate versions of the same report over a formatting difference.
Comment
Watch Question
Top Expert 2004
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE