Date range to be displayed & Displaying multiple values on the report
Hi,
I have date range parameters, but I also need it to be displayed it on the report. Is there any way I can display it. E.G If a parameter is created one can drag and drop it on the report if it needs to be displayed on the report, I tried to do the same for the date range parameter but it does not work.
Also If a parameter is created by selecting the option 'Allow Multiple Values', and if you drag and drop it on the report only the first value is displayed and the rest does not show. Has anyone tried this before and been successful in displaying multiple values in the report.
Thanks in advance.
Hi,
A multi-value parameter is actually treated as an array in Crystal Reports.
To display the values selected in the parameter, create a formula from the Field Explorer and type this code:
Join({?ParameterName},",");
Place this formula on the header or the footer sections of the report.
Regarding the date range issue, please follow Sastry's advice and it should work fine.
Make sure you're using the parameter in the Minimum and Maximum functions. For eg: If I was to create a date range parameter called OrderDate, my formula to show the start date would look like this:
Minimum({?OrderDate})
-Abhilash
Similar Messages
-
Multiple value variable - not showing Multiple values in the report
Hi,
I have careated a Multiple value variable for one of the characteristics in my Query. however, When i run the Query and select multiple values for the same, the report displays values for only the first selection.
Could you help me resolve this ?
Rgds
ShwetaHello Shweta,
Are you running the report in the Analyzer excel or Web?
May be you can check the following:
1. Use the latest FEP. It is working for me.
2. May be the other values that you selected do not have corresponding keyfigures values. Hence it is showing only the first one.
Try selecting other values ( except first one selected this time )
Regards,
Sheik Bilal -
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 -
Values not getting displayed from first page of the report.
Values in the report is getting displayed from second page.
First page in the report only displaying the report title and column names.
Secone page onwards, data and column names are generated.
Can any one please help me, with the cause of the problem.what reporting tool?
Interactive Reporting
Financial Reporting -
I can't for the life of me figure out how iCal orders the display of multiple items at the same time. Does anyone have a clue? It's not alphabetical. It's not according the the order of the calendars in the left pane. Is it just random? Any help would be greatly appreciated.
In the focus lost eventhandling start a thread which does
the actual handling.
the new thread waits for a little time (0.1 seconds)
the click event of the button checks for a thread like the one above and tells it not to execute
This way you execute the for the lost focus event only if
the ok button isn't clicked in the same process ... not
realy good, because it kind of relies on the ordering of threads ... but maybe it still works for you? -
How to select multiple values from the parameters in BI Publisher report
How to select multiple values from the parameter drop down in BI Publisher, and how to handle this mulitple values from the report sql...
Hi kishore,
I have used all the steps as you mentioned in your previous reply....including checking Mulitple Selection Check Box..
Iam able to get the results when I am selecting one value..
and also I am able to handle multiple values the in the query by using IN :Parameter, but seems when we select more than one value from the parameter drop down i think the Bi Publisher is sending the values in concatenated form something ilke
ex: "'ACCOUNT','HR','SALES'" ,and when trying to display the parameters values in the output, its throwing the error as 'missing right paranthesis' ....on the whole do you have any solution which would handle
1.Single selection.
2.Multiple selection.
3.'ALL' Values.
4.Separating the concatenated string into individual strings and dispaly them on the output of the report..etc..in case of Mulitple selection.
Ex:
Concatenated String from BI Publisher:"'ACCOUNT','HR','SALES'"
Expected Output on the report:ACCOUNT,HR,SALES
reply to this would be much appreciated....
thanks,
manoj -
How to get multiple values from the list
I've a list of an item which I queried it from the database. I also created a button that will takes a selected items from the list when it was clicked. I used javabean to get the data from database.
<% // clicked on Select District Button
Vector vselectedDistrict = new Vector();
Vector vdistrictID = new Vector();
String tmpSelectDistrict = "";
tmpSelectDistrict = request.getParameter("bSelectDistrict");
if(tmpSelectDistrict != null)
// get multiple values from the list
String[] selectedDistrict = request.getParameterValues("usrTDistrict");
vselectedDistrict.clear();
vdistrictID.clear();
if((selectedDistrict != null) && (selectedDistrict.length != 0))
for(int i=0;i<selectedDistrict.length;i++)
vselectedDistrict.addElement(selectedDistrict);
vdistrictID = dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
for(int i=0;i<vdistrictID.size();i++)
out.println("district = " + selectedDistrict[i]); out.println("district ID= " + vdistrictID.get(i).toString());
%>
// get vdistrict from the database here......
<select name="usrTDistrict" size="5" multiple>
<% for(int i = 0; i< vdistrict.size(); i++)
%>
<option value="<%=vdistrict.get(i).toString()%>"><%=vdistrict.get(i).toString()%></option>
<%
%>
</select>
<input type="submit" name="bSelectDistrict" value="Select District">
Lets say the item that i selected from the list is 'Xplace' and I clicked on the Select District button,
what I got is this error message:
org.apache.jasper.JasperException: Unable to convert string 'Xplace' to class java.util.Vector for attribute usrTDistrict: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
So where is going wrong and what the message means?. Any help very much appreciated. ThanksThese are just guesses that might hopefully steer you in directions you haven't looked in yet.
I presume you used triangle brackets (< >) to avoid having the Jive Forum think it was the "italics" tag?
Are you certain this: dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
expects a Vector as its second parameter? And returns a Vector?
I don't believe you've shown how you use the javabean, or its code? Perhaps it should be rewritten to accept an array of strings instead of a Vector? -
How can I display a formula variable in the report?
Hi,
I have a requirement to display a formula variable value in the report. When the user runs a report this variable value should be called once and displayed below the report title or in a specified cell. Is it possible something like this could be done? if yes, can someone tell me how can I achieve this functionality. I appreciate your time and effort with points.
Thanks,
Rao.Hi Bhanu,
In the query properties you can only see text variables and not the formula variables. If I define my number of working days as text variable and I can display in the report. However, I need to use this variable in some calculation in the report, so it has to be formula variable in order to use in calculations. I appreciate your input with points.
Thanks,
Rao. -
How to display dynamic header title in the report?
I have a req to display dynamic header title in the report.
When a id is entered in the prompt text, it will display the user data based on that user_id.
so similarly....the header title should vary each time when you select different user_id.
How can we implement this?>
Zack H wrote:
> Lazaro,
>
> It depends on what you want displayed in the heading for each id.
> Please elaborate.
>
> Thanks,
> Zack H.
Zack..I have several projects listed under several project id's...
so when a user selects project id 00164 then it should display something like "Project document for Jon Doe"
again when the user selects project id as 00192 then it should display something like "project document for Zimmerman"
Did you get it?? -
How to select multiple values from the Parameters in the concurrent program
How to select multiple values from the Parameters defined in the concurrent program...and i believe multiple selection is not a direct feature of EBS, but is there any workaround solution to acheive mulitple selection?
I think there's no way to do that using standard feature.
Some workaround I use :
1. If the number of selections are fixed, you could use multiple parameters for the same valueset. For example :
Selection1 : <choose first selection>
Selection2: <choose 2nd selection>
..etc.
If you don't use it then leave it empty.
2. Use text varchar valueset and enter it manually and separate by comma (or other value) , eg : selection1,selection2,selection3....etc. -
Passing multiple values to the QUERY BDOC parameter?
hi All,
Below is my Query BDOC Anchor Before Query Execute even handler... I'm trying to pass multiple values to the bq.Z_PartnerFunction query parameter... i.e.
PARTNER_FCT in( '00000012','ZDIVMGR','ZAREADR')
is it possible without creating new Query Bdoc ?
====================================
Private Sub aempchoicewinTCWSearchTAnchor_beforeQueryExecute(ByRef bq As BusinessQuery, ByRef cancel As Boolean)
If Not bq Is Nothing Then
If sWcDummy = "Yes" Then
bq.WcDummy = sWcDummy
End If
bq.Z_PartnerFunction = "00000012"
If ctrlZ_Territory.Value <> "" Then
bq.PRNB_TerrID = "*" & ctrlZ_Territory.Value
End If
End If
End Sub
================================
Thanks in advance
HetalHi,
it looks that you already enhanced the query BDoc because you have a new query parameter bq.Z_PartnerFunction, right?
To which BDoc parameter is this BQ parameter mapped? And how looks the related where clause?
For a single filter normally a "=" operator is used. Therefore your example with "in" won't work.
If these three partner functions are fixed then you might hardcoded them directly in the where clause (supposed the BDoc is not used somewhere else where you don't want to have this filter).
Or you might add 3 new BDoc parameters, add 3 new where clauses using a disjunction for them (and using an embracing bracket). In this case always all these 3 BQ parameters need to be filled (or all stay empty) to avoid a SQL syntax error.
Regards,
Wolfhard -
Hello there,
I am totally green in web development.
my goal is to, for the user will input a date range from and
to and will out put the records in the intranet when they press a
button.
However, the good news is: I have experience in programming.
I have written applications for desktop in VB>NET and I
understand RDBMS /sql concepts .
But CF and WEB development is new to me.
My current projects involves in connecting to DB and testing
it. (it works fine)
And outputting reports by to a intranet page. (records)
i need help on how to start this asap. I will even do some
practice at home.
Tools I have at work
• Development server(test)
• Home site.
• Toad for db connection.
• Html reference guide
• Cf dummies book.
How can start my projects.
(ex. Create cf, outputpage?)
seriously, I am new to this.
Thanks.Well, I had a really nice response with some concepts and
ideas for you to practise on etc, but these dumb forums timed out
and I lost it all
If you want to pop me an email we could probably do a few
exercises together that way - or even by MSN Messenger if you want. -
Multiple values for the Parameter
1. Had any tried the selecting MULTIPLE values for the parameter in Oracle Discoverer Plus Releae 4.1 Version 4.1.37.00.0. If so can please let me know how to implement it.
2. In a Page-Detail Cross Tab workbook, I have to show the weighted average instead of the avg or sum. Any inputs please.
3. I have to compare two periods (TOP) of datapoints. Any inputs please.If you wanted to eliminate the need for users to type in the parameter values, you could create a LOV on the desired column. This will produce a distinct list of all valid values where the user would simply select as the wish. Of course you still need to check the "let user enter multiple values" checkbox if you want them to select more than one.
-DG -
How to get rid of unassigned values in the report
hai to all,
here is the issue,
while running a report(sales per country), iam getting the data,after that when i drill down on <u><b>sales document number</b></u> iam getting some unassigned data, with Sales document number as #, and some value in the keyfigure.what is the reason behind this?
Here is another issue that i want to find all the sales documents which have the value # in the report?, is it possible? the same case with <u><b>Customer country</b></u>, on the same report.
pl anyone help me
br
venkat/shyamHi Shyam.
Regarding the first issue: Well, you've loaded some data records into your cube where the "Sales Doc Field" is empty. Did you load through PSA? The best way to scan your PSA (I believe) is to find the underlying table and have a look at it via SE16. In this way you don't have to scan through every data single package. This can be done via "display data flow" from your cube and switch on technical names. There you have it. (It's called /BIC/B00...etcetc you might have to add i few zeroes though when you enter it into SE16). Get request ID from "Infocube Managment". In SE16 seelction screen use F2 to set the "sales Doc No." field even to blank.
Second issue is a bit easier: in your query (or a working copy of your query) restrict on "Sales Doc No" or "Customer Coutry" to only include value "#". In the same way you can remove the unassigned values be excluding value "#".
Hope this works for you.
Chears, Jørn -
Restricting Null Values in the report
Hi All,
I have a aggregated feild displayed in the bottom of the report and sorted on the report on that field to show me top results.
When I try to run the report, Null values are coming first in the report (Displayed as NaN).
I want to restrict these null values from the report.
Please guide me on this.
Thanks in advance,
Imtiaz.Okay. If you are using sum, you could use the following: <?sum(Petrofac-ECRevenue[.!=''])?>
ensure that the path to the element is correct. Are you using a syntax like <?sum(current-group()/Petrofac-ECRevenue)?>
Send me an email to [email protected] with your xml data and RTF if you can't make it work.
Maybe you are looking for
-
Sharing calendars in a small workgroup, basic set up questions
I am getting no where with the new leopard server and ical server. we have an all mac office, new leopard server and are trying to make the ical server work so that users on the network can see and share each others calendars. the level of documentat
-
Navigation (Back/Forward) buttons not working in Firefox
I'm tring to put together a Browser Based help guide, and for the most part it's working as intended... except for the navigation buttons within the help guide themselves. By that I mean... Those guys. The way I would assume they work is that they pr
-
Quicktime 7.2 destroys midi ?
I've been trying to set up my instruments for hours now and resorted to calling up M-Audio (after persistent Audiomidi crashes) who have informed me that Quicktime 7.2 screws up all "Class Compliant" midi devices. Apple is responsible for writing the
-
Content Exceeds Maximum Duration
Well, admittedly, I've made a really long movie in iMovie. It's over 4 hours, which I am gathering exceeds the limit of a double layer disc set to Professional Quality. I was expecting to be able to save it as a Disc Image or a Video TS folder anyway
-
How to get rid of ios6 file downloaded to my iphone?
My iphone4 downloaded ios6 two days ago, as far as I know without my intervention (I may have accidentally given order for that...). I've noticed an icon badge with '1' on settings and with surprise I found ios6 had been downloaded and was ready to i