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.
Similar Messages
-
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 -
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 -
TF205042: Two or more service definitions are in conflict.
I am getting TF205042-error every time I am trying to log in to the backlog on my VS TFS 2013
TF205042: Two or more service definitions are in conflict. The
specified parameters were found in the following number of service definitions: 0. Service definitions must have unique parameters for the combination of ServiceType and ToolID in order to call this function. ServiceType: WorkitemAttachmentHandler. ToolID:
WorkItemTracking.
please help to solve itHi Anna,
Thanks for your post.
You're using TFS 2013 Update 4 and VS 2014 Update 4?
Please ensure there’s no custom services deployed on your TFS 2013 Server.
Only you received this issue or other users received the same issue too?
Check if this issue only happened in current one team project? If yes, have you did any customization in your current team project? If not, please clean the Cache on your TFS Server machine and restart your TFS Server, then try access Sprint again and check
result.
I noted that you have posted this issue in feedback site:
https://connect.microsoft.com/VisualStudio/feedback/details/1140950/tf205042-two-or-more-service-definitions-are-in-conflict, so please tracking the reply in there.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
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 -
Suppressing a section based on two conditions
Hello
currently, I am trying to suppress a section of group based on two conditions:
- The first condition is to suppress the section always if the user is not at DrillDownGroupLevel 1.
- The second condition is to supress the section if the GroupName ({Customer.TerritoryID}) is not UK or US.
I went to the section expert and entered this code in the "Suppress (No drill-down)" x-2 formula field:
DrillDownGroupLevel <> 1 AND
GroupName ({Customer.TerritoryID}) <> "US" OR
GroupName ({Customer.TerritoryID}) <> "UK"
Unfortunately, it does not work. Any ideas are very welcome!!
I am using Crystal Reports XI
Thanks in advance!!Which "section of a group" are you trying to conditionally suppress? (group header, group footer or details within a particular group......or all of them?)
AND you stated,
"currently, I am trying to suppress a section of group based on two conditions:
The first condition is to suppress the section always if the user is not at DrillDownGroupLevel 1.
The second condition is to supress the section if the GroupName ({Customer.TerritoryID}) is not UK or US.
Try this formula for the conditional suppression:
(DrillDownGroupLevel <> 1) AND
(GroupName ({Customer.TerritoryID}) "US") OR
(GroupName ({Customer.TerritoryID}) "UK")
If that does not work you may want to check and make sure your values are upper case in the TerritoryID.
In addition, a GOOD way to test conditional suppression formulas is to put them into a conditional highlighting color for the section so you can still see the values and the highlighting lets you know if it's working. For example:
IF
(DrillDownGroupLevel <> 1) AND
(GroupName ({Customer.TerritoryID}) "US") OR
(GroupName ({Customer.TerritoryID}) "UK")
then YELLOW else WHITE -
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 -
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 -
Detail tabular form based on two tables
db11gxe , apex 4.0 , firefox 24 ,
hi all ,
i have a master detail form based on two tables , the detail form ofcourse based on one table , the problem is i want to include a column of another
table into the tabular form , so i have changed the query of the tabular form and included the column in it correctly ,
but the problem is about saving data , i can not save the data , i think
because the "mru" process is based on one table , that is because i face an error talking about "mru" process when i try to save the data ,
Error in mru internal routine: ORA-20001: no data found in tabular form Unable to process update.
so
what should i do to save the data ? should i create another "mru" process based on the other table or what ?
thanksAnything beyond "simple" requires that you do it yourself. I believe that what you want is "beyond simple"
As far as I know, you can only use the 'mru' on one table.
(I could be wrong)
If the conditions are right, you might be able to simplify things such that you can use the 'mru'.
ie CREATE VIEW on the two tables.
However, you need to understand how Oracle treats DML operations on views, what type of views can be updated, etc., etc.
If just creating the view doesn't work, creating an INSTEAD OF trigger on the view come to mind...
(lol) - at that point, you have already started down the 'dark path' of creating your own 'MRU'
personal note: triggers have a really baaaddd habit of hiding code from other developers. you are better off, in the long run, creating your own 'mru'..
ie a package with procedures to handle INSERT, UPDATE, and DELETES
MK -
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 -
How to show two or more PDF in one PDF-Reader / Concatenate PDF-Files
Hi,
I want to show two or more PDF files in one PDF reader window or to concatenate two or mor PDF files to one file.
We use WD4A and ADS.
Have someone an idea to solve this without an external program?
Thx in advance
JürgenWe have done this successfully a few times using WDA - it wasn't easy - it took us 2 full weeks to figure it out, so i need to get full points for this one!
It's going to much easier to do this if you start a brand new WDA. If not, you'll have to re-do all your Context Node navigations within your methods.
The first thing you need to do is to define your Context properly:
You need a top level Node defined as 1:1 cardinality (as with all PDF development)
Next, you need another Container Node 1:n cardinality (this holds the collection of content nodes)
Finally, you have your PDF Content Node 1:n cardinality - This holds each instance of your PDF form
In our scenario, we are passed in a list of Project Numbers. We need to generate a PDF sheet for each project in the same PDF session.
pseudo code - i'm leaving out some of the unnessary details
Loop through the project number table.
ADD 1 TO v_cnt.
* navigate from <TOP> to <PDF_CONTAINER> via lead selection
lo_nd_pdf_container = lo_nd_top->get_child_node( name = wd_this->wdctx_pdf_container ).
* This is the Important Part - we check to see if there is an element where index = v_cnt
* If not, we create one where we can store the new set of data
* get element via lead selection
lo_el_pdf_container = lo_nd_pdf_container->get_element( index = v_cnt ).
IF lo_el_pdf_container IS INITIAL.
lo_el_pdf_container = lo_nd_pdf_container->create_element( ).
lo_nd_pdf_container->bind_element( new_item = lo_el_pdf_container
set_initial_elements = ' ' ).
ENDIF.
lo_nd_ideasheet_data = lo_el_pdf_container->get_child_node( 'IDEASHEET_DATA' ).
lo_el_ideasheet_data = lo_nd_ideasheet_data->get_element( index = 1 ).
* fill all the data then bind the structure
Select * from XXX into lt_XXX
where project_number = lt_project-project_number.
* Move Data to appropriate fields/tables
* Bind the info back to the element
lo_el_ideasheet_data->set_static_attributes( static_attributes =
ls_ideasheet_data ).
Endloop. -
Error 33172 occurred at Read & Write data transfer between two or more PF2010 controller
Hi,i need to do data transfer between two or more FP2010 controller.e.g. FP2010(A) & FP2010(B).
FP2010(A) need to transfer the measurement (from its I/O module) to FP2010(B) to do the data analysis.These data transfer should be synchronous btw two controller to prevent data lost.
From the vi used in the attachment,i encountered some problems at:
(1) Error 33172 occurred while publishing the data.Can i create and publish data under different item name?
(2) How to synchronies the read & write btw contorller?
All controller are communicating with each other directly without the need of a host computer to link them together
Is there any other method to do fast data transfer betwe
en controller?Hi YongNei,
You were succesful in omiting enough information to make it very difficult to answer!
Please post your example.
Please tell us what version of LV-RT you are using.
Please define what you concider "fast data transfer".
Have you concidered mapping the FP tags of FP2010(A) to FP2010(B) and vise versa?
WHat exactly has to be syncronized?
If you have something that is close to working, share that.
Well, that as far as I can go with the info you have provided. Depending on the details, what you are asking could be anything from trivial to impossible with the currently available technology. I just can't say.
It would probably be a good idea to start over with a fresh question (sorry) because not many people are going to know what a a "
PF2010" is and I can not guarentee that I will be able to get back to you personally until next week-end.
Trying to help you get an answer,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
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
>
> -
Two or More parameters in the SQL Source Window
Hi,
I have a Crystal Reports which uses an SQL Query as the source. I have a Report Date Range in the Crystal Reports but I want to improve the performance by embedding the parameter in the SQL Command. One parameter in the SQL Command is fine but more than that, I'm getting the following error:
Failed to retrieve data from the database.
Details: ORA-00911 : invalid character
Database Vendor Code: 911
Is there a configuration that I should do before adding two or more parameters?
Thanks.Hi,
The expression is something like this:
... where CLOSED_DATE >= {?Start Date} and CLOSED_DATE <= {?End Date}
I also tried to use the BETWEEN IN function but got the same error. The CLOSED_DATE, Start Date, and End Date are Date Time.
Thanks. -
Calculation based on two result columns in combined report
Hi all - I have a combined analysis and I need to add a result column based on two of my result columns. The calculation involves one column from my first report and one column from my second report.
The first report has # of opportunities and my second report has a number of booked opportunities. I have to have two separate reports because these two columns need to be filtered on different dates. In my result column, I want to add a column that gives me close % which is # of booked opps/# of opps. I am using the SAW references but it is not working right. I have tried the following calculations:
(SUM(SAW_9 BY SAW_1) / SUM(SAW_7 BY SAW_1))*100 This gives me 100% in any row that is 1 opp to 1 booked opp. But gives me 0 in all the other fields even if it is 2 opps to 1 booked opp.
(MAX(SAW_9 BY SAW_1) / MAX(SAW_7 BY SAW_1))*100 This shows 100% for every row that has a number in the opp and booked opp columns. Even shows 100% if it is 2 opps to 1 booked opp which should be 50%.
Any ideas on what formula I need to use to get the right calculation?
Thanks!
LaceyLacey,
(SUM(SAW_9 BY SAW_1) / SUM(SAW_7 BY SAW_1))*100 is the correct formula so the only thing I can think of is do you have the correct columns selected?
SAW_9 is column 10 and SAW_1 is column 2?
and I think the aggregation rule needs to be sum as well.
Good Luck
Alex
PS thanks to Mike Lairson for putting this solution in his book as it got me working.
Maybe you are looking for
-
Problems after problems since the new update
Ever since updating my ipad air two days ago I have had nothing but problems. At first I thought it was probably my internet connection and got all that fixed. everything works except my Apple devices. Safari does works but is a little slow. I follo
-
I have no trouble viewing apps in the iTunes Store on my iPad. However, every time I try to install a new app, I get an error message after a while - cannot connect to iTunes Store. This issues cropped up two days ago on my new iPad. Please help...
-
AME CS4 not reading camstudio avi
I am converting screencaptured AVI's to FLV via Adobe Media Encoder CS4. I am changing the cursor in both Camtasia and Camstudio and both programs produce nice AVI's that look really good in the Windows Media Player. In Adobe Media Encoder the Camtas
-
How to align?? Come in help me...thx
my output is like this: class Alignment public String left(String s, int len) String temp = new String(s); for (int i=0;i<len-s.length();i++) temp = temp + " "; return temp; public String right(S
-
Training in ORACLE FINANCIAL in New Delhi - uegent query
Hi, I would like to know if there are any centres offering course in Oracle Financial in Delhi, India. What is the duration for the course and how much does it cost.What is the scope after course completion since I am new to Finance n ERP. I am curre