What Is The Purpose Of [Reporting Currency].[Local] ?

Apr 28, 2007

Hello,



Below is the many to one currency conversion MDX query generated by BI wizard. I am having hard time understanding the purpose of [[Reporting Currency].[Local]. Can anyone explain, why do we need [Reporting Currency].[Local], how does it work in the conversion and where are the relationships established between [Reporting Currency].[Local] member and other measures/dimensions? Thanks.



// This is the Many to One section

// All currency conversion formulas are calculated for the pivot currency and at leaf of the time dimension

Scope

(

{ Measures.[Internet Sales Amount], Measures.[Reseller Sales Amount]} );

Scope( Leaves([Date]) ,

[Reporting Currency].[USD],

Leaves([Destination Currency]));



// Convert Local value into Pivot currency for selected Measures that must be converted with Measure rate [Average Rate]

Scope( { Measures.[Internet Sales Amount], Measures.[Reseller Sales Amount]} );



This = [Reporting Currency].[Local] * Measures.[Average Rate];

End Scope;



End Scope;



// This is the One to Many section

// All currency conversion formulas are calculated for the non pivot currency and at leaf of the time dimension

Scope

(

Leaves([Date]) ,

Except

(

[Reporting Currency].[Destination Currency Code].[Destination Currency Code].Members,

{

[Reporting Currency].[Destination Currency Code].[Destination Currency Code].[USD],

[Reporting Currency].[Destination Currency Code].[Destination Currency Code].[Local]

}

)

);



- SB.

View 1 Replies


ADVERTISEMENT

Calculating A Local Currency Value

Jun 1, 2004

I've written an Sql statement to extract the Currency Amount and the currency rate and I want to calculate the Amount in Local Currency.

If the currency amount is in the local currency the Currency rate value returned is 0. I have used a case statement to convert the 0 to 1. (is there
easier way)

But I now can't calculate my Local amount value because of the way I have converted the currency rate.

Select IH.Amount, 'Currency Factor' = CASE
when
IH.[Currency Factor] = 0 then 1
else IH.[Currency Factor]
end,



what way should I have written this?

View 4 Replies View Related

Get The Search Term From A URL For Reporting Purpose

Jul 10, 2007



Hi guys,

I have a field called URL in my table. I want to get the SEARCH TERM from a given URL and create a report based on that information. I'm getting difficulties, because the URL have different format depending up on the search engine
that the users use to browse. Some of the search engines are "google",".excite.com", "search.msn.","search.netscape", "search.lycos", "altavista", "search.yahoo" and many more.

Examples of the URLs from google :

http://www.google.com/search?q=S26+Collet+Chuck&hl=en&client=firefox-a&rls=org.mozilla:en-USfficial&start=30&sa=N -- The search term is S26 Collet Chuck
http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLG,GGLG:2006-02,GGLG:en&q=kt21+kia -- The search term is kt21 kia
http://www.google.com/search?hl=en&q=Slagger+burning+Tables -- The search term is Slagger burning Tables


Does anybody have a sql query or used a CLR functions to get the SEARCH TERM from different search engine (URL).



Thanks in advance.

View 2 Replies View Related

Changing The Currency With Reporting Services

Sep 27, 2007



Hi,

I am formatting a currency field within reporting services using an expression. However i get the $ sign. I need the £ sign. How can i change this?

Thanks

David

View 1 Replies View Related

SQL Server 2012 :: Interpreting JSON Data For Reporting Purpose

May 16, 2014

We have a gaming application which generates transactional data in MongoDB which eventually sends the data to SQL Server and it is in JSON format. This data needs to be used for reporting tool but visualizing this data in forms of a table is proving to be difficult. One example of a column we receive is:

{responseCode:0 transactionId:null amount:200.00 message:account balance }

We need to build a sort of ETL or batch job but need to interpret this in a form which SQL Server can understand.

View 9 Replies View Related

Format Currency In SQL Server 2005 Reporting Servi

Apr 15, 2008

currency format in sql 2005 reporting services.
How to format amount do not display numbers after decimal point? e.g. if the value in the database 139000.82 what function to use (other than C or FormatCurrency)to display amount in the report such as $139,000?
Thank you to all!

MY

View 6 Replies View Related

Reporting Services :: How To Convert Currency To Words In English Or Arabic In Ssrs

Aug 24, 2015

I design a report have financial fields for the employees salary. now i need to convert the salary amount from numbers to words in English and in Arabic.

View 2 Replies View Related

Reporting Services - Local Database

Apr 11, 2008

Hello Everyone. I recently installed MS Sql Server 2005 and Reporting services on a dedicated server. My report server database and my content databases (report content) are all mounted on a named instance of SQL (on the local machine). When I attempt to run a report via the web based report manager I get the following error message.

An error has occurred during report processing.
Cannot create a connection to data source 'Production'.
The feature: "The edition of Reporting Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database." is not supported in this edition of Reporting Services.

The data source production has a connection string with the Data Source element set to the named instance of SQL running on the local machine. The report manager web application is also running on the same machine.

All databases are on the local machine (SERVER217MSSQL2K5WG). The version of reporting services installed is what shipped with the Workgroup edition of SQL Server 2005. Does anyone know what could be causing this error? I can assure you all of the data is on the local machine.

Thanks in advance,
Beau

View 4 Replies View Related

Columns Not Showing On Local Host Reporting Services?

Jun 4, 2007

i created a layout in visual studio 2005 with the proper dimensions to print on an Avery 5160 label sheet (3 labels across and 10 down)



in the Body properties, i set Columns to 3, ColumnSpacing to 0.125", and Size 2.625" (W) & 1" (H).



i created a list table with a text box of the same dimension as the Size in the Body.



the thing is when i go to preview the report in visual studio, it just shows all the data but only in one column, but if i click the Print Layout button, it shows all 3 columns, then when i print it, it works! so i assumed that this was just the way visual studio handled the data. no big deal...



the problem is when i upload this to the reporting services on our local intranet and run it from the reporting services, it shows only one column (the left most only) and prints that way too; it's almost like i need a Print Layout button on the reporting services (which there isn't one).



is there something that i need to set so that it will print in 3-column form from the reporting services so people can print on label sheets?



i hope this makes sense. also, i tested this on the same printer just to make sure it wasn't hardware.

View 3 Replies View Related

Unable To Start Reporting Services On Local Machine

Apr 6, 2008

I am new to SQL Server 2005 Reporting Services and I€™m having problems starting the service. I am running a Windows XP SP2 with SQL Server 2005 and reporting services but the service will not start. My SQL Server instance logs on using €˜Windows Authentication€™ using a username sysadm with no password

I have installed IIS and made sure that ASP.net is running.

I have opened up the Report Services Configuration Manager and amended the settings but I€™m unable to get the service started!!!

Theses are my settings

i) Report Server Virtual Directory OK
Name: ReportServer1
Website: Default Web Site

ii) Report Manager Virtual Directory
Name: Reports1
Website: Default Web Site

iii) Windows Service Identity
Service name: ReportServer
Service Account: NT AuthorityLocal Service

Iv Web Service Identity (NOT WORKING)


v) Database Setup
Servername €“ Nameofmyserver
Database name - ReportServer1
Credential Type Server Credentials


When I click on start no error message appears, it just seems to time out.

View 5 Replies View Related

Problem Printing Local Report In Sql Reporting Services

Oct 5, 2006

I have a local report for which i am binding the Dataset dynamically. I am trying to print this report using a seperate button on the page. I saw in the forums saying that the reportviewer can be converted to an EMF file, bind this to an image control and can Print this image using Javascript.

Can anyone help me with the sample code to print local report from the reportviewer (it may be in any approach.)

Thanks in advance.Sekhar T

View 9 Replies View Related

Trying To Install A Local Version Of Reporting Services, Got Error Message

Jan 31, 2008

Where do I look to fix this?

Server status is red.

I think I might have left the domain name blank when I installed this. Is there anyway to enter one later. I have tried to change this through add/remove programs and do not get a chance to change this field

Thanks!
Terry Beckman


<Header>
<Product>Microsoft SQL Server Reporting Services Version 9.00.1399.00</Product>
<Locale>en-US</Locale>
<TimeZone>Central Standard Time</TimeZone>
<Path>C:Program FilesMicrosoft SQL ServerMSSQL.3Reporting ServicesLogFilesReportServerService__main_01_31_2008_08_18_22.log</Path>
<SystemName>JPADESKTOP1</SystemName>
<OSName>Microsoft Windows NT 5.1.2600 Service Pack 2</OSName>
<OSVersion>5.1.2600.131072</OSVersion>
</Header>
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing ConnectionType to '0' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing IsSchedulingService to 'True' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing IsNotificationService to 'True' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing IsEventService to 'True' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing MemoryLimit to '60' percent as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing MaximumMemoryLimit to '80' percent as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing IsWebServiceEnabled to 'True' as specified in Configuration file.
ReportingServicesService!configmanager!4!1/31/2008-08:18:22:: w WARN: WebServiceAccount is not specified in the config file. Using default: JPADESKTOP1ASPNET
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing ProcessRecycleOptions to '0' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing DailyCleanupMinuteOfDay to default value of '120' minutes since midnight because it was not specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing WatsonFlags to '1064' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing SecureConnectionLevel to '0' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing DisplayErrorLink to 'True' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-08:18:22:: i INFO: Initializing WebServiceUseFileShareStorage to 'False' as specified in Configuration file.
ReportingServicesService!servicecontroller!9!1/31/2008-08:18:23:: Total Physical memory: 1055309824
ReportingServicesService!library!4!1/31/2008-08:18:23:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.UnknownUserNameException: The user or group name 'JPADESKTOP1ASPNET' is not recognized., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.UnknownUserNameException: The user or group name 'JPADESKTOP1ASPNET' is not recognized.
ReportingServicesService!servicecontroller!4!1/31/2008-08:18:23:: e ERROR: Exception caught starting RPC server: Microsoft.ReportingServices.Diagnostics.Utilities.UnknownUserNameException: The user or group name 'JPADESKTOP1ASPNET' is not recognized.
at Microsoft.ReportingServices.Library.Native.NameToSid(String name)
at Microsoft.ReportingServices.Library.ServiceAppDomainController.StartRPCServer(Boolean firstTime)

View 1 Replies View Related

Reporting Services :: Display Report Execution Time - Local

Sep 24, 2015

ExecutionTime gives server time, How can I get local time ? I'm planning to create a report part and use it across all the reports to display report execution time.

- Reports are being opened in Citrix
-MS SQL Server 2008 R2

View 3 Replies View Related

Move Report File From Reporting Server Back To Local Visual Studio Project

Apr 4, 2008



I am not sure if this is possible or not, but I have to at least ask.

I have a SQL Reporting Services project that has a QA server version and then a Production server version. So when requested changes are made to the reports, I make the changes in Visual Studio and then push to QA. After the changes have been tested and approved, I then push the changes to the Production server.

I have come across an issue, where requested changes were made in Visual Studio (a lot of changes), and pushed to QA. The users now have changed their minds and they want instead to stay with what is in production. So, I am looking for a way to recover the report file on the production web server, bring it back into my visual studio project to replace the report that I had changed.

Is this possible, or will I have to start over and step one and reverse the changes in Visual Studio.

Let me know.

Thank you,

T.J.

View 3 Replies View Related

What Is The Purpose Of Having SqlDataReader Here?

Jul 23, 2007

May I know what is the purpose of having SqlDataReader in Example A? I can see the same output when I tried out both. Should I use Example A or Example B? Currently, I'm using Example B since it is lesser code.Example A Dim objDR As SqlDataReader 'Create Data Reader

LoginConn.Open()
strSQL = "SELECT CountryID, CountryName FROM Country ORDER BY CountryName "
cmd = New SqlCommand(strSQL, LoginConn) objDR = cmd.ExecuteReader() 'Populate the DataReader ddlNationality.DataSource = objDR ddlNationality.DataBind() ddlNationality.SelectedValue = dvUserProfile.Item(0)("Nationality")LoginConn.Close()  Example BLoginConn.Open() strSQL = "SELECT CountryID, CountryName FROM Country ORDER BY CountryName " cmd = New SqlCommand(strSQL, LoginConn) ddlNationality.DataSource = cmd.ExecuteReader() 'Populate the DataReader ddlNationality.DataBind() ddlNationality.SelectedValue = dvUserProfile.Item(0)("Nationality")LoginConn.Close()

View 2 Replies View Related

SQL Replication For DR Purpose

Sep 26, 2005

Can you really use the SQL replication to mirror data to another server for the purposr of DR ? What is the best method ? I would want to be able to switch to DR very quickly, allowing users to continue work. Or is there something I should know ? I would be very grateful for any help. :D

View 3 Replies View Related

What Is The Purpose Of Using WITH NOLOCK

Aug 12, 2013

What is the purpose of using WITH(NOLOCK)?

View 3 Replies View Related

Purpose Of The Sql Row Type

Oct 30, 2007

From a research paper I got to know that in transformation of one to many relation ship, in the "many type we have collection atribute consists of attribuet key from the one type. If we have a single key we will use a collection of simple type. Otherwise, we will have a collection of ROW type.

My probelm here is,is there any conditions to be cecked before using ROW type?Can't we use MULTISET instead of ROW type alone?

Please help me out by ansereing this.

Thanks

View 1 Replies View Related

What Is Purpose Of N In SQL Examples?

Jul 23, 2005

What is the purpose of the "N" preceding the parameter values in theSQL examples?Here is an example copied from Books Online, SP_ATTACH_DB:EXEC sp_attach_db @dbname = N'pubs',@filename1 = N'c:Program FilesMicrosoft SQLServerMSSQLDatapubs.mdf',@filename2 = N'c:Program FilesMicrosoft SQLServerMSSQLDatapubs_log.ldf'I've found that my sp_attach_db routine works without the "N", but Ineed to know what it is that I don't know.Thank you everybody for all your help.

View 1 Replies View Related

Purpose Of 0E0, 100E0

Mar 28, 2008

In Chapter 7 of Microsoft Press "Inside Microsoft SQL Server 2005: T-SQL Querying" about use of TOP and APPLY, the authors use "TOP(0E0) PERCENT to TOP(100E0) ". What is the purpose of this 0E0, 100E0 notation?

View 5 Replies View Related

PURPOSE OF TRIGGERS IN SQL SERVER

Feb 21, 2008

WHY DO WE USE TRIGGERS IN SQL SERVER2005.
 WAT IS ITS IMPORTANCE.
AND SOME SAMPLES
PLEASE GIVE ME SOLUTIONS

View 2 Replies View Related

Purpose Of Dtproperties Table

Feb 4, 2002

What is the purpose of the dtproperties table? I looked in BOL and the references are pretty thin.

View 1 Replies View Related

What Is The Purpose Of A Database Owner

Dec 28, 2013

What is the purpose of a database owner i.e. the dbo.DBNAME that comes before the name of the database?

View 7 Replies View Related

What Is The Purpose Of Cube And ROLLUP?

Mar 30, 2007

Hai all !

What is purpose of Cube and Rollup?
Can u explain with small example?

Regards
Umapathy

Umapathy

View 1 Replies View Related

What Is The Purpose Of The ROWGUIDCOL Property?

Dec 4, 2007

Greetings,What is the point of Microsoft defining a ROWGUIDCOL property that canbe attached to a 'uniqueidentifier' column? This is defined as a columnthat is 'globally unique', but doesn't the uniqueidentifier datatypealready guarantee that? To make matters more confusing, they tell youin Books Online to add a Unique constraint because ROWGUIDCOL does notguarantee uniqueness...so what's the point?Apparently the only functionality attached to this property is that onlyone such column can exist per table and that it can be queried using the$ROWGUIDCOL keyword in SQL.Can anyone tell me the rationale for when to use this and when not to,or what the purpose of this property is?Thanks,Sam BendayanDB ArchitectUltimate SoftwareJoin Bytes!*** Sent via Developersdex http://www.developersdex.com ***

View 2 Replies View Related

User Without Login Purpose

Nov 16, 2006

HI, we have a database that has a user created without login. I was wondering why using a user without login? Is there a reason for this? Can we use this user and how since it is not mapped to any login?

Thank you,
Ccote

View 8 Replies View Related

Currency

Mar 13, 2004

Hello I am a newbe to sql and i am shure my problem is simple but hope somone can help.

My Total comes out like $20.00 and i want it to come out like 20.00€

Simple but frustraiting

Any help apprieciated

Colin

View 4 Replies View Related

What Is Purpose Of Semi Colon After Procedure Name

Jul 23, 2005

I've seen some system sp's that have a semi colon and number after thethe name such ascreate procedure sp_procedure_params_rowset;2what does this do?

View 1 Replies View Related

Purpose Of OUTPUT Keyword In Sql Server

May 17, 2006

hello sirspurpose OUTPUT keyword with examples

View 3 Replies View Related

Purpose Of Writing Dates In This Format

Jan 15, 2007

hi Experts,what is the purpose writing a date in the following format:where x.event_date >= {ts '1980-01-01 00:00:00'}versus like this:where x.event_date >= '1980-01-01 00:00:00'what benifit does it add to later form of writing?Thanks in advance.schal.

View 4 Replies View Related

Any Idea What The Purpose Of This SPROC Might Be? (no Prizes, Sorry!)

Jan 19, 2007

I've been asked to document an application and I'm going through allthe Stored Procedures and trying to work out what they're supposed todo.Can anyone give me an idea of what the Stored ProcedurewsBookingListsGetAll below is trying to achieve? Is it incomplete? Ican't see any reason to pass in the Parameter, and what is the UNIONSELECT 0 all about?Many thanksEdwardCREATE Procedure wsBookingListsGetAll@DebtorIDvarchar(15)Asset nocount onSELECTfldBookingListIDFROMtblWsBookingListUNIONSELECT 0returnGO/* Table def */if exists (select * from dbo.sysobjects where id =object_id(N'[dbo].[tblWSBookingList]') and OBJECTPROPERTY(id,N'IsUserTable') = 1)drop table [dbo].[tblWSBookingList]GOCREATE TABLE [dbo].[tblWSBookingList] ([fldDebtorID] [char] (15) COLLATE Latin1_General_CI_AS NOT NULL ,[fldBookingName] [varchar] (50) COLLATE Latin1_General_CI_AS NOT NULL,[fldAddressCode] [char] (15) COLLATE Latin1_General_CI_AS NOT NULL ,[fldEmail] [varchar] (250) COLLATE Latin1_General_CI_AS NOT NULL ,[fldFirstName] [varchar] (100) COLLATE Latin1_General_CI_AS NOT NULL ,[fldLastName] [varchar] (100) COLLATE Latin1_General_CI_AS NOT NULL ,[fldBookingListID] [int] IDENTITY (1, 1) NOT NULL ,[fldInvoiceNumber] [varchar] (15) COLLATE Latin1_General_CI_AS NULL ,[fldPayeeID] [char] (15) COLLATE Latin1_General_CI_AS NULL) ON [PRIMARY]GO

View 1 Replies View Related

Convert 0 Or NULL To 1 For Devision Purpose

Jul 20, 2005

hi,I have data like 0, null or some value in one column. I want to usethis column for devision of some other column data.It gives me devision by 0 error.how can I replace all 0 and null with 1 in fly.thanks in adv.t.s.negi

View 2 Replies View Related

What Is The Purpose Of The Rptproj.user File?

Dec 20, 2007

I'm concluding that...

.rdl files are critical and should be recorded in source control
.rdl.data is useful only in preview (saving trips) and therefore should not be recorded in source control
.rptproj file has useful datasource, path and deployment info and should be recorded in source control
.sln contains useful solution container info and should be recorded in source control
.suo contains user specific setting/preference info and should not be recorded in source control
.rds contains important data source info and should be recorded in source control

...but cannot find info on the purpose of rptproj.user file and therefore dont know if recording such files in source control is useful.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved