Display only single value
Greetings,
Given my dimension <course section> and measure object <Billable Hours> etc.
When a given course section meets multiple times and/or has a lab my report doubles the billable hours. doubles e.g. instead of 4 billable hours, the report displays 8 billable hours.
I tried the following formula w/ ranking w/o any success.
=If([Billable Hours] = Min ([Billable Hours]) In ([Section ID])) Then "1" Else "0"
How can I get my report to display only 4 billable hours?
TIA,
Greetings,
I tried the above formula suggested by Jothi, but when I drag my variable to my report, it displays 1 across the board..
Anuj, in the attached screenshot BIOL-101 shows 8 billable hours, but in actuality it’s only 4 billable hours. T
he billable hours usually doubles and/or gives wrong result for the following reasons:
When the course has multiple sections
When the course has a lab
My requirement is to display 4 billable hours for BIOL-101 in the sample.
TIA
Similar Messages
-
Display only positive values for a particular Keyfigure
Hi..
(Sorry, I accidentally posted this also in Datawarehousing forum, actually it related to BeX forum).
For a particular column(keyfigure) in my report, the user wants to display only positive values.
I used the formula from the one of the forums
(Keyfig > 0)* Keyfig.
This displays only positive values in the column as required. But, the result for this column is also affected. As the result is negative, it shows, zero in the result for this column.
Is there a way in which the result will not be affected by the formula?
I went into the properties of the particular keyfigure and chose Calculate Result as -> Summation.
It throws out the following error message
'Calculating result as...' was not executed
Message no. BRAIN141
Diagnosis
The function 'Calculate Results as ...' could not be used in all
instances.
The recalculation of a result cell always occurs based on the set of
detailed cells subordinated to this cell. This is the most detailed
level of the drilldown. Therefore it is not posible to recalculate in
hierarchical lists. The calculation of a results cell is not performed
if a cell or column with an expand symbol is assigned beneath it.
Otherwise the newly calculated result is changed every time one of its
lower-level nodes is expanded. This is not supported for technical
reasons and would also only confuse users.
Note, however, that calculating with "Suppress Results" is always
executed because the restriction described above does not apply in this
case.
NOTE:
The query shows the keyfigure values for a selected title, for profit center and territory hierarchies.
Any suggestions would be greatly appreciated.
Thanks,
Sai.Hi Deepu,
Thanks for the reply. I tried with ur formula.
LEAF(keyfig) gives all values "zero" for that particular column including the result.
NOT LEAF(keyfig) gives all values "one" for that particular column including the result.
So, ur formula gives the same values as of the present column values.
I tried condition, but it's not working...it says the following errors...
There is a condit. on Title, results row suppress. active on Profit Center
(conditional
Message no. BRAIN144
Diagnosis
Characteristic Title has an output condition and the 'Suppress Results
Cells' property is active for Profit Center. This generally leads to an
incomprehensible output list.
System response
As soon as an output condition is defined for a characteristic (here
Title), the system calculates the corresponding result cells and applies
the output condition. If a result cell of this type is later deleted by
the condition, all the lower-level detail and result cells in its
drilldown are suppressed. Because the result cell is suppressed the
Title rows are then omitted from Profit Center.
In extreme cases this can lead to an entirely empty list being
displayed, although the single rows or columns would be displayed if the
condition were deactivated.
Procedure
Check the query settings, especially results row suppression and the
output conditions.
Procedure for System Administration
You can deactivate this message Brain 144 with transaction RSRT1.
There is a condit. on Profit Center, results row suppress. active on
Territory as in SPL (conditional
Message no. BRAIN144
Diagnosis
Characteristic Profit Center has an output condition and the 'Suppress
Results Cells' property is active for Territory as in SPL. This
generally leads to an incomprehensible output list.
System response
As soon as an output condition is defined for a characteristic (here
Profit Center), the system calculates the corresponding result cells and
applies the output condition. If a result cell of this type is later
deleted by the condition, all the lower-level detail and result cells in
its drilldown are suppressed. Because the result cell is suppressed the
Profit Center rows are then omitted from Territory as in SPL.
In extreme cases this can lead to an entirely empty list being
displayed, although the single rows or columns would be displayed if the
condition were deactivated.
Procedure
Check the query settings, especially results row suppression and the
output conditions.
Procedure for System Administration
You can deactivate this message Brain 144 with transaction RSRT1.
Thank you very much.
Regards,
Sai. -
How to display only Negative values in the report.....
Hi,
I want to display only negative values for one particular column.
Any suggestions ?
Thanks,
JeetuHi,
define a condition for all characteristics and for specially the keyfigure. Set it to < 0. That should do the trick.
regards
Siggi -
How to display only Day value instead of DATE in Bex Report
Hi Experts,
We have a Month to date Report, in this report we need to display only day value instead of DATE value,
Like
if Date is 14.05.2010 we need to show only 14
Regards,
ChandraHi ,
Thanks for Quick Response
we does have the option to create the char(calday or ...) value variable replacement with char (calday or ...) info object, we can replace with Report r variable value only not with info object.
i hope we can replace the with info object only with formula variable with replacement.
My BEx Report is Designed like
Columns
0Calday
Rows
Plant
Keyfigures
Actual
Plan
Report output Looks like month to date
0CALDAY 01.06.2010 02.06.2010 03.06.2010
P1 ACTUAL 10 8 4
P1 PLAN 15 6 2
P2 ACTUAL 5 10 7
P2 PLAN 4 8 3
Report should be
0CALDAY 1 2 3
P1 ACTUAL 10 8 4
P1 PLAN 15 6 2
P2 ACTUAL 5 10 7
P2 PLAN 4 8 3
please let me know how can i achive this
Regards
Chandra -
How can I display only one value of a field with two or more values?
Post Author: skiabox
CA Forum: Crystal Reports
I have a field in my report with 2 or more values (depending of another field id).For example for id = 1 the report gives me 2 names in that field.For id = 3 the report gives me 3 names in that field.I want to display only one of these names in the id row.The selection of name is random.Thanks!Hello Tim, would barely fit in this situation since this code resides on the client’s interaction side of things. I’d recommend using JavaScript for this matter, e.g. var Data_FName1 = document.getElementById(‘Data_FName1’).value;. If you still opt for using CFML, then you’d go for proxying your JavaScript code to a CFC.
-
Can I display only negative values in an X-Y graph
I have my graph set up to run reading two arrays. It is a sine on sine wave and I only want to display the negative results. Is there a way to do this? Is it possible with something like a scan from function? In the end I will be linking this up to an absolute value and having only the negatives be positive, but getting the graph to display only the negative values is the first step.
You can use the Threshhold 1D Array to filter out all values greater than 0.
Cory K -
In report i should have to display only single country
Hello..
In myreport its dispalying company,costelemt and many more fields,users want some changes they have to display only one country and also courency also.they should have to enter the country name starting letter.
thanks...If they want only one country you should give them the possibility to filter the country......put country characteristic in Free Characteristic Panel ....this give users ths possibility to make a drill down and filter according to country...
I hope this helps you -
Display only first value of the repeated values in ALV report
Hi,
Test Data
Doc No Net Val billing Doc value Qty
1000 2000.00 567850.00
1000 2000.00 567850.00
1000 2000.00 567850.00
2000 6000.00 767850.00
In this type of ALV Report in which only the First field value of the repeated value should be displayed.
Doc No Net Val billing Doc value Qty
1000 2000.00 567850.00
2000 6000.00 767850.00
I can display document value as like expected result in SORT ORDER in LAYOUT but the Quantity value,Net value which cannot be done in SORT ORDER in LAYOUT.
Please tell me the suitable solution.For a Sales Order there are two Invoice.
Sales doc Invoice No Billed Qty Net value Qtywith material no
5000 900 234774.00 456.00000 65 123
234774.00 456.00000 25 456
234774.00 456.00000 35 898
234774.00 456.00000 20 496
901 634774.00 256.00000 50 746
634774.00 256.00000 10 456
634774.00 256.00000 20 545
634774.00 256.00000 30 869
I need to print this billed Qty and Net value only once in first line and it should not be deleted.
I need the result like this
Sales doc Invoice No Billed Qty Net value Qtywith material no
5000 900 234774.00 456.00000 65 123
25 456
35 898
20 496
5001 901 634774.00 256.00000 50 746
10 456
20 545
30 869
The same value should not be repeated for Billed Qty and Net Value.
I can do that for Sales doc in sort order in layout but i couldn't do for Billed qty and Net Value.
Please help. -
Displaying only one value for a key figure
Hi guys,
I am building a query in BEx Analyzer (v 3.5) where I am facing a difficult requirement.
In the cube I have the following structure:
Bank Account | Date | (.....) | KF: Amount | KF:Closing Balance
A | 29.10.2008 | 300 | 5000
A | 29.10.2008 | 100 | 5000
A | 29.10.2008 | 600 | 5000
As you can see there is one entry for every movement on the account for each day, while the closing balance is the same and entered for each record.
It is not an option to change this logic in the source system.
The problem is that I don't have any differentiating characteristics that is useful for the query and I only want to display the closing balance once (i.e. 5000). Now I am getting 15000.
Is there any way to do this without adding new characteristics?
Will appreciate all ideas!
Br,
TMHi TM,
Did you try with the aggregation: Set this to Maximum in stead of Sum.
Success,
Udo -
Display interval variables value in BeX
Hello Gurus,
I am using Bex BI 7.0 to build my reports. I can't see how to display the value of variable values I have selected in the beginning of the query.
To clarify with an example I want to choose the period from January to March and to display this selection in the report I have built.
The only way I was thinking about was to create a Text variable to display in the title of the query but I noticed it displays only single value and don't manage interval like these.
Is there any other tricks?
Thanks in advance
MassimoVery good Jaya. I have solved my problem and I rewarded it. The only problem that still remains with this feature is that in a query I use a filtered key figure to obtain cumulated value for period. The "from period" is fixed (january) and the "to period" is given by my period variable.
I noticed that in this case the text variable return me no value. Is there any another trick to manage text variable in filtered key figure like that?
Regars
Massimo -
Setting values to Display Only item during AJAX request
Hello,
Good Morning!
In a master-detail form, in the detail report, I am populating two columns SERVICE_TAX_PCT and SERVICE_TAX_AMOUNT by making an AJAX request after selection of ACCOUNT_CODE. Values are populated with out any issue.
However, as soon as I make those two fields as Display Only, the values are not getting set. Is there a way to set the values to a field in the same time it should be restricted for user to change it?
(APEX 4.2.6)
Thanks,
-AnandHi Anand,
anand_gp wrote:
Hello,
Good Morning!
In a master-detail form, in the detail report, I am populating two columns SERVICE_TAX_PCT and SERVICE_TAX_AMOUNT by making an AJAX request after selection of ACCOUNT_CODE. Values are populated with out any issue.
However, as soon as I make those two fields as Display Only, the values are not getting set. Is there a way to set the values to a field in the same time it should be restricted for user to change it?
(APEX 4.2.6)
check the example
Step 1: Edit your page
under CSS->Inline put the code given below
.row_item_disabled {
cursor: default;
opacity: 0.5;
filter: alpha(opacity=50);
pointer-events: none;
Step 2 : I guess you have Javascript function similar like given below
you have to extract rowid first, for which you want to set the percentage , see line 6
and see line 18, for disabling the column of that row.
<script type="text/javascript">
function f_fetch_tax_percentage(pThis) {
var ajaxRequest;
var ajaxResult;
var row_id = pThis.id.substr(4);
var percentage = 'f05_' + row_id; // replace f05 with the rowid of percentage column
ajaxRequest = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=TAX_DTLS',0);
ajaxRequest.addParam('x01',$v(pThis));
ajaxResult = ajaxRequest.get();
if ( ajaxResult.length > 0 ) {
// set percentage
$('#'+percentage).val(parseFloat(ajaxResult));
// disable percentage column
$("#f05_" + row_id).attr("readonly", true).addClass('row_item_disabled');
</script>
Hope this helps you,
Regards,
Jitendra -
BEx Query Designer - Display only Resultrows
Hi,
I have a Question, is it possible only to display the yellow result rows of a query ?
My key figures are dependent from 3 Characteristics, like Partner, Treaty a.o. but I want to see only the Partner and the result row.
Thanks for help,
KarinHi,
If you want to display only result values without key figure values, choose properties of the keyfigure and give 'Suppress Result' in the place of "Calculate Single Value As" then you can suppress the keyfigure values.
If you want to display only results with out showing the characteristics, right click the char and give display as 'No Display'.
Vivek.V -
Not to display the null values from data base
Hiiii.
In a jsp file i have ten check boxes.The jsp file is mapped to a servlet file for parameter requesting and to
store it in DB.
The unchecked box values has null values.All the values are store in a Mysql DB table.
Again i have to display it in a jsp page from table.
The problem am facing was,how can i display only the values in a row.it must not display the null values and the crresponding column name.
Or any other way is their like below
How i can retrieve only the selected check boxes from tht jsp file.and store in backend.
Thanks in Advance
regards,
satheesh kannanHere is a rough example that may give you some ideas:
On the JSP page:
<%if(myData.getFirstName()!=null){%>
Your First Name'
<input type="text" name="firstName" value="<%=myData.getFirstName()%>">
<%}%>
In the servlet:
String firstName= request.getParameter("firstName");
if(firstName!=null){
//write it to the database
} -
Display of missing values in a table view.
Hi everyone,
I have a table view with 7 columns and 10 rows which displays only those values which are missing in the DataBase Table.
Is it possible to show only the missing values as '-' in a table view, the table view is having 7 different fields.
Also when the value is inserted at run time the corresponding field should be updated accordingly and the value will no longer be displayed in the table view as '-'
please advice.
Regards
Neo.Welcome to SDN.
do you mean to say that in some rows some column values will be blank and you want to replace the blanks with '-'.
loop thru the itab which you are passing to tableview and for the blank cells pass '-'.
<i>Also when the value is inserted at run time</i>
so you are having editable tableview. to update the value back to the dbtable, you have to read it in oninputprocessing and update it to dbtable .
search the forum on how to read the user entered value from the table view so that you can update the dbtable.
Regards
Raja -
Auto-Suggest feature in Combo-box LOV is not displaying non-unique values
Hi,
I have an auto-suggest feature implementation on a combo-box lov that displays the name and email-id of a list of people. There are non-unique names in the back-end, for example :
Abraham Mason [email protected]
Abraham Mason [email protected]
But when I use the auto-suggest feature and type in, say 'Ab', instead of showing both the Abraham Masons the auto-suggest displays only one of the values.
As in the example above the email-ids of the two Abraham Masons are different and unique.
If I use the conventional drop down menu of the combo-box then both the values are visible.
Is the auto-suggest feature implemented in a manner so as to display only unique values?
This is the implementation of the auto-suggest feature that I have done -
<af:column headerText="#{bindings.RqmtAtLevel1.hints.Owner.label}"
id="c23" sortable="true" filterable="true"
sortProperty="Owner"
filterFeatures="caseInsensitive">
<af:inputComboboxListOfValues id="ownerId"
popupTitle="#{ResourcesGenBundle['Header.SearchandSelect.Searchandselectanobjectusingad']}: #{bindings.RqmtAtLevel1.hints.Owner.label}"
value="#{row.bindings.Owner.inputValue}"
model="#{row.bindings.Owner.listOfValuesModel}"
required="#{bindings.RqmtAtLevel1.hints.Owner.mandatory}"
columns="#{bindings.RqmtAtLevel1.hints.Owner.displayWidth}"
shortDesc="#{bindings.RqmtAtLevel1.hints.Owner.tooltip}"
autoSubmit="true">
<f:validator binding="#{row.bindings.Owner.validator}"/>
<af:autoSuggestBehavior suggestedItems="#{row.bindings.Owner.suggestedItems}"/>
</af:inputComboboxListOfValues>
</af:column>
Thanks,
Anirudh AcharyaHi,
don't find a bug entry about this, so if this indeed is a defect then this has not been filed. Do you have a test case ? If you have please zip it up and send it in a mail to me. My mail address is in my OTN profile (just click on my name until you get to the profile). Pleas rename the "zip" extension to "unzip" and mention the JDeveloper release you work with. The test case should work against the Oracle HR schema.
If you need to track the issue, I suggest to file a service request with customer support yourself
Frank
Maybe you are looking for
-
How to get all image files from a folder to wwv_flow_files?
Hi there! Is it possible in apex to show, in a report look-a-like, all image filenames from a folder in another machine (i enter in that machine by ip) and insert all files into wwv_flow_files? I want to see all files, then pick one and open a image.
-
I'm trying to follow HP's instructions to add a driver for HP Color Laserjet CP 1215 which is connected to my Time Capsule. However, in System Preferences I can't "add" the printer to the print queue because I don't have a driver and you have to sele
-
IPhone 5 Will Not Display In iTunes? Help Me
I Have 2 Laptops and I Understand The Device Can Be On UpTo 5 Pc's and it doesnt say iphone in itunes but if i plug it into my moms computer it works help me
-
Managing previews in 1.5
I have an article up now that explains how to manage previews. All about updating, generating, deleting, maintaining, etc. http://homepage.mac.com/bagelturf/aparticles/previews/pmanage/pmanage.html Main blog at: http://homepage.mac.com/bagelturf/ iMa
-
Shutdown takes forever for Retina MacBook Pro (rMBP)
I am running 10.8.1 anyone experiencing long shutdown? my startups are faster than my shutdown by 3 times also, are the battery issues resolved in retina macbook pro?