Forum Replies Created

Viewing 15 posts - 106 through 120 (of 124 total)

  • RE: Help With MDX

    Jonathan Mallia (10/22/2012)


    Hi everyone,

    I need help with building a Cube Calculation.

    I have this MDX below that works OK. It shows the vehicles that are sold an and the profit made...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: SSAS-

    hpatelc (10/16/2012)


    hello

    I am getting error when i am processing qube on instance . But it works fine on one instance but not on the other one.

    Error is "Process failed. Trace...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: hierarchy Help

    Smash125 (10/19/2012)


    I am trying ti build hierarchy based on FirstName,MiddleName,LastName,ContactID

    My Dimension table contains

    ContactID,EmailAddress,FirstName,LastName,MiddleName,Phone,Title

    My Hierarchy

    FullName - Showing Error in the header saying 'attribute relationship do not exist between one or more...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: T-SQL Coding Help

    CELKO (10/12/2012)


    You need a course in basic data modeling. There is no such entity as a β€œstatus” or β€œphase” in RDBMS. Those are attribute properties and are part of a...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: T-SQL Coding Help

    Jeff Moden (10/11/2012)


    I believe the following will do as you ask. I call it a "data smear" (because it "smears" the largest value "down" through the returned rows) for...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: T-SQL Coding Help

    Sean Lange (10/11/2012)


    select *,

    Case

    when StatusName IN ('A', 'B') then 1

    when StatusName IN ('C', 'D', 'E') then 2

    when StatusName = 'F' then 3

    when StatusName = 'G' then 4

    when StatusName...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: T-SQL Coding Help

    CREATE TABLE Status

    (

    StatusName Varchar(10)

    )

    CREATE TABLE Phase

    (

    PhaseName Varchar(10) NOT NULL

    )

    CREATE TABLE Subject_status

    (

    SubjectName Varchar(10) NOT NULL,

    StatusName Varchar(10) NOT NULL,

    Date [Date] NOT NULL

    )

    INSERT INTO Status VALUES ('A')

    INSERT INTO Status VALUES ('B')

    INSERT INTO Status...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: T-SQL Coding Help

    Sean Lange (10/11/2012)


    Please help me with the sql code.

    All of them are Varchars (Status and Phase even though they look like Integers).

    Please don't ask me to change my Datamodel.. Thanks...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: T-SQL Coding Help

    Not actually homework.

    I have tried this using a case statement, but when ever the status changes the Phase also keeps changing, so I am checking if there is a way...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Temp DB getting full.. Any remedies

    GilaMonster (9/21/2012)


    That's default growth increments, as I said, you probably want larger growth increments.

    Growing a file manually - ALTER DATABASE ... ALTER FILE

    Can you please elaborate more.. This is my...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Temp DB getting full.. Any remedies

    GilaMonster (9/21/2012)


    Larger growth increments (fixed MB), grow TempDB manually, ensure there's enough space on the drive, tune the queries to use less TempDB.

    Growth size is 8KB and 10% on the...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Grouping Values in a Report??

    vani_r14 (9/19/2012)


    Hi there

    can you please clarify - if my understanding is correct -

    You would like to group BC1, BC2, BC3, BC4, BC5 as one group

    if that is the...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: T-SQL Help Needed

    Hi, I need to get status names as columns and their respective dates as rows. I know its pivoting, but asking you guys for more insight.

    Thanks

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: T-SQL Help Needed

    Jeff Moden (9/10/2012)


    The test data setup you provided is great. Could you also describe what you want done with it? The result set doesn' give many hints as to...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Help Required

    Greg Snidow (9/6/2012)


    Sean Lange (9/6/2012)


    [I can't begin to understand how you get your output based on the data in these tables. It seems you need provide a LOT more detailed...

    Good Luck πŸ™‚ .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

Viewing 15 posts - 106 through 120 (of 124 total)