How to create alternate color columns in MS SQL reporting services (rdl)

I found something related to row coloring at ::
http://weblogs.sqlteam.com/joew/archive/2008/08/20/60691.aspx
i went through all the properties for column but none that would help me achive me goal.
SO in my case .. the no of rows are fixed .. but columns vary .. so i wnat the alternate columns to be of different color (say white and silver)

Hi,
Once my no of data sets (mine is 3 columns per data set) changes, the highlighting 'shifted' like below. Any idea how this happen?

Similar Messages

  • How to create user-friendly MDX parameters for MS Reporting Services?

    In SQL Server Reporting Service, when I connect to my cube to create a dataset, in Query Designer I create my query with a filter. It creates the following MDX for me:
    SELECT NON EMPTY
    KPIValue("KPI1"), KPIGoal("KPI1"), KPIStatus("KPI1")
    ON COLUMNS, NON EMPTY
    [Create Date].[Month Num].[Month Num].ALLMEMBERS * [Create Date].[Hierarchy].[Month].ALLMEMBERS
    DIMENSION PROPERTIES MEMBER_CAPTION,
    MEMBER_UNIQUE_NAME ON ROWS FROM
    ( SELECT
    ( STRTOSET(@CreateDateYear, CONSTRAINED) )
    ON COLUMNS FROM [ERP])
    WHERE
    ( IIF( STRTOSET(@CreateDateYear, CONSTRAINED).Count = 1,
    STRTOSET(@CreateDateYear, CONSTRAINED),
    [Create Date].[Year].currentmember ) )
    CELL PROPERTIES VALUE, BACK_COLOR,
    FORE_COLOR, FORMATTED_VALUE,
    FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
    When I add this dataset, Reporting Services creates a parameter named CreateDateYear. When I pass a value like "2014" to this parameter I get nothing and I have to pass a value like
    [Create Date].[Year].&[2014].
    How can I change my report to change this parameter for passing the value like "2014" instead of ugly and not user-friendly string
    [Create Date].[Year].&[2014]?

    Hi ,
      Follow the below steps
      1. Create a dataset with MDX as below which would return the member caption (2005,2006 etc) and member uniquename ([Date].[Calendar Year].&[2005],[Date].[Calendar
    Year].&[2006] etc)
    WITH MEMBER [Measures].[ParameterCaption] AS [Date].[Calendar Year].CURRENTMEMBER.MEMBER_CAPTION
    MEMBER [Measures].[ParameterValue] AS [Date].[Calendar Year].CURRENTMEMBER.UNIQUENAME
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue]} ON COLUMNS
    , [Date].[Calendar Year].ALLMEMBERS ON ROWS
    FROM [Adventure Works]
    2. In the parameter's available values choose the above data set and set the options as 
    Value Field = ParameterValue
    ValueCaption = ParameterCaption
    In this way use will see only the years and based on the selection the respective values will be passed to the dataset as parameter.
    Best Regards Sorna

  • How to create 2 print buttons on a sql report ?

    hello,
    i work on apex 4 and database 11GR2, i configure bipublisher for advanced printing.
    On a sql report i want to have an excel Button and a Pdf button with redirect URL.
    I don't know how to specify in the URL the format output.
    I see in the help
    "use the output format derived from item option and include the item name and value in your Print URL."
    but i look for an example of URL.
    Best regards
    Jean marc

    So, you have to specify a hidden item which contains the value, then specify in print attributes the item name (mine is P5000_TYPE)
    Then you would have button redirect URLs of:
    javascript:redirect('f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R1483125430108678:::P5000_TYPE:PDF') ;and
    javascript:redirect('f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R1483125430108678:::P5000_TYPE:XLS')
    to print in pdf and xls respectively.
    Ta,
    Trent
    Edited by: trent on Dec 10, 2010 11:29 PM

  • How to Create a new column from two different result sets

    How to Create a new column from two different result sets, both the result set uses the different date dimensions.

    i got solutions for this is apply filters in column formula it self, based on the requirement.

  • How to create Implicit Fact column ?and how to use it ?

    Hi all,
    How to create Implicit Fact column ?
    and how to use it ?
    Thanks in advance

    When you create a request with only dimension columns, the Oracle BI engine has to choose a fact table to join the dimensions to each other. If you have multiple fact tables in your BMM layer, the Oracle BI engine will use the most economical fact table, depending on the number of dimensions of the fact table.
    In some cases you do not want to use this fact table, but you want to force the Oracle BI engine to use the fact table you want.
    In that case you should create a fact (or select an existing fact) of the fact table you want to use for the dimension only query. In the presentation catalog of the subject area you should select this fact as the implicit fact. This fact will always be used in the query, but it won't be visible in your report. An example of an implicit fact is the count of the primary key (id) of the fact table.

  • How to create Alternate Apple Id?

    how to create Alternate Apple?I think usually have 3 email accounts ( Apple ID,Alternate ID,Alternate Address) but my I account only 2 email account added ( Apple ID, Alternate Address) How to create Alternate Apple ID?

    To use this forum, you already have an Apple ID.

  • How to expand the hierarchy column automatically when delivery reports by a

    Hi Experts,
    In OBIEE 11.1.1.6.0,how to expand the hierarchy column automatically when delivery reports by agent?
    For example:
    In SampleLite RPD, when we drag "Time Hierarchy" and Sales column into the report , and sent it by agent ,it will only display "Total" sales, not show all level value,such as Year,Month,Day.So how to expand the hierarchy column automatically when delivery reports by agent?
    If we expand all levels and save them, it will be ok, however, when we add new data, it will be collpased automatically and not show the lowest level data, requiring Users or Developer to modify this report for expanding the hierarchy. We think it is very trouble, is there any good suggestion or method for achieving our requirement?

    958054 wrote:
    Hi Dpka,
    Is it any difference? I look at the result is same.
    Firstly, you said it is 'Add member of ',
    Now, you said it is 'Keep member of'
    Could you please tell me which options I must select ? Thanks very much.Here is some notes from the documentation to make a better sense of how those two options would work:
    •Selection steps — When you create selection steps, you can add a group or a calculated item in a step. Subsequent Keep Only or Remove steps might reference members that were included in the group or calculated item.
    ◦A group list is affected by members that are kept or removed in subsequent steps, but the group outline value remains the same. For example, suppose the MyNewYork group contains Albany and Buffalo and its value is 100. Suppose Albany is removed in a later step. The value of the MyNewYork group remains at 100, but Albany is no longer listed with the group.
    ◦A calculated item is not affected by members that are kept or removed in subsequent steps, because removals can affect the components of the formula.
    •Groups and calculated items — A step can include a group or calculated item. Groups and calculated items can be used only with Add steps; they cannot be used in Keep Only or Remove steps.

  • How to export data with column headers in sql server 2008 with bcp command?

    Hi all,
    I want know "how to export data with column headers in sql server 2008 with bcp command", I know how to import data with import and export wizard. when i
    am trying to import data with bcp command data has been copied but column names are not came.
    I am using the below query:-
    EXEC master..xp_cmdshell
    'BCP "SELECT  * FROM   [tempdb].[dbo].[VBAS_ErrorLog] " QUERYOUT "D:\Temp\SQLServer.log" -c -t , -T -S SERVER-A'
    Thanks,
    SAAD.

    Hi All,
    I have done as per your suggestion but here i have face the below problem, in print statment it give correct query, in EXEC ( EXEC master..xp_cmdshell @BCPCMD) it was displayed error message like below
    DECLARE @BCPCMD
    nvarchar(4000)
    DECLARE @BCPCMD1
    nvarchar(4000)
    DECLARE @BCPCMD2
    nvarchar(4000)
    DECLARE @SQLEXPRESS
    varchar(50)
    DECLARE @filepath
    nvarchar(150),@SQLServer
    varchar(50)
    SET @filepath
    = N'"D:\Temp\LDH_SQLErrorlog_'+CAST(YEAR(GETDATE())
    as varchar(4))
    +RIGHT('00'+CAST(MONTH(GETDATE())
    as varchar(2)),2)
    +RIGHT('00'+CAST(DAY(GETDATE())
    as varchar(2)),2)+'.log" '
    Set @SQLServer
    =(SELECT
    @@SERVERNAME)
    SELECT @BCPCMD1
    = '''BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT '
    SELECT @BCPCMD2
    = '-c -t , -T -S '
    + @SQLServer + 
    SET @BCPCMD
    = @BCPCMD1+ @filepath 
    + @BCPCMD2
    Print @BCPCMD
    -- Print out below
    'BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername'
    EXEC
    master..xp_cmdshell
    @BCPCMD
      ''BCP' is not recognized as an internal or external command,
    operable program or batch file.
    NULL
    if i copy the print ourt put like below and excecute the CMD it was working fine, could you please suggest me what is the problem in above query.
    EXEC
    master..xp_cmdshell
    'BCP "SELECT  * FROM  
    [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername '
    Thanks, SAAD.

  • How to create more than 21 lists in interactive reports

    hello everyone,
    I am new to ABAP as well as this site. Kindly help, I want to know how to create more than 21 lists in interactive reports.
    Also, how can i create them without using WHEN 1, wHEN 2 and so on...
    Kindly help.
    thank you

    Hello,
    Using Intracive Reports its not possible to cretate more than 21 lists.
    But its possible to create more than 21 using ALV concept.
    for sample ALV u can serch in SDN.
    Regards,
    Anil.

  • How to create database link from oracle to sql server

    Please help with how to create database link from oracle to sql server
    Best regards,
    Vishal

    Please help with how to create database link from oracle to sql server
    Best regards,
    Vishal
    Hi Vishal,
    I found a lof of information regarding how to create a database link from Oracle to SQL Server, please see:
    https://www.google.co.in/?gws_rd=cr&ei=vd3XUvGFO8TgkAXqlYCADg#q=how+to+create+database+link+from+oracle+to+sql+server
    We discuss SQL Server related issue in this forum. If you have any more question regarding Oracle, please post it in Oracle communities forum for better support.
    Regards,
    Elvis Long
    TechNet Community Support

  • How to create nested CASE statements in PL/SQL

    Can anyone please tell how to create Nested CASE statements in PL/SQL with proper syntax?
    It would be better if you can help with an example.
    Thank you!

    Something like this:
    SQL> set serveroutput on
    SQL> declare
      2    v1 number := 2;
      3    v2 varchar2(1) := 'C';
      4  begin
      5    case v1
      6      when 1 then dbms_output.put_line('First');
      7      when 2 then begin
      8                    case v2
      9                      when 'A' then dbms_output.put_line('Found A');
    10                      when 'B' then dbms_output.put_line('Found B');
    11                      when 'C' then dbms_output.put_line('Found C');
    12                      else dbms_output.put_line('NONE');
    13                    end case;
    14                  end;
    15      else dbms_output.put_line('Else');
    16    end case;
    17  end;
    18  /
    Found C
    PL/SQL procedure successfully completed
    SQL> If you have further doubts regarding syntax you can read the docs on the Case statement here:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/case_statement.htm

  • How to create an alert to inform me when weblogic services are down

    how to create an alert to inform me when weblogic services are down
    Thank you

    Hi,
    This can be done using Oracle Enterprise Manager grid control. Also you can do it using wlst scripting. Please find below url for details regarding this.
    http://middlewaremagic.com/weblogic/?p=5838
    If this helps you please mark.
    Thanks,
    Kishore

  • How to Convert MM/DD/YYYY to YYYY/MM/DD in SQL Reporting Services

    i am having difficulty of converting a parameter field, called @startdate, on sql reporting services report to YYYY/MM/DD format.  the parameter @Startdate was set to Data/Time.  @Startdate is 6/1/2014 12:00:00 and I want to convert it
    to 2014/06/01.  I want to compare @Startdate with a column in database called Begindate which is in format of YYYY/MM/DD hh:mm:ss.  I tried the followings
    select * from Atable where cast(Atable.Begindate as date) >= cast(@Startdate as date)
    select * from Atable where cast(Atable.Begindate as date >= cast(convert(datetime, @Startdate) as date)
    SQL Reporting Services only gives me Text, Boolean, Date/Time, Integer and Float.
    Regards,

    Hi Elmucho,
    Sorry for the delay. I tested with the sample data you provided, however everything works well in-house. Could you please creste a new report and check the result. Here are the steps I performed:
    1.  Create a table and insert the following data:
    Name (varchar(50))    Begindate (datetime, not null)    
    Lastdate (datetime, not null)
    bob                          
    2008-01-01 08:08:08.000      2010-10-10  
    10:10:10.000
    alice                         
    2010-10-10 10:10:10.00       2011-11-11
      11:11:11.000
    smith                       
    2011-11-11 11:11:11.00       2012-12-12   
    12:12:12.000    
    2. Open SQL Server Data Tools, create the data source and add the dataset with the below query:
    SELECT     Name, Begindate, Lastdate
    FROM         [tablename ]
    WHERE     (CAST(Begindate AS date) >= CAST(@Startdate AS date)) AND (CAST(Lastdate AS date) <= CAST(@Enddate AS date))
    3. Then, click execute button, it prompts for inputting the parameter value.
    @Startdate        
    6/1/2008
    @Enddate          
    5/1/2014
    Enter the date and press OK.
    4. Here is the result in the query designer:
    Insert a table and fields. Save the report and preview:
    Thanks.
    Tracy Cai
    TechNet Community Support

  • How to find if the SQL Reporting services are stand alone or clustered ?

    Hi All,
    Can any one tell me how do i find if the SQL Reporting services are stand alone or clustered ?
    As there are no other SQL features installed on the server except for reporting.
    Is there any GUI or CLI command to check this ?
    Gautam.75801

    Hello,
    Do not open cluster administrator since SSRS cannot take advantage of Windows Clustering Services.
    You need see if the Network Load Balancing manager (NLB) (windows feature) is installed on the SSRS computer and open
    it to see if a NLB cluster has been configured.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to create a calculated column in sharepoint

    I created the custom list in share point. In that list i renamed the title as
    Name.
    I created the WindowsID as person or group column in share point list.
    In the same list, I want to create a new calculated column as EmpName as hyperlink with the below formula  
    ="<a href='"&WindowsID &"'>"&Name&"</a>"
    But I am unable to create a new column by using above formula.
    Could you please let me know what i missed in the above formula.
    Please note that i am unable to see the WindowsID in the insert column.
    Thanks for ur support.

    Hello
    Sorry for the delay replay.
    Based on your guidance,i followed the below steps
    1.created the loginname  column of type person or group
    2.Added the contentquery webpart
    3.crated the custom xslt template
    4.Please find the below template
    <xsl:template name="ListingItem" match="Row[@Style='ListingItem']" mode="itemstyle">
        <xsl:variable name="DisplayTitle">
          <xsl:call-template name="OuterTemplate.GetTitle">
            <xsl:with-param name="Title" select="@Title"/>
            <xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
          </xsl:call-template>
        </xsl:variable>
        <xsl:variable name="LoginID">
       <xsl:value-of select="ddwrt:UserLookup(string(@DomainID) ,'User')" />
    </xsl:variable>
        <div id="membersdiv" class="members">
         <!-- <xsl:value-of select="$LoginID" disable-output-escaping="yes"/>-->
         <xsl:if test="$LoginID != ''">
              <a href="{$LoginID}">
              <xsl:value-of select="@Title" disable-output-escaping="yes"/>
              </a>
          </script>
         </xsl:if>
    </div>
      </xsl:template>
    if user is having the login id then i need display the title.on click of that title i need to redirect to user settings page like http://url/_layouts/15/userdisp.aspx?ID=1  .How can i redirect to
    the sharepoint personal settings page based on person click

Maybe you are looking for

  • I am trying to sync my iPad mini, Macbook Pro and iPhone through iCloud

    Nothing is pushing through to the other devices. Not contacts or calendars or anything. All this is set up. Each device is linked to my Apple ID. So what's the issue? It's not even sending the information to the main icloud server because I've checke

  • LR3 ... How to merge catalogues for LR2 and LR3beta

    OK I have just installed LR3 from a disc and took the option to update my old LR2 catalogue on set up. However, I now have some recent shoot folders that I have only worked on in LR3beta (beta 1 or 2). If I look in MyPhotos/Lightroom folder I have fo

  • Transportation of FG and control.

    Dear Experts, We are using SAP ECC6.0 environment for our recent implementation. We are facing issues related to outward transportation management. Our practise is we used to give 2 year contract to more than one transporter for any destination. lets

  • Control recipe and process messages

    Hi experts, When I create a control recipe and send to an external destination, is it going as an outbound IDoc from SAP to external system?. I have the same doubt about the process messages also. ie whether the process messages are coming from exter

  • XML error for Invoice iN SNC

    Hi Gurus Need help for the error we are getting in XML when Invoice is posted in SNC 7 version Error :" Message Interface or senders party hasn't been provided" please let me know the cause of error Thanks Vishal