Overlapping data when more data column chart SSRS

Hi guys,
In my ssrs report the column chart  display is not good when more number of datas are viewed.How to overcum this issue
I searched more on this issue no good solution found.
I attached screenshot for this report,
any suggestions pls
Thanks,
R.B

Hi R.B,
I can reproduce the issue in my local environment. If there are more column data with adjacent values in the chart, the label will be overlapped due to the insufficient space. In this scenario, there are several properties you can use to try to get the labels
to fit better. Click the data point to open the Properties Windows, then go to the SmartLabels node.
Expand the "NoMoveDirections" node. This will give us a lot of directions that we can use to restrict the directions that the labels can move in. We can try to change directions to see if it helps.
Try to enlarge the chart size and use the method below to adjust the column size, it will free up more space to contain the label.
http://www.bidn.com/blogs/ChrisAlbrektson/bidn-blog/1832/ssrs-adjust-bar-chart-width
If we want to remove the black arrow, we can refer to the following thread:
http://social.technet.microsoft.com/Forums/en-US/e3019086-4f72-4898-ba86-2e7c97c8fae4/ssrs-series-lable-overlaping-issue?forum=sqlreportingservices
Alternatively, we can use Tooltip property to instead of actually displaying. Type the same expression with Value field in the Tooltip property.
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Need more Info about "Load transactional data when master data not loaded"

    Hi,
    Can you please explain me this option in the infopackage " Load transactional data when master data is not loaded"....
    Say i load a transactional data record which has a material no. AAAXX.
    In the fact table, the material no. is replaced with the corresp. DIM ID.
    Now, assume that there is no entry for this Material no.
    AAAXX in the master data table...so no DIM ID for it..
    How is it then stored in the fact table ?
    Hope i have managed to explain the scenario..
    Thanks in advance,
    Punkuj

    Hello Punkuj K,
    How r u ?
    No, if the entry for that Material Number "AAAXX" is not there in the Master Data then it will create a SIDs & DIMs ID for that & Transaction Data will be loaded.
    Use
    Choose this indicator if you want to always update the data, even if no master data for the navigation attributes of the loaded records exists. The master data is generated from the loaded transaction data. The system draws SIDs. You can subsequently load the master data.
    Dependencies
    The texts, attributes, and hierarchies are not recognized by the system. Load the texts / attributes / hierarchies for the corresponding InfoObjects separately.
    This function corresponds to the update. Possible errors when reading the master data into the update rules are not associated with this indicator.
    Recommendation
    We recommended loading the master data into the productive systems in advance. Select this indicator especially in test systems.
    Best Regards....
    Sankar Kumar
    +91 98403 47141

  • Can't add numbers greater than 100 in the Data Editor for a column chart

    I'm trying to create a column chart in Keynote '09 but every time I add a data point with a value greater than 100 in the Data Editor it turns the number into a date. I have the Y Axis set to "Number" and it works fine for numbers less than 100 but I want to show a graph that goes from 0 - 1000. Is this happening to anyone else?
    Chart Settings:
    Y Axis Options:
    - Max = 1000
    - Steps = 5
    - Format = Number
    X Axis Options
    - Show Axis
    - Show Categories
    - No Tick Marks
    thanks in advance for the help

    Welcome to the discussions, AlexEberts.
    No, it's not happening for me. This is what I'm doing
    1) Insert -> Chart -> Column
    2) In the Data editor, for 2007, I enter 110.
    The chart automatically expands to 110 (because, by default, it's set to autosize the Y-axis)
    Does this work for you? If it does, then we can look at why it doesn't work when you add parameters.

  • Cannot see table data when selecting data tab

    In SQL developer 2.1, when I look at table definitions I see the column names and types etc, then when I click on the data tab to see the data in that table, I don't see the data only row numbers, this does'nt happen in version 1.54. Any idea what it could be causing the data not to be displayed?

    I don't know if there is a synonym or not, I'll have to check. In the table browser when I click on a table I get the table columns in the main window with tabs on top for 'data', 'constraints' etc. when I select data, I see row numbers on the left, column names at the top but no data when there is data in the table (checked it using sql).
    I've gone back to version 1.5.5, thanks for your help.
    Arshad

  • Error when more data are acquired

    i'm using usb 6259 to acquire data.
    I get error when I try to increase the samples per loop. If I increase the sample rate, I get a new problem, a buffer size must be increased also. I can't edit the buffer size because it's modified automatically in this program, an external buffer block is not allowed.
    what should I do ? 

    Your problem is one of misunderstanding basic arithmetic. If you have a sample rate of 1000 Samples/sec and request 10000 samples, then it's pretty clear that the acquisition is going to take 10 seconds. That is why the error message says to increase the timeout value. If you want 10000 samples, you can lower the number of samples requested and just run the loop x number of times.

  • Stacked column chart - ssrs

    Hi,
    i had three different parameters say column1, column2, column3.
    All the columns had some options almost similar.
    column1 - x,y,a,c,d,e,f
    column2 - y,a,c,d
    column3 - y,a,c,d
    For this the requirement is to use the stacked bar chart.
    with Category Groups as Column1 & series Groups as Column2
    and on the values i need the sum of the count of individual column2 options.
    After generating the report some values are not readable.
    is there any way to do by expression to hide if the count is less than 10.
    Thanks,
    SK2811

    Hi SK2811,
    According to your description, there are three columns named column1, column2, column3 in stacked bar chart. You added column1 to Category Groups and column2 to Series Groups, then use count of column2 as values. Now the requirement is to hide the bar if
    the value is less than 10.
    According to my test, we could not set visibility of series directly by using expression in stacked bar chart. As a workaround, we could add search condition to dataset using the query like below:
    Select column1, column2, column3, count(column2) as new_column from table_name group by column1, column2, column3 having count(column2)>=10
    then modify the chart by following steps:
    In design surface, delete column2 from values in Chart Data dialog box.
    Drag new_column from dataset to Chart Data dialog box as values.
    Personally, I think your requirement is a good point.  I recommend you that submit the requirement at
    https://connect.microsoft.com/SQLServer/ . If the requirement mentioned by customers for many times, the product team may consider to add this feature in the next SQL Server version. Your feedback is valuable
    for us to improve our products and increase the level of service provided.
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu

  • HTC DNA uses data when "Mobile Data" is set to off.

    I usually keep my phone sitting on my desk by my computer and when I get a text the speakers make that weird static noise.  More and more though I have been hearing this noise when there was no text incoming.  So I picked up my phone when it did it this one of the times and I noticed that 4G LTE was being used even though I have my "mobile data" option set to off (screenshot is attached).  So I went to the app Onavo Count and it told me it wasn't a lot of data, but there was in fact data being used by "Android OS + Others."  Does anyone know why this is happening because now that I was forced to get rid of my unlimited data plan I really don't want my phone to have the ability to use data without me even touching it.

    If they are actually recordings, there is no requirement for a data connection, but it honestly sounds like they are not recordings.
    As for the other issue... how are you pairing the iPhone, is it via Bluetooth or are you simply connecting to the Wi-Fi hotpsot?

  • Help: how to compute duration between 2 dates, when these dates on 2 rows?

    Hello,
    We are on 11g.
    We have a table with times saved in one column. Then each row as a différent date value.
    There is no pb to order the query on this date column (obviously)
    Now, we need to compute the period of time between 2 successive rows.
    I have firstly thought about using a cursor, loop on the cursor,compute and update the "period" column.
    this is the basic option
    Now I would like to know if, using a single query, I could directly get the computation I want ?
    here is my example:
    WITH t AS (
    SELECT 'aaa' col1, to_date( '20100201 09:23:50', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
    UNION
    SELECT 'aaa' col1, to_date( '20100201 13:14:33', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
    UNION
    SELECT 'aaa' col1, to_date( '20100207 13:14:33', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
    UNION
    SELECT 'bbb' col1, to_date( '20100202 09:21:10', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
    UNION
    SELECT 'bbb' col1, to_date( '20100203 08:11:06', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
    UNION
    SELECT 'bbb' col1, to_date( '20100203 15:13:55', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
    UNION
    SELECT 'bbb' col1, to_date( '20100210 10:14:27', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
    SELECT col1, to_char( date1,'YYYYMMDD HH24:MI:SS') date1  FROM t
    ORDER BY col1, date1;ideally, this is what I'd like to get (if my computation is correct)
    COL DATE1               DURATION
    aaa 20100201 09:23:50          0
    aaa 20100201 13:14:33      13843
    aaa 20100207 13:14:33     518400
    bbb 20100202 09:21:10          0
    bbb 20100203 10:11:06      89396
    bbb 20100203 15:13:55      18169
    bbb 20100210 17:14:27     612032I hope I'm clear !!!
    Thanks a lot, in advance, for your help
    Olivier

    Sure; it's easy with the use of the lag analytic function:
    WITH t AS (SELECT 'aaa' col1, to_date( '20100201 09:23:50', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
               UNION ALL
               SELECT 'aaa' col1, to_date( '20100201 13:14:33', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
               UNION ALL
               SELECT 'aaa' col1, to_date( '20100207 13:14:33', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
               UNION ALL
               SELECT 'bbb' col1, to_date( '20100202 09:21:10', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
               UNION ALL
               SELECT 'bbb' col1, to_date( '20100203 08:11:06', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
               UNION ALL
               SELECT 'bbb' col1, to_date( '20100203 15:13:55', 'YYYYMMDD HH24:MI:SS') date1 FROM dual
               UNION ALL
               SELECT 'bbb' col1, to_date( '20100210 10:14:27', 'YYYYMMDD HH24:MI:SS') date1 FROM dual),
    t_diff as (SELECT col1,
                      to_char( date1,'YYYYMMDD HH24:MI:SS') date1,
                      (date1 - lag(date1, 1, date1) over (partition by col1 order by date1))*24*60*60 date_diff
               FROM   t)
    select col1,
           date1,
           sum(date_diff) over (partition by col1 order by date1) duration
    from   t_diff
    ORDER BY col1, date1;Edited by: Boneist on 15-Feb-2010 16:39
    (I can't read; was originally giving the cumulative total of the duration. D'oh!)
    ETA2: Take note of the additional parameters I've used in the lag() - the third parameterd handles what the value of the field should be if there is no previous row, so there's no need to use nvl elsewhere in the query to handle that situation.
    Edited by: Boneist on 15-Feb-2010 16:42

  • How to Avoid overlapping data label values in Pie Chart

    Hi,
    I am facing the problem when the data is more my pie chart data label value is overlapping.
    I tried with showing outside the data label value but customer is not accepting ,and i used the CollectedPie  option also but still its overlapping .So please any body knows how to resolve this problem as i need very urgent basis.
    Regards,
    HariKan
    HariKan

    Hi HariKan,
    Per my understanding that the Category group of the pie chart which will retuen many values so that the label will overlapping and you want to know is any method to deal with this kind of problem, right?
    In Reporting Services, when enabling data label in par charts, the position for data label only have two options: inside and outside.
    In your scenario, I recommend you to increase the size of the pie chart if you insist to choose the lable inside the pie chart as below:
    If you choose to "Enable 3D" in the chart area properties and choose to display the label outside, the label's layout will be more clear:
    Reference:
    Pie Charts (Report Builder and SSRS)
    Position Labels in a Chart (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Crystal report Viewer Session times out for more data in Portal

    Hi All,         
         I am using below java SDK code to render a report in crystal report viewer. When i refresh report with more data(more parameter value) the server session times out in portal. Is there any way to fix this issue. The report loads data and then displays in Crystal report viewer, When more data is there the server times out as the server time is set to 60 sec. Is there any way to open the crystal report viewer as and when the report loads data to avoid server time out isse.
    Please help . Please let me know if I am missing something.. Thanks in Advance!!!
    CODE;
    <%@page language="java" contentType="text/html; charset=ISO-8859-1"
           pageEncoding="ISO-8859-1" session="false"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.OpenReportOptions"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ParameterFieldController"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKException"%>
    <%@page
           import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
           <%@page import="com.crystaldecisions.report.web.viewer.*"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%>
    <%@page import="java.io.Writer"%>
    <%@page import="java.io.IOException "%>
    <%@ page import="com.crystaldecisions.report.web.viewer.ReportExportControl" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ExportOptions" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat" %>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.DatabaseController"%>
                  <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportSaveAsOptions"%>
           <% response.setHeader("pragma","no-cache");//HTTP 1.1
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.addDateHeader("Expires", -1);
    response.setDateHeader("max-age", 0);
    //response.setIntHeader ("Expires", -1);
    //prevents caching at the proxy server
    response.addHeader("cache-Control", "private"); %>
    <%
           String reportPath,Sharedpath;
           ReportClientDocument reportClientDocument;
                ParameterFieldController parameterFieldController;
                try{
                    reportPath = "reportlocation";
                 Sharedpath = "Target Location";
                    reportClientDocument = new ReportClientDocument();
                    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
                         reportClientDocument.open(reportPath, OpenReportOptions._openAsReadOnly);
                         reportClientDocument.getDatabaseController().logon("Dbname", "dbpassword");              
                         System.out.println("Connecting...");
                       parameterFieldController = reportClientDocument.getDataDefController()
                   .getParameterFieldController();
                    parameterFieldController.setCurrentValues("", "param 1",
                         new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29});
    parameterFieldController.setCurrentValues("", "Param 2",
                  new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23});
    reportClientDocument.saveAs("Target Report Name","Target Location", ReportSaveAsOptions._overwriteExisting);
           reportClientDocument.close();
           System.out.println("Finished...");              
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setOwnPage(true);
    viewer.setPrintMode(CrPrintMode.ACTIVEX);
    viewer.setReportSource(Sharedpath);
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
                  System.out.println("Finished...");
           }  catch (ReportSDKException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
    %>

    Hi All,         
         I am using below java SDK code to render a report in crystal report viewer. When i refresh report with more data(more parameter value) the server session times out in portal. Is there any way to fix this issue. The report loads data and then displays in Crystal report viewer, When more data is there the server times out as the server time is set to 60 sec. Is there any way to open the crystal report viewer as and when the report loads data to avoid server time out isse.
    Please help . Please let me know if I am missing something.. Thanks in Advance!!!
    CODE;
    <%@page language="java" contentType="text/html; charset=ISO-8859-1"
           pageEncoding="ISO-8859-1" session="false"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.OpenReportOptions"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ParameterFieldController"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKException"%>
    <%@page
           import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
           <%@page import="com.crystaldecisions.report.web.viewer.*"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%>
    <%@page import="java.io.Writer"%>
    <%@page import="java.io.IOException "%>
    <%@ page import="com.crystaldecisions.report.web.viewer.ReportExportControl" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ExportOptions" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat" %>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.DatabaseController"%>
                  <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportSaveAsOptions"%>
           <% response.setHeader("pragma","no-cache");//HTTP 1.1
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.addDateHeader("Expires", -1);
    response.setDateHeader("max-age", 0);
    //response.setIntHeader ("Expires", -1);
    //prevents caching at the proxy server
    response.addHeader("cache-Control", "private"); %>
    <%
           String reportPath,Sharedpath;
           ReportClientDocument reportClientDocument;
                ParameterFieldController parameterFieldController;
                try{
                    reportPath = "reportlocation";
                 Sharedpath = "Target Location";
                    reportClientDocument = new ReportClientDocument();
                    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
                         reportClientDocument.open(reportPath, OpenReportOptions._openAsReadOnly);
                         reportClientDocument.getDatabaseController().logon("Dbname", "dbpassword");              
                         System.out.println("Connecting...");
                       parameterFieldController = reportClientDocument.getDataDefController()
                   .getParameterFieldController();
                    parameterFieldController.setCurrentValues("", "param 1",
                         new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29});
    parameterFieldController.setCurrentValues("", "Param 2",
                  new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23});
    reportClientDocument.saveAs("Target Report Name","Target Location", ReportSaveAsOptions._overwriteExisting);
           reportClientDocument.close();
           System.out.println("Finished...");              
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setOwnPage(true);
    viewer.setPrintMode(CrPrintMode.ACTIVEX);
    viewer.setReportSource(Sharedpath);
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
                  System.out.println("Finished...");
           }  catch (ReportSDKException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
    %>

  • JCo getting truncated value from SAP when field data type is RAW

    We are trying to fetch data from a SAP-AII table by using JCo using the RFC RFC_READ_TABLE.
    We are getting incomplete data when the data type of the column is RAW in a particular table.A typical case is:
    Table Name: /AIN/DM_DEVCTR
    Field : CLIENT                Type: CLNT    Length:3      Value: 100                                                            (SAP Generated)
    Field:  DEVCTR_GUID    Type:RAW      Length:16    Value: 306F50F53805ED488DE9797AC86B5728     (SAP Generated)
    Filed:  DEVCTR_ID         Type:CHAR    Length:128   Value: KDEVICECONTROLLER                             (User input)
    For the fields CLIENT and DEVCTR_ID we get the entire value (including blank spaces) but for DEVCTR_GUID we get only 16 characters whereas SAP-AII stores a value that is 32 characters in length. How do we fetch the actual value instead of the truncated value?
    Sample code is attached.
              try {
                   mConnection = JCO.createClient("100", // SAP client
                             "User", // userid
                             "Password", // password
                             "EN", // language
                             "SAP", // host name
                             "00"); // system number
                   mConnection.connect();
                   if (mConnection == null) {
                        System.out.println("Connection to SAP Server failed.");
                   mRepository = new JCO.Repository("User", mConnection);
                   ftemplate = mRepository.getFunctionTemplate("RFC_READ_TABLE");
              } catch (Exception ex) {
                   ex.printStackTrace();
                   System.exit(1);
              JCO.Function function = ftemplate.getFunction();
              JCO.ParameterList importParamList = function.getImportParameterList();
              importParamList.setValue("/AIN/DM_DEVCTR", "QUERY_TABLE");
              importParamList.setValue(";", "DELIMITER");
              JCO.Table tableData = function.getTableParameterList().getTable("DATA");
              JCO.Table fields = function.getTableParameterList().getTable("FIELDS");
              mConnection.execute(function);
              if (tableData.getNumRows() > 0) {
                   do {
                        for (JCO.FieldIterator e = tableData.fields(); e
                                  .hasMoreElements();) {
                             JCO.Field field = e.nextField();
                             String str = field.getString();
                             String[] values = str.split(";");
                             for(int i = 0; i < values.length; i++){
                                  System.out.println(values<i>);
                   } while (tableData.nextRow());
              } else {
                   System.out.println("No results found");
              mConnection.disconnect();

    Hi Kaanu,
       You have to modify your java code.
    String val = new String( field.getByteArray());
    PS: Please reward points for helpful answer or problem resolved.

  • 100% Stacked Column Chart

    Hi,
    We have a requirement where we have to represent data in 100% stacked column chart, the value on y-axis is the % value and the value on the column is the actual value (like # ).
    For suppose data is like
          Actual data      % values
    A     20    80          20%   80%       
    B    100   100        50%  50%
    C     120    40         75% 25%
    Can any one plz suggest me the way to represent in xcelsius as a 100% stacked column chart.
    Thanks in advance

    Hi,
    I think it's impossible to bind the series of a Stacked Column Chart to the percentage (20% 80%) while displaying the actual values on mouse-over in Xcelsius 2008. Is this what you want?
    My suggestion is to use a Single Value component such as a Gauge or a Label to display the actual value on mouse over, to simulate the same effect as you want. To do this, set Interaction Option of the Stacked chart to Insert On Mouse Over, and for each series, insert the actual value to a cell in the embedded spreadsheet. Your sample data has 2 series, so they insert to 2 cells in the spreadsheet, as you cannot insert the actual value of 2 series into the same cell.
    The Gauge is used to display the actual value of the currently mouse-over item. For this, you need 2 History component to track the change of either of the 2 cells, and insert to the same range. The Gauge then can be bound to the last cell of the Data Destination of the History components.
    I have tried it out and if you want, I can send the source file to you.
    Thanks,
    Ray

  • SSRS 2008 Column Chart with Calculated Series (moving average) "formula error - there are not enough data points for the period" error

    I have a simple column chart grouping on 1 value on the category axis.  For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis.  I right click on the data series and choose "Add calculated series...".  I choose moving average.  I want to move the average over at least 2 periods.
    When I run the report, I get the error "Formula error - there are not enough data points for the period".  The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5).  When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
    I don't think this is entirely acceptable for our end users.  At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart.  Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
    Thank you,
    Dan

    I was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
    If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
    <ChartFormulaParameter Name="Period">
                      <Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
    </ChartFormulaParameter>
    What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
    A side note:
    If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML.

  • SSRS 2008: how to show an empty chart with legend and x and y axis when no data available

    Hi,
    I am using SSRS 2008, I generated one chart in report designer with the data from Analysis Services (Cube).
    According to the dataset, there is no data returned when I run the query. so when I preview the chart, there is nothing but "no data available" showing on the chart.
    Here I want to know is there any possible to show an empty chart with legend and x and y axis?
    If it is possible, can you tell me how can I make it?
    Best Regards.
    Connie Zhu

    Hi,
    When there is no data, the chart displays the message "no data available". But using a little work around, you can display an empty chart.
    Please find the below steps given to achieve this
    1. Create a new dataset using TSQL to return 1 row of data having the category field and value field set to 0. Add the fields that are necessary for the category fields, series fields and datafields.
       A simple example would be like
       SELECT 'abc' as Category, 0 as Amount
    2. Add a new chart, set the category field to 'Category' and set the data field to Amount from above dataset created in step 1.
    3. In the new chart, right click the category axis and select axis properties, Click on the labels tab, check on
    'Hide axis labels' and then click ok
    4. Now set the Visibility property of both the charts depending on the rows returned from your main dataset
       a. click on your main chart and set its Hidden property to :
    =iif(CountRows("MainDataSet"),false,true) 
       b. click on the new blank chart added and set its Hidden proprety to (the opposite) :
    =iif(CountRows("MainDataSet"),true,false) 
       Note : Please change the dataset name in above expression "MainDataset" to the name of your chart's dataset
    5. Resize the new chart to the same size as your main chart, then position the new chart on the place as the main chart.
       (Note : You can set the position of new chart to be same by copying the location property from the main chart) 
    6. Now run and observe the result. When there are no rows returned by your main dataset, the new chart (the blank chart) should be displayed.
    I've added a working sample of this kind of a report
    here.
    Hope this helps. Please feel free to discuss if you have any questions.
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
    BH

  • Problem in Report Builder 3.0 SSRS 2008 R2 (Some data doesn't pass to chart)

    Hello,
    I have a storedprocedure that returns a set amount of data and is filtered by a parameter.
    I'm using a stacked column char and have a Value, Category Group and Series Group.
    The problem is one of the filter values works the other doesn't.
    I mean if I run the query inside the Builder and pass the parameter I want , they both return data.
    When I'm running the report, one of them populates the chart correctly, the other just states "No Data Available".
    This is really weird...
    Can someone give me some help, a hand with trying to figure out what might be wrong. I checked the data and even did a fresh chart just with the assigned groups and still didn't work
    Thanks

    IF @ParameterPais = 'Todos' and @ParameterMarket <> 'Todos' AND @ParameterIndustria = 'Todos'
    BEGIN
    SELECT
    PAIS,
    MARKET,
    INDUSTRIA,
    TIPO,
    ANO,
    VALOR
    FROM a_UserTable_FacturacaoPorAnoPorMarketTESTE
    where Market = @ParameterMarket
    union
    select
    PAIS,
    MARKET,
    INDUSTRIA,
    'Total',
    ANO,
    sum(VALOR) VALOR
    from a_UserTable_FacturacaoPorAnoPorMarketTESTE
    where Market = @ParameterMarket
    group by PAIS,ANO, MARKET,INDUSTRIA
    union
    SELECT
    PAIS,
    MARKET,
    INDUSTRIA,
    'Total',
    ANO,
    sum(VALOR) VALOR
    FROM a_UserTable_FacturacaoPorAnoPorMarketHistoricoTESTE
    where Market = @ParameterMarket
    group by PAIS,ANO, MARKET,INDUSTRIA
    union
    SELECT
    PAIS,
    MARKET,
    INDUSTRIA,
    TIPO,
    ANO,
    VALOR
    FROM a_UserTable_FacturacaoPorAnoPorMarketHistoricoTESTE
    where Market = @ParameterMarket
    END
    This is the SP. The Report has 3 parameters and I'm testing when the 2nd parameter is <> than "All" (meaning the SP will filter the query on that parameter.
    The parameters are retrieving data from other SP's but the data is fine and I can retrieve it so it shouldn't have any problems there.
    What I meant is I created a 2nd chart just for testing purposes. The report only has 1 stacked column chart. It has SUM(VALOR) as Value, ANO as Category Group and TIPO as Series Group.
    The following is the returned data sample for 2 different inputs for the @ParameterMarket:
    PAIS
    MARKET
    INDUSTRIA
    TIPO
    ANO
    VALOR
    Internacional
    Ensino e Cultura
    Centros de Formação
    Backlog
    2009
    50000.00
    Internacional
    Ensino e Cultura
    Centros de Formação
    Backlog
    2010
    50000.00
    Internacional
    Ensino e Cultura
    Centros de Formação
    Backlog
    2011
    50000.00
    Internacional
    Ensino e Cultura
    Centros de Formação
    Backlog
    2012
    50000.00
    Internacional
    Ensino e Cultura
    Centros de Formação
    Backlog
    2013
    50000.00
    Internacional
    Ensino e Cultura
    Centros de Formação
    Backlog
    2014
    50000.00
    Internacional
    Ensino e Cultura
    Centros de Formação
    Backlog
    2015
    50000.00
    Internacional
    Ensino e Cultura
    Centros de Formação
    Faturado
    2014
    50000.00
    Internacional
    Ensino e Cultura
    Centros de Formação
    Faturado
    2015
    50000.00
    Internacional
    Ensino e Cultura
    Centros de Formação
    Pipeline<75
    2009
    50000.00
    PAIS
    MARKET
    INDUSTRIA
    TIPO
    ANO
    VALOR
    Internacional
    Defesa e Segurança
    Administração Interna / Segurança
    Backlog
    2009
    50000.00
    Internacional
    Defesa e Segurança
    Administração Interna / Segurança
    Backlog
    2010
    0.00
    Internacional
    Defesa e Segurança
    Administração Interna / Segurança
    Backlog
    2011
    0.00
    Internacional
    Defesa e Segurança
    Administração Interna / Segurança
    Backlog
    2012
    0.00
    Internacional
    Defesa e Segurança
    Administração Interna / Segurança
    Backlog
    2013
    0.00
    Internacional
    Defesa e Segurança
    Administração Interna / Segurança
    Backlog
    2014
    0.00
    Internacional
    Defesa e Segurança
    Administração Interna / Segurança
    Backlog
    2015
    29110.11
    Internacional
    Defesa e Segurança
    Administração Interna / Segurança
    Faturado
    2012
    65338.00
    Internacional
    Defesa e Segurança
    Administração Interna / Segurança
    Faturado
    2013
    32669.00
    Internacional
    Defesa e Segurança
    Administração Interna / Segurança
    Faturado
    2014
    22227.09
    Internacional
    Defesa e Segurança
    Administração Interna / Segurança
    Faturado
    2015
    0.00
    Internacional
    Defesa e Segurança
    Administração Interna / Segurança
    Pipeline<75
    2009
    50000.00
    First one doesn't work, the second one works and they are similar.
    Sorry if you need more infor but its kind of hard to explain by message.

Maybe you are looking for