cognos 10.2.2 -Report Studio - report

I have attached the report output.If you see the report output , the column ‘Total_Hotel_Charge’ highlighted in yellow is showing the amount in UK pound. But I don’t understand why . when I checked in the property of the column and found the Data format is set to ‘Currency ‘ but not set to UK pound . please see the screen shot .
So my questions is why it’s taking UK pound as default ? Is there something could be set in ID studios?Anyone else faced this kind of issue ?If yes could you suggest me some thing to resolve this ?
enter image description here
enter image description here
Thank you

In the Data Format dialog, the Format type is set to Currency and no Currency is chosen. This makes it use the default currency, which I assume is UK pound. You can correct that by choosing a specific value in the Currency property. Don't trust the sample being displayed at the bottom of the dialog.

Related

Report Designer Parameter

i filter my report with <"BAccount.AcctCD">
[enter image description here]
but i the main report data is from <"LegalGeneralLedgerParameters"> which contains only <"ReferenceID">
its the same as <"BAccount.BAccountID">
so my question is can i filter with one field and i get in return i get another one ?
thank you for your cooperation
https://i.stack.imgur.com/Vhu7S.png
enter image description here
this is the filter i need but i don't have a drop list like the above and this is the parametre that i add
enter image description here

SSRS 22017 passing a parameter value to a url

Hi I have been trying to pass a value in to another report via a URL link, but cannot get the syntax correct, I have trawled the net and the 8 questions already in Stack and tweaked my code for each answer but cannot get it right.
I have a fully developed report that used a parameter "SALES_ORDER" you manually enter the SALES order and the report runs ok.
I have another report that is a graph of the above data with the sales order as the key to both.The graph is showing the last 10 sales orders by sales order number , when I click on the sales order number I want to be taken to the URL of the original developed report taking the sales order I clicked in in the graph so the original report uses this as the parameter.
The code for the jump to in the action box of the graph is :
="http://SERVER_NAME/Reports/report/GEMINI%20REPORTING/BY%20DEPARTMENT/PP/Manual%20Production_order_tracker_V31&rs:Command=render&SALES_ORDER="+Fields!SOPT_SALES_ORD.Value
SSRS likes the code as the graph report runs ok, I can click on the required bar for the specific sales order It then opens the correct URL page but I get the error below:
"The path of the item '/GEMINI REPORTING/BY DEPARTMENT/PP/Manual
Production_order_tracker_V31&rs:Command=render&SALES_ORDER=2900252422'
is not valid. The full path must be less than 260 characters long;
other restrictions apply. If the report server is in native mode, the
path must start with slash. (rsInvalidItemPath) Get Online Help "
The parameter in the developed report is "SALES_ORDER".
I know I could duplicate the developed report and include it in the "new project" I am working within but that then means for any change to the developed report I have to make the same changes to the one in the new project, hence wanting to hyperlink to it.
any help would be appreciated.
Thank you.
Tony King
You can use Action as Go to Report and give your Report name and Then therein you can give Parameter name and it's Value?
Screenshot for Reference

Datetime Parameter In CRM report run invalid

I'm Working with SSRS Report in CRM Then I have problem about DateTime Parameter before run report below.
First, I choose date from Datetime Picker below
Then TextBox show
In fact It's should show Only date But why it's show Date & Time
And after i Choose anything in parameter section Parameter always refresh and I surely I set automatic determine in .rdl file (from my experience its should not refresh)
Second, When I choose first date of month
TextBox show
Its show.
8-Jan-15
So My Question is.
Why Text Box show Invalid value.
Why its always refresh when i choose paremeter.
And How to fix it.
Thank you.
(I think I not happen for .rdl file)
I don't know CRM but in SSRS I would say
This seems to be a bug in CRM with using other date formats: https://community.dynamics.com/crm/f/117/t/138318
Parameters refresh in case other parameters are dependent on the previous parameter.
You can't fix the refresh, you can try changing your system date format but that's not a good fix. You can try this:
http://geekswithblogs.net/naijacoder/archive/2008/06/26/123422.aspx

Format negative values in reports

I have a report which contains 10 columns of stock values.
When a stock value is negative I would like the text in my report to be formatted differently, for example I may wish to format it in Bold & Red.
Is this something I need to do in the fetch method?
At the moment my fetch method is very basic, just using setRecord once to setup a temporary table.
Is it possible and if so how is it done?
Take a look on the tutorial_ColourLines report.
reportSection.foregroundColor(colour);
The report changes the color of a report section, but it can be done to individual report controls as well.

Date formats in ActiveRecord / Rails 3

In my model, I have a departure_date and a return_date.
I am using a text_field instead of the date_select so that I can use the JQuery datepicker.
My app is based in the US for now but I do hope to get international members.
So basically this is what is happening. The user (US) types in a date such as 04/01/2010 (April 1st).
Of course, MySQL stores it as a datetime such as 2010-04-01...
Anyway, when the user goes to edit the date later on, it shows "01/04/2010" because I am using a strftime("%m/%d/%Y) which doesn't make sense....so it thinks it is January 4th instead of the original April 1st.
It's like the only way to accurately store the data is for the user to type in: 2010-04-01
I hope all of this makes sense. What I am really after is a way for the user to type in (or use the datepicker) a date in their native format.
So someone in Europe could type in 01/04/2010 for April 1st but someone in the US would type in 04/01/2010.
Is there an easy, elegant solution to this?
Thanks for any suggestions.
I have been confronted to the same issue lately.
My website is based in france, so i have to store date as a french date.
I also use a Jquery DatePicker.
To do this, i set the I18n.locale to the visitor's country. For exemple :
I18.locale = :fr
You can do this with a before_filter into your application_controller
Then, into your locales/fr.yml you can define the way you want to show the date
And finally, into your view, you can set the date format view, with the JqueryDatePicket properties.
If i remember well, this methode was something like that:
$.datepicker.formatDate('dd-mm-yyyy');
You can find it anyway on the datepicker documentation.
And this format can be found for exemple into your locale/fr.yml
And that's all !
Hope this will help !

Resources