Solved

i have a lotus notes view that has categories and sub categories and then documents, i want to calculate the number of documents in each subcategory that has a specific field value inside document.

Posted on 2012-12-23
3
2,041 Views
Last Modified: 2013-12-18
Hi,

I have a view that has categories-->subcategories-->documents

what I need to calculate is the number of documents in each subcategory that has a specific field value.

I can make a Total column but that is not what I am looking for.For example a subcategory has 20 documents underneath total gives me 20 .but in that document i want to check some field's value if this field is empty in 1 document then it should give me 19 or if 13 documents underneath that subcategory has a field A=""(field A empty) then i want to calculate 7 instead of 20 because 13 documents has empty field A.

How can i achieve it in a easy way?

Tnx...
0
Comment
Question by:nicedone
  • 2
3 Comments
 
LVL 46

Assisted Solution

by:Sjef Bosman
Sjef Bosman earned 500 total points
ID: 38718108
I don't exactly understand where this is going to, but here are some ideas:
- exclude documents you don't want to see from the view, using the SELECT differently
- categorise your documents in a different way, in the sub-categories' formulas

Can you give a clearer example of what the result should be? Maybe a screen shot of your current attempt, with some markings of what you actually wanted or so?
0
 

Accepted Solution

by:
nicedone earned 0 total points
ID: 38726207
I have solved it with making the below formula to the total column.this totals the columns that match with the below formula.

if the below formula gives 1 ,you can add up the count if below formula gives 0 it does not count as a total column

@If(fielda="X" | (fieldb="" & fieldc="" & fieldd="" & fielde="" & fieldf="");0;1)
0
 

Author Closing Comment

by:nicedone
ID: 38734279
thank you for your help...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to concatenate fields in zpl, and how to use conditional statement? 3 71
Query Syntax 17 50
VB.net and sql server 4 53
IntelliJ and Eclipse Neon 2 installations 4 33
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question