Changing Total functionality in Views

I have a view that displays financial data for a daily basis. It is categorized by weeks and also departments. What I need to do is have a total line on the week category but no where else. Is this possible??? I can only see a way to show totals for the column but it totals the week category and also the department category.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Create the Total column after the week category and it will display the total of the week and not the department category


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TheBull369Author Commented:
well each column would need a total except for the row that has the department, if that is what you mean can you tell me how I would do that??
As p_partha suggests, Create a separate column with the formula of 1, set it total but check hide detail rows.  If you put the column after the Category, then it will show you a total for the category.

You can also do a bit of computation in the column, @if(this, 1,0) to total certain values.  If the view is categorized, and you put the column after the category, then it might clip the category. You need to play with it to get your results.
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

TheBull369Author Commented:
could be that im tired, explain formula of 1??
TheBull369Author Commented:
think I tried what you were talking about but didnt work.... the total line needs to be the sum of the detail records but again only for that week, not at the first category level i.e.

     Week            100  125  50
        Monday       25    50   10
        Tuesday      25    25   30
        Wednesday 50    50   10
Department 2
     Week           50   100   10
       Monday        25   50    5
      Tuesdya        25   50    5

Something like that
Sjef BosmanGroupware ConsultantCommented:
Impossible. When you want totals in a view you'll get totals everywhere, because totals shall be totals. The only thing you can prevent is the value per document.

Sorry :|
Oops, now that I see the column, you just want the week but not the department?  Only way I know to do this is have a form called: week, and an agent that runs to fill in the report amounts, and then use a column to sort the week forms from the rest.  Of course, if you want to have month totals, or department totals, then you have "month" forms, and "Department" forms.

Usually if you want the week to roll up, then you can't have anything but the "week" forms in the view.

Most times people want a short, quick way to display "excel" like reports in a view... unfortunately, those take a bit of work, since Notes is a database and not a spreadsheet.

TheBull369Author Commented:
I have no problm with giving ya'll the points but there was no solutiuon to the problem given as its my understanding there is no way to do what I was asking.
Sjef BosmanGroupware ConsultantCommented:
Yeah! I was the only one with the right answer! It didn't solve the problem, but that's not how points should be rewarded ;)

Please read
    "How to grade"
TheBull369Author Commented:
I would have to say then split them unless you have a huge objection to it.... You all tried to answer the question...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.