Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. foreveryoung

    Regular Expressions CLR Not matching certain texts.

    I have created my first CLR in SQL to use regular expressions designed to match certain codes. Trouble is that I am trying to match the text HE1 in a string and keep getting a match for HE12 which is what I want to avoid. I have tried dbo.RegMatch(N'HE1[^0-9]' but this doesnot match anything...
  2. foreveryoung

    mdx create member question

    I will try and make this as simple to understand as possible. I want to create a calculated member that will allow me to use the result as part of a query. The calculate member must contain the sum of a particular measure (measures.amount). This member must have already had two dimension...
  3. foreveryoung

    MDX Distinct Count

    And use the fact key in a many to many relationship as defined in the dimension usage? Thanks Mate
  4. foreveryoung

    MDX Distinct Count

    Sorry what I meant was number of attendances as a dimension rather. Eg below Attendances April May Jun ... 3 4 5 3 7 1 6 1 2 2 0 12 So for example from above 6 Unique patients attended 7 times in May. This was my attempt...
  5. foreveryoung

    MDX Distinct Count

    Can someone help me to construct an MDX expression. Its easier if I explain the final result. For admissions to hospital. Number of unique attendances as rows and months for a specific year as columns. The measures to show in the middle would be number of unique patients. So from the above...
  6. foreveryoung

    FUNCTION TO RETURN TABLE DEPENDING ON PARAMETERS PASSED

    Thanks for your reply, I cannot see anything wrong with my IF syntax after checking the help file. Is this because its function and not a USP?
  7. foreveryoung

    FUNCTION TO RETURN TABLE DEPENDING ON PARAMETERS PASSED

    Please can you help me with a function I am trying to create in TSQL. I want the results of different queries returned depending on the parameter I pass to the function. ALTER function [mercerd].[FN_Endoscopy_E01_QuarterlyCensus] (@lineid char(3)) returns table as return ( IF...
  8. foreveryoung

    Rounding Time up to the nearest custom interval

    I am trying to work out a function that will allow us to round a given time to the nearest custom interval. I work in a hospital where we have consultant clinics. Take the example of a typical clinic where the session runs from 09:00 to 12:00 with each appointment lasting 30mins. So to fit...
  9. foreveryoung

    Missing Filter Toolbar Powerplay Excel

    Thanks for your post. I have just pointed the excel to the add in. Do you think this is the issue? The Add in does not require an install does it, you should just be able to copy the add in file.
  10. foreveryoung

    Missing Filter Toolbar Powerplay Excel

    I have just had my Microsoft Office Version upgraded to 2003. Since this upgrade the filter toolbar has become disabled and when I choose navigate nothing happens. I have tried to open another cube but this does not solve the problem. My colleague has the same version of office installed and...
  11. foreveryoung

    Powerplay Web Reports not Prompting

    Yes that works well done. Why does it not prompt when clicking on the report though? Thanks anyway David
  12. foreveryoung

    Powerplay Web Reports not Prompting

    Thanks for your reply I run the impromptu reports as normal ie open the reports from windows and it prompts for the details. Different story via upfront though it does not prompt. David
  13. foreveryoung

    Powerplay Web Reports not Prompting

    Does anyone know why the powerplay web reports we have will prompt when run from impromptu but not from upfront? Very bizzarre Please help I appreciate it. Thanks alot David
  14. foreveryoung

    Cannot drag and drop measures or dimensions

    Please can someone clarify the solution for me. Apart from upgrading PPES do you have a link for me to download the patch. Is the patch availabe from COGNOS. I cannot find the detail via the knowledge base. Your help appreciated. David
  15. foreveryoung

    Powerplay Web Explorer

    This is very strange... When using the above mentioned program. We have encountered a major problem with dragging dimensions from the filter bar onto the grid. We are unable to drag the dimension onto the grid to replace a column or row dimension, although this works on some computers. Every...
  16. foreveryoung

    Adding a primary key

    Thanks for you help. I got an error message pointing to the increment word. I have however managed to get this to work. alter table KH06AdmissionsTBL add column rowid autoincrement not null primary key
  17. foreveryoung

    Adding a primary key

    Sorry I failed to mention that this new column has to be an autonumber field. This does not work alter table KH06AdmissionsTBL add column rowid autonumber not null primary key
  18. foreveryoung

    Hi friends! how can i get the da

    The simple way to do it is create a vba function called nextmonday that accepts any date as a parameter and it would look something like this function nextmonday(thedate as date) as date dim i as integer dim rollingdate as date if weekday(thedate) = 2 then'2 is the number used for monday...
  19. foreveryoung

    Adding columns

    I want to add a column to a table and make that the primary key. I am using the following alter table KH06AdmissionsTBL add column rowid int primary key what am i doing wrong it said no nulls allowed but if i replace int to autonumber it still wont work. Any DDL experts out there? Many...
  20. foreveryoung

    Adding a primary key

    I want to add a column to a table and make that the primary key. I am using the following alter table KH06AdmissionsTBL add column rowid int primary key what am i doing wrong it said no nulls allowed but if i replace int to autonumber it still wont work. Any DDL experts out there? Many...

Part and Inventory Search

Back
Top