Creating statistics based on two or more fields
Hi!
Curious if the functionality of Adobe Forms has the same possibilities with calculating stats based on several fields as one can do with Excel. For example, can I create a SUMPRODUCT formula to find all the replies that meet two or more critieria, and generate a bar graph with the result?
Hi;
You can set up formulas in the Response Table in the View Responses tab. It does not generate a graph but you can add a Summary Report tile (from the Insert menu) for the new column that shows the count (it may be possible to show a bar chart but I only got it to show count).
These are the formulas available:
http://helpx.adobe.com/acrobat-com/formscentral/help/formula-syntax-built-in-functions.htm l
Here is a brief tutorial - note that you can set up formulas in rows or columns: http://acrobatusers.com/tutorials/how-to-work-with-formulas-in-formscentral
Thanks,
Josh
Similar Messages
-
WHERE clause creating a join for two or more tables
The CS3 Dreamweaver book says that the WHERE clause can
create a join for two or more tables. The join was created, but the
data is repeating. I have searched the web and this forum and have
not found the answer.
My Master page filters the recordset by Style No and when a
customer clicks on a particular style, it sends him to the Detail
page. All the records are showing from all tables on the detail
page from the Dynamic List, except they are showing multiple times
(ex. Size table has 4 sizes and Color table has 2 colors - my Size
Drop Down list is showing 8 options and my Color Drop Down List is
showing 8 options) I have a Master Page with a recordset pointing
to a Detail Page using the same recordset.
Master page works perfectly.
Master Recordset SQL:
SELECT products.itemID, products.category, products.styleno,
products.name, products.description, products.ourprice,
products.imageTH, products.image, coloroption.color,
sizeoption.size
FROM products, coloroption, sizeoption
WHERE category = 'chefcoats' AND
products.styleno=sizeoption.styleno AND
products.styleno=coloroption.styleno
GROUP BY products.styleno
ORDER BY styleno ASC
The Detail Recordset:
SELECT products.itemID, products.category, products.styleno,
products.name, products.description, products.ourprice,
products.imageTH, products.image, sizeoption.size,
coloroption.color
FROM products, sizeoption, coloroption
WHERE itemID=colname AND products.styleno=sizeoption.styleno
AND products.styleno=coloroption.styleno
I tried using the GROUP BY on the detail page, but then it
only showed one size and color from the dynamic drop down list. I
tried changing the field name "styleno" in the other tables to be
unique, however, I was using the table identifer. I tried using the
JOIN command instead of the WHERE clause and that didn't help
either.
On the detail page, the customer is supposed to click on the
Size box and see sizes XSM - 6XL ONLY ONE TIME. and then be able to
click on the Color option and see White, Black, Red ONE TIME.
Is this possible?
Thank you for giving your time to read this.!
EvieDo you have a link we can look at to see what you are trying
to do?
Dave
"EviePhillips" <[email protected]> wrote in
message
news:[email protected]...
> The CS3 Dreamweaver book says that the WHERE clause can
create a join for
two
> or more tables. The join was created, but the data is
repeating. I have
> searched the web and this forum and have not found the
answer.
>
> My Master page filters the recordset by Style No and
when a customer
clicks on
> a particular style, it sends him to the Detail page. All
the records are
> showing from all tables on the detail page from the
Dynamic List, except
they
> are showing multiple times (ex. Size table has 4 sizes
and Color table has
2
> colors - my Size Drop Down list is showing 8 options and
my Color Drop
Down
> List is showing 8 options) I have a Master Page with a
recordset pointing
to a
> Detail Page using the same recordset.
>
> Master page works perfectly.
> Master Recordset SQL:
> SELECT products.itemID, products.category,
products.styleno,
products.name,
> products.description, products.ourprice,
products.imageTH, products.image,
> coloroption.color, sizeoption.size
> FROM products, coloroption, sizeoption
> WHERE category = 'chefcoats' AND
products.styleno=sizeoption.styleno AND
> products.styleno=coloroption.styleno
> GROUP BY products.styleno
> ORDER BY styleno ASC
>
> The Detail Recordset:
> SELECT products.itemID, products.category,
products.styleno,
products.name,
> products.description, products.ourprice,
products.imageTH, products.image,
> sizeoption.size, coloroption.color
> FROM products, sizeoption, coloroption
> WHERE itemID=colname AND
products.styleno=sizeoption.styleno AND
> products.styleno=coloroption.styleno
>
> I tried using the GROUP BY on the detail page, but then
it only showed
one
> size and color from the dynamic drop down list. I tried
changing the
field
> name "styleno" in the other tables to be unique,
however, I was using the
table
> identifer. I tried using the JOIN command instead of the
WHERE clause and
that
> didn't help either.
>
> On the detail page, the customer is supposed to click on
the Size box and
see
> sizes XSM - 6XL ONLY ONE TIME. and then be able to click
on the Color
option
> and see White, Black, Red ONE TIME.
>
> Is this possible?
>
> Thank you for giving your time to read this.!
> Evie
>
> -
Formula in Fields and search two or more fields
Hi, is it possible to extract two or more fields to a UDF and add some text in it?
For example, in UDF field A in AR invoice, we extract field B and field C and field D together and add
If I want to add formula in field, what operators should I use such as +-*/?
For example, fieldA in row of AR invoice plus fieldB in row of AR invoice mulitply by 20%.
Thanks.
Raymond.Raymond,
You cannot use T0.xyz, .. as you are not referencing any table.
If you want the values on the screen for 2 different columns then you need to use their column references.
Example: For getting the Price from Invoice rows you would use
SELECT $\[INV1.Price]
To avoid getting the currency symbol you could use SELECT $\[INV1.Price.Number]
The usage of .Number extracts only the number part of the column.
Please specify the document and the fields names and what you want to do and I will help you from there
Suda -
Suppressing Details based on two or more formula
Post Author: rachelcameron
CA Forum: Formula
formula = {loan_main.datepurchased} <> {?Date Purchased} AND not ({loan_query.reivname} like "wells") i am suppressing the above fields in details b of a report. however, the report is not acknowledging the 'AND'statement. the report has two details a and b. a is displayed all of the time and b only when it does not meet the above mentioned criteria.Post Author: GPMichal
CA Forum: Formula
Can any of the values in the "Not" section of the formula be Null or ""? If so, you may have to address the Null situation along with the "Like" situation. -
Report based on two (or more) views
Hi,
Situation is this - I have two views, which have same type and number of rows. My goal is to create a report which has one bind variable (let's say ':query_nr') so, that when :query_nr=1 then report shows data only from the first view, and when :query_nr=2 then only from the second view. I know that the operator UNION ALL
would do the job:
select * from view_1 where :query_nr = 1
UNION ALL
select * from view_2 where :query_nr = 2
but since the amount of data is large, then the execution time is unacceptable.
Is there any other way to approach?
Thanks in advance,
MadisHow does the query perfom from sqlplus. There is no way we can make a query execute faster from a portal report than it does from sqlplus.
There are a few things you can try out like
1. having not too many rows per page
2. using a text format
3. not using condtional formatting -
Grid Layout - Getting two or more fields to display on the same line/row.
I am using version 4.2.
I have a form with a number of items.
I wish to control the display of the items so that some fields are beside each other (on the same line or row).
I have set the grid layout as follows:
:PX_ITEM1
Start New Row: Yes
Column: Automatic
Column Span: Automatic
:PX_ITEM2
Start New Row: No
Column: Automatic
New Column: Yes
Column Span: Automatic
When I do this the items are not displayed on the same row.
I can see when you change the "Start New Row" from No to Yes, the item fields ARE moved into the same <Div> that controls the row, but they just aren't displaying how I would like them.
Has anyone got this working?
Amanda.Hi Amanda,
I believe I have discovered the cause of the issue you are facing.
The problem is with the "Alert Region" region template and that it does not have any display points specified so indicate the number of grids that can fit in its region body. Without having any display points, the grid layout system attempts to use all columns available to its container. However, because the Alert Region has additional padding within, the columns will not fit and wrap to the next line.
To fix this issue, you will have to modify the "Alert Region" region template, go to "Display Points" and click Add Row. You will need to enter the following fields:
Name: Region Body
Template Substitution: BODY
Grid Support: Checked
Maximum Fixed Grid Columns: -1
This will fix the issue for you. I've logged a bug within our bug system to track this so we can fix it in a future release of APEX.
Best,
Shakeeb -
OBIEE Query: Can I use the "IN" with two or more fields?
Hi. I'm trying to do a simple query like this:
Select "Tempo"."Anno" as anno,
"Tempo"."Mese" as mese
from "PRE"
where ("Tempo"."Anno","Tempo"."Mese") IN (select "Tempo"."Anno", "Tempo"."Mese" from "PRE")
but BI Publisher returns this error:
java.io.IOException: prepare query failed[nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <,>: Syntax error [nQSError: 26012] .
why? (If I use a concat the query works, but for performance is bad!)anyone knows something?
-
Is it possible to query an Item with two or more conditions in OOB Update List Item WF Step
In SharePoint Designer 2010, in Workflows, is it possible to give more then one condition when querying items? Let me explain, it is fairly easy to drop Update item in this list step, and say, for example, Update item with ID X. However, if is it possible
to do something along this lines with OOB steps, Update an item in this list where Title is Equal to "abc" and Modify date no older then 3 days.
Update: Workflow is started when the item is added to the list. What I would like is to update some fields on this item depending on information in this item and in external list. For example
Current Item Field 1 has value "abc"
Current Item Field 2 has value "123"
Current Item Field 3 has value "456"
External List has Item with value in Field 1 "123"
External List has Item with value in Field 2 "abc"
External List has Item with value in Field 3 "xyz"
Update Current Item Field 3 with value "xyz"
In short I would need following query - Update Current_Item_Field_3 with value from External_List_Field_3 where Field 1 is equal to Current_Item_Field_2 and Field 2 is equal to Current_Item_Field_1Hi,
From your description, I understand you want to update list item with workflow based on two or more conditions.
To resolve your issue, you need to use “If current item field equals value” condition. Use this condition to compare a field in the current item that the list or reusable list workflow is currently running on to a value. Values can be static text, dynamic
strings, and lookups to variables, context information, or other SharePoint fields. And you can learn more about each condition by referring to the article:
https://support.office.com/en-in/article/Workflow-conditions-in-SharePoint-Designer-2010-A-quick-reference-guide-d8e33ac7-9336-487f-a60b-388c4ea497ff?ui=en-US&rs=en-IN&ad=IN
I assume your External List is called “ListB”, and Current List is called “ListA”, You can follow the steps below:
1. Add “If current item field equals value" for condition that ListB Field2 equals to ListA Field1, then set the second condition “ListB Field1 equal to ListA Field2” as the “Find the List Item” in the “Lookup for Single line of text”
as the screenshot below:
2. Add “Update List Item” as the screenshot below for updating Current_Item_Field_3 with value from External_List_Field_3. In addition, you should set “Find the List Item” in “Lookup for Single line of text” same to the “Find the List Item” in step 1:
In addition, if you have more conditions, you could add “If current item field equals value” condition, and you should set each “Find the List Item” in “Lookup for Single line of text” same to the “Find the List Item” in step 1.
Regards,
Rebecca Tu
TechNet Community Support -
Set a relation between two or more images
Is it possible to create a relation between two or more images?
For example: We have an image in three versions (rgb, cmyk, gray). If I find one of these, I would like to klick on a button like "show correspondend images". So I can see all versions of this images we ever saved.
Any idea?
Best regards!
RomanI don't think Lightroom handles cmyk images.
For rgb and gray, you can stack the images, or make the gray from a virtual copy of the rgb. In this way, simply unstacking the images results in your requested "show corresponding images". -
How to create a unique key using two or more attributes?
how to create a unique key using two or more attributes ?
The following example illustrate how to create a unique key using two or more attributes/fields
Scenario: Implementing Unique Key on ManagerID & Location ID in DepartmentEO(Department Table)
Step#1: Open the Desired Entity Object “DepartmentEO”. Go to Overview tab & Click “General” Finger tab.
Step#2: Expand “Alternate Keys” section & click “+”.
Step#3: In the Pop-up wizard, Enter a name for alternate Key “Unique_Manager_X_Location”.
Step#4: Select the desired attributes/fields from available list & Shuffle to right side.
Step#5: Now go to “Business Rules” finger tab.
Step#6: Select “Entity Validators” in the list & click “+” to add a new entity level validation rule.
Step#7: In the Pop-up, Select “Rule Type” as Unique Key
Step#8: In the “Rule Definition” tab select the key “Unique_Manager_X_Location”created.
Step#9: Now go to “Failure Handling” tab, and click the Magnifier Icon .
Step#10: If the key is not already created then in the “Select Text Resource” Popup, Using the functional design document, Enter display value, Key and Description. And click “Save & Select” Button.
Step#11: Now Click “OK”. -
Need one more field based on comparision of other fields
Report Builder 6.0.8.11.3
ORACLE Server Release 8.0.6.0.0
Oracle Procedure Builder 6.0.8.11.0
Oracle ORACLE PL/SQL V8.0.6.0.0 - Production
Oracle CORE Version 4.0.6.0.0 - Production
Oracle Tools Integration Services 6.0.8.10.2
Oracle Tools Common Area 6.0.5.32.1
Oracle Toolkit 2 for Windows 32-bit platforms 6.0.5.35.0
Resource Object Store 6.0.5.0.1
Oracle Help 6.0.5.35.0
Oracle Sqlmgr 6.0.8.11.3
Oracle Query Builder 6.0.7.0.0 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle ZRC 6.0.8.11.3
Oracle Express 6.0.8.3.5
Oracle XML Parser 1.0.2.1.0 Production
Oracle Virtual Graphics System 6.0.5.35.0
Oracle Image 6.0.5.34.0
Oracle Multimedia Widget 6.0.5.34.0
Oracle Tools GUI Utilities 6.0.5.35.0
Iam having report layout as below
-- M_6
-- M_10
-- B_13
-- F_94
-- M_FOR_REP1
-- R_SALESMAN
-- M_39
-- B_74
-- F_113
-- M_7
-- B_33
-- F_2
-- M_CUSTOMER
-- R_CUSTOMER
-- F_98
-- M_GNAME
-- R_5
-- M_12
-- F_41Above is my full layout of my report how it look like
(B_33) Sales Men : F_2
F_2 lists out the all the salesmen.(david, george .... so on)
F_98 Lists out all the categories of products (Furniture , Automobiles .... so on)
F_41 Lists out amount of particular category
F_113 lists out the sum of F_41.
Parameters that i pass is :
From Date : 01-AUG-11
To Date : 31-AUG-11
Company Code : 110
Orgn Name : Cytrex OU
Sales Type :
Salesmen From : DAVID FOO
Salesmen To : DAVID FOO
Customer From :
Customer To :
Year From Date : 01-JUN-11
Year To Date : 31-AUG-11
Report Detail : Yes
And the output for my report is
Item Type ProductFamily Quantity Sales
(MYR)
Sales Men : DAVID FOO
01FN
01FN
FNDM
FNUM
NEW CASA [BROWN (CS5839)]
CELLINI LEATHER [BEIGE FL35A]
CELLINI LEATHER [BLACK FL 10B]
21,585.50i need one more field and the result should like to compare F_2, F-98, F_41
For every salesman(F-2) there will be different category (F_98), i need to add the amount (F_41) for all the same category.
like
Customer : David
Sales men : Thomas
Furniture 100
Automotives 50
Textiles 20
Mobiles 10
Sales men : Daniel
Furniture 30
Textiles 10
Ship 20
Customer : George
Sales men : Thomas
Furniture 20
Mobiles 50
Sales men : Daniel
Furniture 10
Mobiles 20
{code }
result Salesmen : Thomas Daniel
Furniture 120 40
Automotives 50
Textiles 20 10
Mobiles 60 20
Ship 20
means all the based on the category for each salesman for different customers should be added.Please explain me how to place the extra field and write the logic for that. i am trying for this from past one month nobody is giving proper feedback, if you want to know anything more regarding this let me know i will provide you with the full fledge information.
Edited by: user9093700 on Mar 12, 2012 1:08 AMyour break is nt the better for this
i think you can create a temporary table
the fields salesman category and quantity
insert and update for each record with a formula or create a new sql query and maybe use a matrix to show as you want -
Create two or more GL account in same material grp
Is it possible to create a two or more GL account for material group based on plant level.
ThanksHi Elaine,
I am not quite sure what are you trying to do. Do you mean material type? Either or the assignments of GL accounts to materials mainly depend on the valuation class. So under the same material type you could have different materials going to different accounts or valuation class. Typically each Material Type is defaulted to one valuation class, but that doesn't necessary mean that individual materials master records can be changed to another one, which may be pointing to another GL account.
Hope this helps.
GG -
Unable to filter a formula field based on two conditions
hi,
I have a report with 3 subreports in it. When i drill down onto first subreport i am getting correct records in details based on selection criteria but when i am unable to populate the same record count in summary.
For example
On summary i see : 60 when i drill down i see 20 records which is correct but not reflecting onto summary report
the details selection criteria is based on two fields where field1>=1 and field2= "Text"It is coming out good (20 records) but in summary i am unable to populate this based on same selection criteria
The main issue i am facing was if i apply a filter on summary selection criteria all the subreport counts are getting affected. Is there a way i can apply filters only one one field
Please suggest
Thanks!
LuckyThanks! for the prompt response Abhilash
I got part of what you told me. Yes i am calculating the counts in the summary report.
Basically here is the selection criteria: i need to filter the records based on two conditions. One is x.field1= "Admin" and x.field2=act_pct>=1
For example:
Admin Returns 50 but when i dig into details it showing as 20 records ( based on selection criteira above)
when coming back to summary . 50 what ever is returing here is based on a formula ( if x.field1="admin" then 1 else 0) ..in addition to this i need to filter that by x.field2>=1 which is not taking it
Is there any syntax to do this
If i apply a filter on this particular 50 record its bee applying for whole summary report ...
And from what you said :
Why don't you create the summary in the Subreport and maybe use shared variables to bring it back to the Main Report?
i did not get this
Please suggest
Lucky -
Two or more table based forms on a single page
Hi,
Is it possible to have two or more forms fetching their respective tables on the same page ? I mean , to have two Automated fetching processes . I tried to change each page item source from ('DB Column' ... column_name) into ('DB Column' ... "TABLE".column_name) but is not working.
Any idea ?
Thanks.Actually I am trying to give you a solution but not 100% sure what you exactly you want?
According to your subject, i understood that you have a page based on two more tables so if it is then
create a view on these tables and create a page on view and then create a trigger (Instead of triggers)
for insert /update into the columns related tables.
hope it work!
Regards -
Allow users to create reports based on their own selection of fields
Is there a way to allow users to create reports based on their own selection of fields?
And if there is a way, then how?
In access we retrieve all demographic info on one screen and on another screen user can be able to choose specific fields from a list box to import data into file.Hi,
This can be handled in various ways - but the principles are the same.
You need to apply conditional displays to all of the columns that your user can select and base the display of a column on the value of a field on the page.
You can have a series of Yes/No options - one for each field and base the display on the corresponding field being Yes. Or you can use checkboxes.
However, if you wish to use a multiselect list (which is probably easier as you can dynamically generate the list of field names), you will need to have hidden fields that will store either Y/N or 1/0 (I use ones/zeros) and have the conditional displays watch these fields instead. Populating these hidden fields is a bit more tricky than just having fields on the page that the user can control, but is doable:
1 - Create one hidden field for each field in the report that you want to show/hide. Put these fields in the same region as the select list in a region above the report
2 - Set conditional display values to "Value of Item in Expression 1 = Expression 2" and use the appropriate hidden field for Expression 1 and in Expression 2 enter in 1
3 - Create a page process that runs on submit, and create PL/SQL code something like:
DECLARE
lFields HTMLDB_APPLICATION_GLOBAL.VC_ARR2;
vField VARCHAR2(1000);
BEGIN
:P31_SHOW_EMPNO := 0;
:P31_SHOW_ENAME := 0;
:P31_SHOW_JOB := 0;
:P31_SHOW_MGR := 0;
:P31_SHOW_HIREDATE := 0;
:P31_SHOW_SAL := 0;
:P31_SHOW_COMM := 0;
:P31_SHOW_DEPTNO := 0;
lFields := HTMLDB_UTIL.STRING_TO_TABLE(:P31_FIELDS);
FOR i IN lFields.FIRST..lFields.LAST LOOP
vField := lFields(i);
IF vField = 'EMPNO' THEN
:P31_SHOW_EMPNO := 1;
ELSIF vField = 'ENAME' THEN
:P31_SHOW_ENAME := 1;
ELSIF vField = 'JOB' THEN
:P31_SHOW_JOB := 1;
ELSIF vField = 'MGR' THEN
:P31_SHOW_MGR := 1;
ELSIF vField = 'HIREDATE' THEN
:P31_SHOW_HIREDATE := 1;
ELSIF vField = 'SAL' THEN
:P31_SHOW_SAL := 1;
ELSIF vField = 'COMM' THEN
:P31_SHOW_COMM := 1;
ELSIF vField = 'DEPTNO' THEN
:P31_SHOW_DEPTNO := 1;
END IF;
END LOOP;
END;
4 - Finally, add a button that generates the report - this just needs to submit the page and branch back to the same page
I've used the standard EMP table for this example and my hidden fields are P31_SHOW_fieldname. The code resets the hidden fields to 0, checks if the user has selected the field from the list (P31_FIELDS) and changes the hidden fields value to 1 for all those selected. When the page is re-rendered, the report hides the columns where the hidden field value is 0 and displays those where it is 1. The export option will then only export those fields that are displayed.
You can see an example of this here:
http://htmldb.oracle.com/pls/otn/f?p=33642:31
Regards
Andy
Maybe you are looking for
-
What to do when you want to restor your ipod but it says there is not enough space to do it ?
My problem is that i have 21go of the section "others" on my iPod 5. So, I went on internet to find what is the solution (or what to delete to get more space on my iPod), and I found that it was a problem to have more than 5go of "others", and that t
-
For Loop with parameter in application process
Hello, I am working on a project for school and a loop in an application process is giving me a headache. I have an application from which I make an ajax call to an "on-demand" process. Here's a short version of the process: declare valuesList varcha
-
Safari not displaying Arabic font
In Firefox I am able to change the Fonts and Colors (Preferences>Content>Fonts and Colors) so Firefox will use an Arabic font (e.g. Geeza Pro) that works on pages with mixed English and Arabic text. I can't find how to do this in Safari. Right now it
-
I installed itunes 7 and everything install fine but now my songs play fine but my music videos do know play properly. Then they play the music video window goes completely white. So i can not see anything from the music video. Need help bad. Try rei
-
Deliver Answer reports using OBIPublisher scheduler VS using OBIEE Delivers
Hi Gurus, I am working on a POC where I need to give a comparative study between delivery mechanism of OBIEE delivers and OBI Publisher Scheduler for sending across Answers/dashboard reports built in OBIEE. Business & IT wants to use OBI Publisher sc