Conditional color formating in SSRS 2005

Hi
I have a report with customers bill amount and bill date. The customers have to pay within a grace period of 21 days after bill date
I want to conditionally format the bill_date column so that when the number of days after the 21 days grace period is within 7 days then no color,30 days then blue, 61-90 days then Red
Thanks a lot
Please very urgent
CRM Manager

Hi!
I have almost the same doubt.
Have a date time field, what i need is to change the BackgroundColor if the date
exceeds 6 months or another background if exceeds 1 year.
Obviously i have to compare the date shown on my report with the
current date.
I know that i have to use an expression in the BackgroundColor property of textbox.
Thanks !!!
Please need help!!

Similar Messages

  • Conditional color formating in SSRS 2008 with dates

    Hi!
    A Little help please!!
    Have a date time field, what i need is to change the BackgroundColor if the date exceeds 6 months or another background if exceeds 1 year.
    Obviously i have to compare the date shown on my report with the current date.
    I know that i have to use an expression in the BackgroundColor property of textbox.
    Thanks !!!
    Please need help!!

    you can IIF conditions as below
    =IIF(datediff("M",NOW(),Fields!date.Value)<6,"None",IIF(datediff("M",NOW(),Fields!date.Value) > 6 AND datediff("M",NOW(),Fields!date.Value) <12,"Red" ,"Blue"))
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SSRS 2005 check render format

    Hi, My SSRS 2005 Report Contain Hyperlinks.
    When I am exporting this Report into PDF, inside PDF this Hyperlink still showing up and when i click on that, it is redirect on that link.
    I want the Hyperlink Active in Report Manager , not after Exporting to PDF.
    How can we Remove Hyperlink, when rendering to PDF ? or how can i possibly check is the report is interactive
    Thanks !!!

    SSRS 2005 does not have RenderFormat !
    Ah sorry I missed you're on SSRS 2005
    Then only way is to create a separate version for PDF with those hyperlinks removed and call it via link from main report by specifying full report viewer url for the report
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Conditional Coloring for Server 2005 Reports

    Hey Guys,
    I'm trying to use the Layout version in my Microsoft Visual Studio for Reports - and have no idea how to get my rows to follow a singular color format depending on a columns' input.
    For example, I would like the entire row to be yellow if the one columns' input (column is CheckInStatus)  is "Pending"
    I write something like this: iif(Fields!CheckinStatus="Pending","Yellow","White") but this gives me an error that reads: "The BackgroundColor expression for the textbox 'OtherColumn' contains an error [BC30518] Overload
    resolutions failed because no accessible '=' can be called with these arguments.
    Not sure why it's not running properly?

    DUR!
    I was missing the iff(Fields.CheckinStatus.VALUE....)
    Sorry guys....
    Stay Puft

  • To collect small slices into a secondary, callout pie chart in SSRS 2005

    Hi Guys, 
    There exists a property in pie chart in SSRS-2008 which can consolidate the small slices on pie chart. But I am unable to find the same property in SSRS-2005. 
    Is this property only available in SSRS-2008 ? If yes how can we achieve the same functionality in SSRS-2005 Pie Chart ?
    Regards
    Consolidating Small Slices on a Pie Chart
    Consolidating Small Slices on a Pie Chart
    Consolidating Small Slices on a Pie Chart
    Consolidating Small Slices on a Pie Chart
    Consolidating Small Slices on a Pie Chart

    Hello,
    Based on my research, the CollectedStyle property that collect small slices into one signal slice or a secondary, callout pie chart is available from Reporting Services 2008. So it is not supported in Reporting Services 2005.
    For example, you are using the query below to return the SECTION and DIVISION fields as the chart fields: SELECT SECTION , DIVISION FROM TEMP, and you want to collect small slice COUNT(DIVISION) smaller than 5 as the callout pie chart. To work around this
    issue, we can create two charts on the surface, one as the big and collected slices chart, another one as the secondary, callout pie chart. For more details, please refer to the following steps:
    We can use the query with some conditions like below to return the fields for the main chart:
    SELECT CASE
       WHEN COUNT(DIVISION) <= 5 THEN 'Other'
       WHEN COUNT(DIVISION) >5 THEN SECTION
       END  AS SECTION, COUNT(DIVISION) AS DIVISION
     FROM TEMP
    GROUP BY SECTION, DIVISION
    We can use the query like below to return the fields for the callout pie chart:
    SELECT CASE
          WHEN COUNT(DIVISION) <= 5 THEN SECTION
       END  AS SECTION, CASE
          WHEN COUNT(DIVISION) <=5 THEN COUNT( DIVISION)
       END  AS DIVISION
     FROM TEMP
    GROUP BY SECTION, DIVISION
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Is anybody successfully migrated SSRS 2005 SP2 to SSRS 2014?

    what I was doing:  Try to migrate the ssrs 2005 sp2 in a old web server to SSRS 2014 in a new server (native mode)
    1. old SSRS web server:  SSRS 2005 SP2 enterprise edition with window server 2003  (server 1)
    2. New SSRS web server:  window server 2012 R2, installed sql server 2014 database engine and SSRS. (server 2)
    3. backup configuration files, encryption key, we have no custom assamblies from the old SSRS web Server (server 1)
    4. Backup the report server databases from the existing old database server. (server 3)  (our SSRS web server and SSRS report server databases are in different servers)
    5. Created the RSExecRole and grantd all the permissions according to the documentation in the sql server 2014 database server (server 4)
    6. Restore the databases to the new database server that is in sql server 2014. (server 4)
    7. Go to server 2 to configure the reporting service using the configuration Manager
     I successfully pointed to new databases, but when test the url, I got the error:  The version of the report server database is either in a format that is not valid or it can not be read.  The found version is '143' and the expected version
    is '162'
    I worked with Microsoft technician, and he said I have to upgrade my old SSRS from 2005 SP2 to 2005 SP4 first then do the migration.   But I saw some article saying that I can migrate the SSRS from 2005 SP2 to SSRS 2014.   Any help is
    very much appreciated.  
    Li-hui Chen

    Thank you Katherine for your reply!  I was able to bring up the reports in my new Report web server when I restore the RS databases onto a sql server 2008 server.  I got the version conflict error when I restore the databases directly onto a sql
    server 2014 server.  Our goal is migrating the SSRS 2005 SP2 to SSRS 2014 with databases in sql server 2014. Therefore, I will have to migrate the SSRS 2005 to 2014 but host the Reporting server databases in sql server 2008 R2 first, then
    upgrade Reporting Server databases to sql Sql server 2014. 
    Below steps are what I have done so far to migrate the SSRS from 2005 to 2014:
    1. install sql server 2014 on a new server (RS server 2- SSRS 2014)
    2. backup up config files, encryption key, application files in old reporting server(RS server 1 - SSRS 2005 SP2)
    3. backup the reporting server databases from old database server  (in sql server 2005 sp4) (RS databases server 1)
    4. Move config files and encryption key backup files to new RS server 2.   
    5. Move databases backup files to another server (in Sql server 2008 R2 (RS databases server 2) 
    6. Restore the backup files to (RS databases server 2)
    7. Configure the Reporting services in new server (RS server 2 - SSRS 2014)
        a. configure URL
        b. change databases connection
        c. Restore the encryption key
    8. Check the reports.
    Now, I am able to see all the reports in my new web server(SSRS 2014) and the databases are in the server that is in SQL Server 2008 R2 version. 
    My collegue will upgrade the database server 2 including the report server databases and some other databases (currently in sql server 2008 R2 version with some other databases). 
    1. When she upgrades the database server 2 from sql server 2008 R2 to sql server 2014, do I need to do anything on the new reporting service web server?
    2. I was thinking about that I will need to do the RS databases backup and encryption key backup  before my colleuge do the sql server 2014 upgrade, and after she finish the upgrade, I will then go to new SSRS web server to do the reporting
    service configuration using the configuration manager tool.  I will do the database set up and restore the encryption key.  Am I right? 
    Any comment and suggestion will be great appriciated! Have a nice day!
    Li-hui Chen

  • Multi line HTML data formatting on SSRS reprot

    Hi
    I am  using SQL Server Reporting Services 2008 , data fetching by Project server database,data value is getting by multi line rich text field.
    when showing same data in HTML format
    on ssrs reports its shows every style what ever user copy and paste on particular field like font size ,colors and them.
    I have requirement to show unique font size and unique family font,I am unable to achieve this using lot of placeholder properties.
    below u can find the example
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

    Hi Hasan,
    According to your description that the some of the report data retrieved by multi line rich text field, which style show differently in the report, you have tried to create the placeholder using the HTML tag to format the data
    but failed to achieve, right?
    The issue due to the rich text formatting is not supported in SSRS 2008, Currently, you have mentioned that you tried to using the HTML tag to reformat the text but failed, that may due to Reporting Services support limit HTML tags when defined as placeholder
    text. Please see:
    • Hyperlinks: <A href>
    • Fonts: <FONT>
    • Header, style and block elements: <H{n}>, <DIV>, <SPAN>,<P>, <DIV>, <LI>, <HN>
    • Text format: <B>, <I>, <U>, <S>
    • List handling: <OL>, <UL>, <LI>
    In your scenario, I recommend you to take reference of method below to get the unique format text.
    Check the supported HTML tag and using the correct tag to format
    If you want to get the RTF format:
    If using Report Viewer Windows control, we can render the RTF file into IMG file, and then display the image on the report.
    Nayan Patel written good artilce about this:
    http://binaryworld.net/Main/CodeDetail.aspx?CodeId=4049
    This article give us the idea to convert RTF to image and then display on the report.
    You can also convert the RTF text to the plain text which by default in the report:
    Article have details method about the convert for your reference:
    http://stackoverflow.com/questions/2987501/rtf-to-text-in-sql-server
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0f70e01f-6315-400c-bc75-c7da5f324062/displaying-rtf-text-in-a-ssrs-2008-report?forum=sqlreportingservices
    Similar threads for your reference:
    RTF in SSRS - SQL 2008 R2
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0f70e01f-6315-400c-bc75-c7da5f324062/displaying-rtf-text-in-a-ssrs-2008-report?forum=sqlreportingservices
    Personally, I recommend you that submit this suggestion at 
    https://connect.microsoft.com/SQLServer/. If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next release of SQL Server. Your feedback is valuable for us to improve our products and increase
    the level of service provided.
    Thanks for your understanding.
    Regards
    Vicky Liu

  • Conditional Color Coded List

    I have done this in excel long time ago and I though it was going to be as simple as it was with excel.
    I'm trying to implement a conditional color coded list with the criteria below:
    Fields:
    - Health (blank cell that will change colors)
    - Due Date (cell with dates)
    Criteria:
    - Red if [due date] < date.now
    - Yellow if [due date] > date.now - 10
    - Green everything else
    How would I implement that in SharePoint?
    Thanks in advance
    ps:I'm not a C# programmer so I don' t know if the syntax for datetime or dude date column are right. 

    Hi mpaulopes,
    Here is a step by step guide reference to provision conditional formatting using SharePoint designer. It will give you proper idea about how to do this. It is for SP2010 however it won't make much difference.
    http://blog.sharepointrx.com/2010/12/03/conditional-formatting-and-date-comparisons-with-sharepoint-designer-2010/
    I hope this helps.
    Regards,
    Tapan

  • Upgrading SSRS 2005 (Enterprise Edition) to SSRS 2012 (Enterprise Edition). Need to know Minimum System Requirements?

    Hi Guys,
    Currently we are using SSRS 2005 (Enterprise Edition). We have 3 Reporting Servers and One DB.
    I have been asked to provide minimum System (Hardware and Software) Requirements. Currently 300-500 concurrent users and accessing the reports.
    I would like to know what should be minimum System (Hardware and Software) Requirements? 
    and also could anyone guide me in checking current systems configurations
    I have checked following:
    Current Reporting Server DB Size: 3771.13 MB
    Current Reporting Edition: Enterprise Edition (64-bit) 2005
    Database Version: C.0.8.54
    Server Mode: Native
    I would like to check: Exact Concurrent users (How to check this?), RAM, Disk Space used and free. Please suggest If I have missed out any other configurations those need to check.
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Hi ,
    Check the Link Below.
    http://msdn.microsoft.com/en-us/library/ms143711.aspx
    Requirements
    The default configuration option uses default values to configure the core settings required to make a report
    server operational. It has the following requirements:
    You hardware should meet minimum hardware and software requirements for running Microsoft SQL Server. For more information, see Hardware
    and Software Requirements for Installing SQL Server 2012.
    Reporting Services and SQL Server Database Engine must be installed together in the same instance. The Database Engine instance hosts the report server database
    that Setup creates and configures.
    The user account used to run Setup must be a member of the local Administrators group and have permission to access and create databases on the Database Engine instance that
    hosts the report server databases.
    Setup must be able to use the default values to reserve the URLs that provide access to the report server and Report Manager. These values are port 80, a strong wildcard,
    and the virtual directory names in the format ReportServer_<instance_name> and Reports_<instance_name>.
    Setup must be able to use the default values to create the report server databases. These values are ReportServer and ReportServerTempDB. If you have existing databases from
    a previous installation, Setup will be blocked because it cannot configure the report server in the default configuration for native mode. You must rename, move, or delete the databases to unblock Setup.
    If your computer does not meet all requirements for a default installation, you must install Reporting Services
    in files-only mode and then use the Reporting Services Configuration Manager to configure it after Setup is finished.
    Do not try to reconfigure your computer only to allow a default installation to continue. Doing so could require
    several hours of work, effectively eliminating the time-saving benefit the installation option provides. The best solution is to install Reporting Services in files-only mode and then configure the report server to use specific values.
    Regards, PS

  • SSRS 2005 Export to pdf error

    Receiving this error when exporting to pdf
    Server Error in '/Reports' Application.
    For more information about this error navigate to the report server on
    the local server machine, or enable remote errors
    Description:
    An unhandled exception occurred during the execution of the current web
    request. Please review the stack trace for more information about the error and
    where it originated in the code.
    Exception Details:
    System.Exception: For more information about this error navigate to the
    report server on the local server machine, or enable remote
    errors
    Source Error:
    An unhandled exception was generated during the execution of the
    current web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.
    Stack Trace:
    [Exception: For more information about this error navigate to the report server on the local server machine, or enable remote errors]
    [Exception: An error occurred during rendering of the report.]
    Microsoft.Reporting.WebForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension) +900
    Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +1280
    Microsoft.Reporting.WebForms.ServerReportControlSource.RenderReport(String format, String deviceInfo, NameValueCollection additionalParams, String& mimeType, String& fileExtension) +201
    Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response) +199
    Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +178
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
    Version Information: Microsoft .NET Framework Version:2.0.50727.5485;
    ASP.NET Version:2.0.50727.7057

    Hi bbatte,
    According to the error message, we still can't figure out what the error is. Please go to
    xxx\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\LogFiles
    to see detail information about the error.
    Based on my experience, it has reported a lot of issues about the SSRS 2005 PDF rendering. Mostly it caused by unsupported on some characters. Please see:
    http://blogs.msdn.com/b/robertbruckner/archive/2008/10/27/unicode-in-pdf-font-embedding.aspx
    So we suggest you install the latest Cumulative Update package for SSRS 2005.
    https://support2.microsoft.com/kb/962970?wa=wsignin1.0
    If you still have the issue, please share the information in error log to us. Thank you.
    Best Regards,
    Simon Hou

  • Conditional Column Formatting in an Interactive Report?

    Is it possible to add conditional column formatting in an Interactive Report in Apex 4.1? I've found numerous examples for older versions using the standard (classic) report, but I haven't found any with the new Interactive Report. Is this possible? and if so, can someone point me in the direction of some documentation or examples?
    I simply want to change the color of the text depending on whether a column has a value (eg. Error or Problem).
    Thanks

    JB wrote:
    Is it possible to add conditional column formatting in an Interactive Report in Apex 4.1? I've found numerous examples for older versions using the standard (classic) report, but I haven't found any with the new Interactive Report. Is this possible? and if so, can someone point me in the direction of some documentation or examples?
    Oracle Application Express (APEX)
    As interactive reports lack the HTML Expression feature of standard reports, the simple way to do this unfortunately requires violating the separation of concerns and generating structural (a <tt>span</tt> element) and presentational (an in-line style sheet) aspects in the query:
    select
    ⋮        
           , case
               when trunc(calling_date,'DD') =  trunc(sysdate,'DD')
               then
                 '<!-- ' || to_char(calling_date, 'YYYYMMDD') || ' --><span style="color: #3399FF;">' || to_char(calling_date) || '</span>'
               else
                 '<!-- ' || to_char(calling_date, 'YYYYMMDD') || ' --><span>' || to_char(calling_date) || '</span>'
             end calling_date
    ⋮For number/date columns to be properly sortable, the leading edge of the column must be an HTML comment that provides the required sort order using character semantics, as shown here.
    The Display As column attribute for such columns must be set to Standard Report Column.
    This method has side effects: some IR filters won't work; aggregate calculations can't be applied to the column; and report exports contain the HTML rather than the expected value.
    Other approaches involve using Dynamic Actions/jQuery/JavaScript, or using the built-in highlight as suggested above, then saving the highlighted report as the default.

  • In competitive exams photo in "true color" format.... How to do it in adobe photoshop please replay it.....

    In competitive exams photo in "true color" format.... How to do it in adobe photoshop>>> please replay it.....

    Mayuk, you are not making any sense here.
    True color (24-bit)
    "True Color" redirects here. For images with natural color rendition, see true-color.
    http://en.wikipedia.org/wiki/File:Truecolor.png 24 bits (16,777,216 colors, "truecolor")
    True color supports 24-bit for three RGB colors. It provides a method of representing and storing graphical-image information (especially in computer processing) in an RGB color space such that a very large number of colors, shades, and hues can be displayed in an image, such as in high-quality photographic images or complex graphics. Usually, true color is defined to mean 256 shades of red, green, and blue, for a total of 224 or 16,777,216 color variations. The human eye can discriminate up to ten million colors.[13]
     Color images composed from 3 grayscale images A, B & C assigned to R,G & B in different orders.
    "True color" can also refer to an RGB display-mode that does not need a color look-up table (CLUT).
    For each pixel, generally one byte is used for each channel while the fourth byte (if present) is being used either as an alpha channel, data, or simply ignored. Byte order is usually either RGB or BGR. Some systems exist with more than 8 bits per channel, and these are often also referred to as true color (for example a 48-bit true-color scanner).
    Even with true color, monochromatic images, which are restricted to 256 levels, owing to their single channel, can sometimes still reveal visible banding artifacts.
    True color, like other RGB color models, cannot express colors outside of the gamut of its RGB color space (generally sRGB).
    Macintosh systems refer to 24-bit color as "millions of colors".
    RGBA color space, or 32-bit color, is a variant of true color in which the additional 8-bit is allocated to transparency and indicates how transparent is the element to which the color is assigned, when overlaid on other elements.

  • Color formatting in SSAS

    Using SQL Server 2008 R2:
    I have a star schema with a fact table containing the following:
    ID BIGINT IDENTITY, FK_Dimension1 BIGINT, FK_Dimension2 BIGINT,
    dataValue NUMERIC(20, 8), classification NVARCHAR(20)
    The classification defines the security classification for each dataValue, and can contain either "public" or "confidential".
    I've created a degenerate dimension which contains the classification field, and the dataValue resides in the associated measure table.
    My requirement is to format the dataValue in any tool that is rendering the data as RED if any value in the aggregation of that field contains an associated classification of "confidential". So for example if in an excel pivot table I was displaying
    the aggregation of 3 values and one of them was confidential then the value should display as red text.
    I have the following MDX query in my cube calculations to handle the formatting:
    CALCULATE;
    SCOPE
    [Measures].[dataValue]
    If([MyDegenDimension].[Classification].[Confidential]) Then
    Fore_Color(This) = 255
    End If;
    END SCOPE;
    This works great whenever there are values in the dataValue field other than zero. If I drill down in my pivot table to show a single value that happens to be zero then the color formatting does not apply. The business requirement is that any confidential value
    should be flagged as red, and it's valid that a zero value could be confidential. Note it displays the dataValue as red even if the classification dimension is not used in the pivot table.
    Is there any way I can alter my MDX query so that it works for zero values as well?

    Hi Greg,
    According to your description, you need to set the measure value to red when associated classification measure value is "confidential", right?
    In your scenario, there is a classification value for each record, right? In this case, you can create a measure based on classification, then set the DataValue measure value's color based on the classification measure. Here is the sample query for you reference.
    CREATE MEMBER CURRENTCUBE.[Measure].[X] AS [Measures].[DataValue]
    , FORE_COLOR=IIF([Measures].[Classification]="confidential", RGB(255,0,0), RGB(0,0,0))
    , BACK_COLOR=RGB(255,255,255)
    , FONT_SIZE=10
    , FORMAT_STRING='#,#.000'
    Reference
    http://msdn.microsoft.com/en-IN/library/ms145573.aspx
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?

    I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
    I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
    single month and year.
    I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
    how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
    practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
    able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
    For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
    resultset on two fields:
    Start Date - The date the patient was assigned to the practice. This field is never null or blank.
    End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
    leaves the practice, the date the patient left is populated in this field.
    Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
    start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
    AND
    end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
    selected)
    Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
    how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
    John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
    Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
    Jimmy Doe has a  start of 7/3/2012 and an End Date of 9/2/2012
    Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
    August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
    Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
    this:
    Patient Name              
    Months Assigned
    John Doe
    June 2012
    John Doe                     
    July012
    John Doe                     
    Aug 2012
    John Doe                     
    Sept 2012
    John Doe
    Oct 2012
    Sally Doe                     
    Aug 2012
    Sally Doe                     
    Sept 2012
    Sally Doe
    Oct 2012
    Sally Doe                     
    Nov 2012
    Sally Doe
    Dec 2012
    Jimmy Doe                  
    July 2012
    Jimmy Doe
    Aug 2012
    Jimmy Doe
    Sept 2012
    From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
    June 2012 - 1
    July 2012 – 2
    Aug 2012 - 3
    Sept 2012 - 3
    Oct 2012 - 2
    Nov 2012 - 1
    Dec 2012 - 1
    The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
    be the y axis).
    Does this sound like the best approach?
    If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
    I do not have permissions to create SPs or Functions within the database but I can create temp tables.
    I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
    Any advice or help is greatly appreciated.

    Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
    Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want. 
    Doing a cross  join between my original resultset that had two dates:
    08/27/2010
    10/24/2011
    and a calendar table that has 24 rows (each month for a two year period)
    my new resultset looks like this:
    I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
    You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
    the Months Assigned value must be greater than or equal to the date assigned value.
    Any advice would be appreciated.

  • SSRS 2005 - Dynamically control the width of columns in Matrix report or Hide any column

    Hi All,
    I just want to hide some column without having white space in Matrix report in SSRS 2005. Although I am aware of that perhaps this feature is not available on SSRS 2005. So, I just want to know if we can handle the width of column dynamically(using expressions)
    in matrix report?
    Please help. Thanks in Advance.
    Regards
    Kumud

    Hi Kumud,
    Based on my test, SSRS is not support column dynamically width. It has property “CanGrow” of text box. If we configure the property to True, it will wraps to next line if needed. In SSRS 2008, we can hide some columns without white space. If possible, I
    recommend you update your SSRS 2005 to SSRS 2008.
    There is a similar issue, you can refer to it.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/9e6043f1-c458-4540-be59-d37b02feab8a/dynamic-column-width-for-a-report?forum=sqlreportingservices
    Alternatively, I recommend you that submit a wish to the Microsoft Connect at
    https://connect.microsoft.com/SQLServer/Feedback. Your feedback is valuable for us to improve our products and increase the level of service provided.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

Maybe you are looking for