Case-sensitive values in an Tabular Model with a Oracle Datasource

Hi,Lets use an Oracle Database as Datasource for my Project. I use a "Select distinct ColumnA from Table" to build up a LookupTable in my Tabular Model. But it returns Dublicates!! eg:
When I fire the query from Oracle SQL Developer I got 2 Records "1N" and "1n". In the Grid View in SSDT I see 2 times "1N". ??
Collation Case Sensitive. OK, but how to solve that?
KR

Hi KR,
According to your description, you encounter the case-sensitive issue when creating SQL Server Analysis Services Tabular model project, right?
Based on my research, Tabular models have the insensitivity problem by default. The workaround for this issue is creating a empty tabular model in tabular server using the xmla below and import the tabular in SSDT.
<Create xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<ObjectDefinition>
<Database xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200" xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
<ID>Collation test</ID>
<Name>Collation test</Name>
<Language>1033</Language>
<Collation>Latin1_General_CS_AS</Collation>
<DataSourceImpersonationInfo>
<ImpersonationMode>Default</ImpersonationMode>
</DataSourceImpersonationInfo>
<ddl200_200:StorageEngineUsed>InMemory</ddl200_200:StorageEngineUsed>
<ddl200:CompatibilityLevel>1100</ddl200:CompatibilityLevel>
</Database>
</ObjectDefinition>
</Create>
For the detail information about it, please refer to the link below.
http://blogs.msdn.com/b/cathyk/archive/2011/10/24/making-tabular-models-more-sensitive.aspx
Regards,
Charlie Liao
If you have any feedback on our support, please click
here.
Charlie Liao
TechNet Community Support

Similar Messages

  • Crystal Report with 2 oracle datasources (left outer join) very slow

    I've made a crystal report with 2 oracle datasources (2 commands). I'm using crystal 10.
    These 2 data sources are linked with a left outer join.
    The report takes a while to run (more then one hour).
    i can run Both query's in a couple of seconds/minutes, but it looks like crystal is runniing the second query for each record in the first query.
    When i make the same report in BO. Just 2 queries with merged dimensions in the report, it is taking a couple of minutes to complete the report.
    Question is if somebody knows how crystal is handling these 2 different data sources.
    Is there any way to say to crystal to fetch the data of both queries and do the join after that?
    At the moment it looks like that crystal is going to the other datasource for each record in the first query, which will cost a lot of time.

    Joris,
    I've always had a bad time combining a Command with any other object. Performance seems to drop dramatically, just as you've described.
    I can't tell you specifically why, it falls off so bad...
    The solution I've used is to do a linked  server query (at least that's what it's called in MS SQL Server) I've never used Oracle, but I'd be VERY surprised if it didn't have that same feature. This will keep 100% of the processing on the server(s) and will get your run times back to what you would expect.
    HTH,
    Jason

  • How to select a case sensitive value in SQL with C#

    Hello,
    I have an application that at the begining a user will login with a user name and password which is stored in the database. The SQL statement is as follows:
    "SELECT id_employee FROM employee WHERE employee_number='" + txtUserName.Text + "' AND passWord='" + txtPassword.Text + "'";
    For testing purposes I have set the password to the word test.   The problem is, if the user enters in TEST or TeSt or TESt  it will grant them access. How do I set it to force the correct case?
    I am using SQL 2005 for the database.
    Thanks!
    ~zero

    You can also set Collation while comparing strings:
    "SELECT id_employee FROM employee WHERE employee_number='" + txtUserName.Text + "' COLLATE Latin1_General_CS_AS AND passWord='" + txtPassword.Text + "'  COLLATE Latin1_General_CS_AS";
    All comments about not doing this type of quering using command string, instead of command with parameters, they are apsolutely right.
    Nevertheless i will have only username as a parameter in the command and password will be return value from procedure. I will check for equality of entered password and returned one from command in C# code, and C# is case sensitive. There is a good security model implemented for password in AdventureWorks sample database for SQL Server 2005, in table Person.Contact.
    That model use two fields for password, PasswordHash and PasswordSalt. PasswordSalt is randomly generated hash when password is modified and with that salt, password string is encrypted, which produce PasswordHash. So when you want to authenticate a user, execute a command that will return a row(PasswordHash and PasswordSalt) for entered username, and in application you will encrypt entered username with PasswordSalt. If generated string is equal with the one returned PasswordHash, then you have a valid login. If nothing is returned from command or they are not equal, you have invalid login.

  • Check Case sensitive values

    A field value is coming in caps.
    lf_tmp  =  u2018RMu2019.
    I have to check this with another field  lf_werks  ,which  always comes in small letters.
    if lf_tmp   CN lf_werks  .
        MESSAGE e002(zm) WITH 'The Path is wrong for the plant'
                               p_werks.
    ENDIF.
    This check always fails even if the values are like belowu2026
    lf_tmp  =  u2018RMu2019.
    lf_werks  = u2018rmu2019.
    How do I  by-pass this case sensitiveness u2026.when I want to do the check.
    thanks in advance

    Actually, I'd do it the other way:
    TRANSLATE lf_werks to UPPER CASE.
    Since lf_werks can be a combination of upper and lower case, translating lf_tmp to lower case may not always work. This way you are always comparing upper case to upper case.
    Rob

  • Error in import : tabular model with Oracle

    Hi there,
    I seems to be getting very strange error.
    I am trying to build tabular model over oracle db. I get test successfull for connection, able to validate the query, and in query designer, if i execute it shows me data too. But when i press finish, it gives me error while importing.
    ERROR from import screen
    OLE DB or ODBC error: ORA-01033: ORACLE initialization or shutdown in progress.
    A connection could not be made to the data source with the DataSourceID of '8ffdbfd9-e21f-442d-9040-b66dc074c87d', Name of 'XXXXXXX'.
    An error occurred while processing the partition 'XXX_3fc019fa-4d1a-4d39-9317-3dcde3297579' in table 'XXXXXX'.
    The current operation was cancelled because another operation in the transaction failed.
    I cant figure this out,Even in Execl powerpivot i am able to pull the data in.
    Any idea..TIA
    Rahul Kumar, MCTS, India, http://sqlserversolutions.blogspot.com/

    Hi Rahul,
    Based on my research, for the error “OLE DB or ODBC error: ORA-01033: ORACLE initialization or shutdown in progress.
    A connection could not be made to the data source with the DataSourceID of '8ffdbfd9-e21f-442d-9040-b66dc074c87d', Name of 'XXXXXXX'.”
    It seems that it related to Oracle database, here are some links about how to troubleshoot this issue, please see:
    ERROR - ORA-01033 oracle initialization or shutdown in progress
    ERROR - ORA-01033 oracle initialization or shutdown in progress
    If the issue persists, since I am not an expert on Oracle database, you can post the question on the Oracle forum, so that you can get more help.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Tabular model with Direct Query issue

    Hi,
    i am creating a tabular model - Direct Query option. I am using a kind of below query to import data,
    Declare @TEST as Table (TestID int, TestName varchar(20))
    Insert into @TEST
    Select 1, 'TEst1' Union
    Select 2, 'TEst2'
    Select * from @TEST
    But the Import fails with an error similar to below,
    OLE DB or ODBC error.  An error occurred while processing the partition 'Query_``````````' in table 'Query_````````'.  The current operation was cancelled because another operation in the transaction failed.
    Any idea, why it is failing ? or is it like we shouldn't use declare statement in the Query area ?
    Please reply ...Thanks in advance !
    --------------------------- Radhai Krish | Golden Age is no more far | --------------------------

    I'm pretty sure that the query would have to be a single statement so the declare statement would be causing issues.
    So just doing this as a single union query should work:
    Select 1 as TestID, 'TEst1' as TestName Union
    Select 2, 'TEst2'
    http://darren.gosbell.com - please mark correct answers

  • Case sensitive within character literals in SQL Server and Oracle

    I am migrating SQL Server database to Oracle database by using Oracle Workbench.
    SQL Server is not case sensitive, but Oracle PL/SQL is case sensitive within character literals. for example, if sort the following string ('UN','Win', 'iS' ,'Ne','zS'), SQL Server will get ('iS', 'Ne','UN','Win','zS') order, but Oracle PL/SQL will return ('Ne','UN','Win','iS','zS') order.
    Anyone has idea how I can get same result as SQL Server without change PL/SQL code (I don't want to change "ORDER BY typename" to "ORDER BY UPPER(typename)" for every stored procedure).
    Thanks

    Jimmy,
    alter session set NLS_SORT=West_European;
    is the closest thing I know of, but UPPER() is the only sure way.
    West_European sort order is AaBbCc ... 0123456789
    usually sort order is 0123456789 ABC ... abc ...

  • Single CAS NameSpace in Multi-Data Center Model With Exchange 2013

    Hi
    We are in process of transitioning from Exchange 2007 to Exchange 2013. Our Exchange 2007 infrastructure is as follows:
    2 Data centers (DC 1 and DC 2). Both with active user population. Both have their own direct Internet Connectivity
    Standalone Exchange 2007 mailbox servers in each data center
    Load Balanced CAS (HT co-located) servers using Hardware Load Balancers in each data center. Load balancers are configured with VIP and FQDNs (LoadBalancer1.Com and LoadBalancer2.com)
    Currently No access allowed from Internet except ActiveSync (No OWA or OA)
    Outlook anywhere is disabled in Exchange 2007 organization but once mailboxes will be moved to Exchange 2013, OA will definitely be used – we will provide OA on Intranet as well as Internet
    All the internal URLs including Autodiscover point to VIP (Load Balancer IP)
    Autodiscover is not currently published on Internet, but we have a plan to publish it now once Exchange 2013 is introduced
    We want to keep a single CAS NameSpace BYOD.ABC.Com for our ActiveSync and OA (and not going to allow OWA) access from Internet. We want to have Split-DNS for our new Exchange 2013 infrastructure due to
    the simplicity it brings. So we are going to use one name BYOD.ABC.Com from the Internet. We have GSLB that provide Fault Tolerance and Geo-Load Balance to external requests coming from Exchange clients, between two data centers. When we will
    install new Exchange 2013 servers, they’ll be part of new VIP so:
    In a 2 data center model, can we name our internal VIPs same in both data centers (i:e BYOD.ABC.Com) as we have decided to go with Split-DNS? Do you see any caveats to this strategy
    If the above strategy will not work, what are the alternate approach(es).
    If we configure same names for the VIPs in both data centers, it will mean that the Autodiscover SCPs for all the Exchange 2013 CAS objects (and Exchange 2007 CAS objects during co-existence) will point to BYOD.ABC.Com. This should not be a problem for
    AD joined systems as they’ll find and contact Autodiscover endpoints in their own sites (based on Keywords attribute that tells which AD site SCP belongs to) –
    Please correct me if this is wrong.
    If we configure same names for the VIIPs in both data centers, this also means that we have to configure BYOD.ABC.Com on External as well as Internal URLs on all the Exchange 2013 servers across both the data centers – Wouldn’t that be a problem – in terms
    of loops during CAS-CAS Proxy/Redirection?
    If we configure different names of the VIPs (say BYOD1.ABC.Com and BYOD2.ABC.Com), how will the Outlook Anywhere requests be handled in both data centers. The OA requests from DC1 will expect the Certificate Principle Name to be BYOD1.ABC.Com and requests
    from DC2 will expect the Certificate Principle Name to be BYOD2.ABC.Com. How to get this stuff working. As far as I know, OA expects CPN to match with it’s name.
    Thanks
    Taranjeet Singh
    zamn

    Any comments/suggestions from community......
    Thanks
    Taranjeet Singh
    zamn

  • What will be physical architecture for SSAS Tabular model with Sharepoint 2013?

    I would like to build SharePoint 2013 based reporting portal with Power View as visualization tool.
    I have 300-800 million rows and customer puts priorities in high performance.
    Data source is SQL Server database and Flat Files.
    What will be recommended physical archicture? Is following good?
    -SQL Server database server
    -SSAS Tabular application server
    -SharePoint 2013 Front-End (multiple if needed)
    Kenny_I

    Hi Kenny_I,
    According to your description, you want to if it's OK to SQL Server database server, SSAS tabular application server and SharePoint 2013 Front-End on different server, right?
    As I said in another thread, even though we can install all of them on same physical server, however in the production environment, the recommendation is that install them on different server, it will beneficial to troubleshooting the issue when some
    issue occur on the environment. So in your scenario, it Ok to install all the application on different server. Here are some links about requirement to install the application.
    System requirements for Power View
    Hardware
    Sizing a Tabular Solution (SQL Server Analysis Services)
    If I have anything misunderstood, please point it out.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • HFS File system with case sensitive is not accepted to install creative cloud? Is there any other way but install the whole MacOS again after formatting the drive. I cannot belief that Adobe is so bad to it's Mac customers..

    After many hours setting up OS10.10 from he scratch the last step should be installing m Adobe apps again.
    trying this I always get the error message that creative cloud does not accept case sensitive file systems and I shall use another drive.
    This means I have to set up the whole machine again after formatting without case sensitive but then having copy problems with my NAS?
    I cannot belief that Adobe is really demanding this. If so this would show how urgent this market need alternatives and some more competition...

    Hi,
    You can refer below link for more information.
    Error "Case-sensitive drives not supported" or similar install error | Mac OS

  • Performance testing of Tabular model

    I have Power View on SharePoint 2013 on tabular model.
    How to test performance of tabular model with SQL Server tools or equivalents?
    Kenny_I

    Hi Kenny_I,
    According to your description, you want to test the performance of tabular model with SQL Server tools, right? In this case, we can use SQL Profiler to achieve your requirement. Here is a blog which describes using SQL Server to Analyze Analysis Services
    Profiler Traces from Tabular Models, please refer to the link below to see the details.
    http://blogs.msdn.com/b/johndesch/archive/2014/06/27/using-sql-server-to-analyze-analysis-services-profiler-traces-from-tabular-models.aspx
    Besides, here is a similar thread for you reference.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/649c11a5-b771-4153-b609-e8754d29a9ad/tracing-and-monitoring-mdx-query-against-a-ssas-tabular-model-ssas-2012?forum=sqlanalysisservices
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • WE19 (iDoc Test Tool) and case sensitive content

    Hi experts,
    I am not able to send case sensitive content via WE19. When I change a value of an existing iDoc (via WE19) all values of the segment are converted to uppercase (independent of the domain).
    To reproduce:
    1) Open transaction WE19
    2) Use any existing iDoc as template
    3) Open any segment
    4) Fill any field with a lowercase text
    5) Press ENTER
    6) Re-open the segment and check changed field. -> The value is converted to upper case
    This (translate to upper case) happens only on the segment that has been edited in WE19.
    In my opinion, the transaction WE19 is not usable because it is not possible to edit/change case-sensitive values. In our customer setting we need to send case-sensitive data in iDocs to the receiver.
    Question: Is there any other transaction to read an existing iDoc, change the data case sensitive and send it to the receiver.
    Thanks in advance.
    Björn

    Hi,
    yes - this is a "strange" behaviour ;o)
    Only other solution I know you need an IDoc in status 51 for:
    - go to bd87
    - select the IDoc in status 51
    - navigate to the needed data record
    - double click it
    - menu => display => change
    - insert your data
    After saving the status will be reset and you can process the IDoc in BD87.
    I am not sure this will work for each IDoc and element - but you may give it a try.
    For converting an existing to status 51 you can use this report: RC1_IDOC_SET_STATUS
    Regards,
    Kai

  • Copying Files from Case-Sensitive External to Non-Case-Sensitive Internal?

    +(Sorry if this is the wrong sub-forum, I didn't know which one this question fit in)+
    I just got a new iMac today and I'm trying to transfer some of my old files (specifically iTunes & iPhoto). My old computer was an MBP & only had an 80 GB HD, so these files were run off an external drive.
    I know basically how to copy these files onto my new computer. The problem is that my external drive is formatted as Mac OS Extended (Case-Sensitive, Journaled). So when I try to copy the iTunes or iPhoto folder, I get the following message:
    +You can’t copy “iTunes” because it has the same name as another item on the destination volume, and that volume doesn’t distinguish between upper- and lowercase letters in filenames.+
    The only option I know of is to reformat my iMac's drive as Mac OS Extended (Case-Sensitive, Journaled). Since Macs ship with the drive formatted as Mac OS Extended (Journaled), I assume that's the best option, and would prefer not to reformat if I don't have to. I've also read that some programs won't run on a case-sensitive drive.
    *Do I have any easy alternatives to move my iTunes/iPhoto folders?*
    *If not, what negatives do I need to consider when reformatting my iMac's drive to a case-sensitive one?*
    Thanks.

    Joel-X wrote:
    I've solved the problem for iTunes, but it was a bit tedious.
    Yes, I'll bet! It would be sooo much easier if the Finder would produce a list somewhere.
    *Assuming that I solve the "case-sensitivity problem" for my old "iPhoto Library" folder, will a simple drag and drop of that folder to my new iMac allow me to just open iPhoto 9 and have all my photos be there?*
    I believe so, as that's how Apple tells you to move it: [Moving your iPhoto library|http://support.apple.com/kb/HT1229].
    I don't want to spend too much time on the case-sensitivity problem until that question is answered, just in case.
    It may not be as easy to solve, though. That library is a "package," kind of like an app -- actually a folder, but treated as a single object for most purposes. If you right-click it via the Finder and select +Show Package Contents,+ you'll see the file/folder structure.
    See the note in the link above -- it sounds like changing file names will break the structure; it may only affect the files you change, but it might be worse.
    If you can find the duplicates, you may be better off exporting them via iPhoto, deleting them via iPhoto, then re-importing them under different names. That should keep the structure intact.
    At the very least, make a full copy somewhere before touching it.
    Good luck!

  • Change PowerView datasource from PowerPivot to SSAS Tabular model

    Hi all,
    I'm playing around with PowerView at the moment and use the PowerView examples provided by Microsoft. These are all based on PowerPivot with data from an access DB. Now I want to have the sample data not stored locally but on the server. What I did so far
    was importing the PowerPivot into a SSAS Tabular Model (with the VS wizard) and published the model to the SSAS Server. So far so good, I can browse the data in the model. 
    However, I have not found a possibility to change the data source of the PowerView from PowerPivot to the SSAS Tabular Model. How can I do this? Or is this not possible?
    Thanks,
    Pascal

    Hi Pascal,
    Power View only supports Microsoft BI Semantic Model (BISM) for Power View data sources. BISM files are designed specifically for connecting to Excel workbooks and SSAS tabular models. The Excel workbooks can be in the PowerPivot Gallery on a SharePoint
    site or in a SharePoint library. In this issue, you can publish the PowerPivot workbooks to a SharePoint library or the PowerPivot Gallery, and then create RSDS file or BISM data source to the workbooks. Here are the connection string samples:
    An Excel workbook in Shared Documents on a SharePoint site:
    Data Source=”http://<SharePointSite>/Shared Documents/MyExcelWorkbook.xlsx”
    An Excel workbook in the PowerPivot Gallery on a SharePoint site:
    Data Source=”http://<SharePointSite>/PowerPivot Gallery/MyExcelWorkbook.xlsx”
    Reference:
    http://office.microsoft.com/en-us/excel-help/create-a-connection-to-a-data-model-for-power-view-HA102835737.aspx?CTT=5&origin=HA102834736
    Regards, 
    Mike Yin
    TechNet Community Support

  • Mac OS Format (case-sensitive) transfer to a PC friendly format

    Hi,
    I have a complicated issue.
    The computer I'm currently using is utilizing Mavericks 10.9.2.
    The format of the SSD is the default Mac OS X Journaled type.
    One of my external HDDs is formatted as (Mac OS Extended (Case-sentive, journaled)).
    I'd like to consolidate all my data onto an exFAT formatted external HDD, but the (Mac OS Extended (Case-sentive, journaled)) formatted HDD is throwing out errors every time I try to transfer the data onto it.
    Is there any viable solution under Mavericks that could help me fix this issue?

    Unless you tell us what the error message says, then it's hard to help!
    Why did you format your external case-sensitive? This can cause errors with some software and should not be done unless you particularly need it for some particular purpose.
    Finally, I would recommend that you store Mac data on a Mac-formatted drive. Other formats don't always play nice with the extended attributes and other metadata that OS X adds.

Maybe you are looking for

  • Itunes 8 won't recognize my ipod.  Can anyone help?

    After downloading and installing Itunes 8, my ipod will not connect to itunes. Instead, the ipod is recognized as the computer automatically brings up the ipod as a Windows F-drive search. It also shows that there is an ipod control error message tha

  • Im using firefox 3.6.18 and when i open website it hangs for a few seconds...

    im surfing at myanimelist.net and when i loads the pages, it hangs for a few seconds and stop... then hangs again (not responding).. i disable all the plugins but it still the same.. and ive deleted .dat files of plugins suggested by troubleshoot but

  • How do I rename a device in the Finder window?

    I have several computers in the house. When I am sharing the devices on my network, my newest one, a MacBook Air, seems to be named as a MacBook, probably because the transfer method of files from my older MacBook when I set it up ended up keeping th

  • Re: Crystal error: A summary has been specified on a non-recurring field.

    Hi, I managed to retrieve a value from a sub-report with a shared variable, but when I try to summarize that value, I receive an error.  I found out that you can't  summarize a shared value. Is there any other way to retrieve a value from a sub-repor

  • Question about muse/catalyst

    I Am a designer and my client wants to use business catalyst so I can design their site in muse and push live but they want the option for their users to login to their accounts- is this possible with muse/catalyst?