SSRS Chart group dataset by Year (series groups)/Month (category groups) force intervals to start at JAN?

Hi all,
trying to figure this out in REPORT BUILDER, but I guess I can go to VS if needed...
I've got a data set that says "sales" and its basically order summarycontaining:
id, dateplaced, and other stuff...
I want to use this dataset to show trendline for annual qty of orders
created line chart with "countDistinct(id)" as the series for X
category groups = groupby "=Month(dateplaced)" and label "=MonthName(Month(dateplaced)"
series groups = group by "=Year(dateplaced)" and label the same.
I think this is working as intended, please correct if not.
The PROBLEM I'm seeing is that since my dataset returns data starting around september so my "axis" starts in september... I really would prefer it starts at Jan and ends in December... I can't see any way to do this...
The only things I could think of are;
put fake data in dataset that returns "empty" values for jan in the first year of data...
change the query completely to make sure tehre are "year" "month" groupings... somehow...
but both of these approaches seem to be "hacky" and not very maintainable or clear...
Help!

Hi noJedi,
According to your description, you want to you have the category group in your chart always start from January. Right?
In Reporting Services, when we set category group, the records will sort by the sequence of data in database by default. However, we can apply expression in
Sorting so that those records can sort by the month. We have tested your scenario in our local environment, here are steps and screenshots for your reference:
1. Create a chart and put the corresponding expression into category and series group.
2. Right click on category group. Go to Sorting tab. Put the expression below into sorting expression.
3. Save and preview. The result looks like below:
Reference:
Sort Data in a Data Region (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou

Similar Messages

  • SSRS Matrix report. Variance expression by Month. Need to compare month from prior year to current month of current year VS2010

    Please help.  I have a matrix report.  In the report I have row group  PO Type.  One the Column groups I have a parent group by Fiscal Year, and then a child group by Month.  When I run the report, I get two years of data back broken
    out by month.  Please see below.
    Now here is where I am getting stuck.  I need to take the variance between the current month of the current year, from the same month of the prior year.  So I need to show the difference between Oct , 2014 from Oct, 2013. November, 2014 from November
    2013... etc. etc.
    In the example below, how do I create a column or row showing the variance for Contracts for October 2014.  I need to take the contracts for October 2014 which is 3 and subtract that from October 2013 which is 8.  Any suggestions? How do I do that
    for each month?  Then I need to do it for the quarter... then the year?  But I'll be happy if I can just get the month working first.
    Any help will be appreciated. 
    here is what my rdl file looks like.
    Here is what my report looks like when I render it.

    Hi Adrian_s2012,
    According to your description, you want to compare values for the month of current year with the month of prior year and get the variance. Right?
    In Reporting Services, we don't have any function to get this "Year to Year" Growth. In this scenario, if you data source is a cube, we suggest you use Analysis Services to achieve your requirement. If this data source is just from database, it will be hardly
    to calculate the variance because we need to compare the values within every two different column group and matrix generate adjacent columns one by one. Even we make it by using custom, every time executing the long code when generating result
    in a cell will reduce a lot of performance, we really don't suggest to do that in SSRS. Here is a thread with much easier requirement, please take a reference of that:
    http://social.msdn.microsoft.com/Forums/office/en-US/842e2dcb-d949-4297-9d91-eac989692cb5/difference-between-the-grouped-column?forum=sqlreportingservices
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Item category group not exist in CRM

    Hi all,
    I u2018m getting an error item category group not exist in CRM that item category group is in R/3
    So my question is weather I have to create that item category group in CRM or I have to download that one from r/3.
    If I create in CRM how to link the R/3 item category group to CRM one.
    Regards
    Rami

    There is definitely no exchange of neither transaction types nor item categories between an erp and a crm system. Also the dependent object like the organisational data profile or the partner profile are not exchanged.
    Instead for those transactions that are exchanged you need to do the customizing the same way in both systems, ERP and CRM.
    Regards, Kai

  • SSRS Bar Chart grouping date series into Months, setting scaler start and end ranges

    I've been trying to solve this issue for a few days now without writing a sql script to create a "blank" for all of missing data points so that I get a bar for each month.  I have date series (by day) data points grouped by two items
    that creates a set of bar charts.  EG:  one chart per product in the tablix detail grouped to site level.
    My issue is I would like the start and end of the charts to be the same for all charts and the only way I get it to work is with a chart that continues to show each date on the chart. 
    EG:
    I have the graph start and end points set and scaling by month as I would like but each bar is a day instead of aggregating to a month level.   My issue I hope to find a workaround for is if I go to Category Groups and define the grouping
    to group with a year and month function the series is no longer treated as date data and I cannot control scaling.  It works fine if all months have activity, but I can't figure out how to always have all charts start at "May 2012" in this example. 
    The only start and end point that I've been able to get to work once doing this are integer based, eg normal start would be 1 for each graph, but 1 doesn't equate to the same month from chart to chart.
    I hope SSRS can provide the solution.  I do know I can write a query that creates a ZERO value for each month/product/site but I don't want to leave the client with a query like that to support.
    -cybertosis

    Hi cybertosis,
    If I understand correctly, you want to display all month category label in the X-Axis. You have configure the Scalar Axis, however, it cannot display the requirement format.
    In your case, if we want the specific data format, we can configure Number property to set the corresponding Category data format. Please refer to the following steps:
    Right click the X-Axis, select Horizontal Axis Properties.
    Click Number in the left pane. Click Date option in the Category dialog box.
    Then, select Jan 2000 option.
    Please refer to the following screenshot below:
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Page break for a category group of a chart - SSRS 2008 R2

    Hi,
    I need to add a page break for one of two category groups of a my chart. Is it possible, please?
    I need to create a chart for this category group to mantain readable the report.
    Thanks

    Hi There
    You can create two graphs and put them inside two separate rectangles and add page break
     after first rectangle and add a filter to your chart for first category group for first chart and second category group for second chart.
    This is best you can do
    If you have any question please let me know.
    Many Thanks
    Syed Qazafi Anjum
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.

  • SSRS 2008 Chart legend colours not matching series colour.

    Hi,
    I believe this issue has been raised before. In SSRS 2005 & 2008 R2 though I am yet to find a solution other than a lengthy (messy) workaround.
    I have a chart based on the following data:
    Data field - Count(ChangeID)
    Category - Change_Categorisation (ie. Maintenance, new hardware etc)
    Series - Change_Timing (Emergency, expedited, normal etc)
    So i am using a stacked column chart to show the category along the X axis and stack the number of changes by their timing.
    In the Series colour setting i am using the expression:
    =iif(Fields!Change_Timing.Value="Emergency","Red",iif(Fields!Change_Timing.Value="Expedited","Orange","SteelBlue"))
    I have also tried
    =Switch(Fields!Change_Timing.Value="Emergency","Red",Fields!Change_Timing.Value="Expedited","Orange",Fields!Change_Timing.Value="Normal","SteelBlue")
    In all cases the legend only seems to refer to the first column in the chart to pick up colours.
    For example.
    The first column for December is Maintenance changes. There are 2 emergency & 1 normal. the only expedited change is in another column (new hardware).
    So the legend shows Emergency as RED, Normal as SteelBlue and Expedited as Steelblue.
    no matter what I do the legend only picks up the colours from the first category. so if the fist category only has 1 timing (eg- Normal). Every item in the legend has the Normal colour (Steelblue)
    Surely there is a fix for this that doesnt involve creating a table to the side of the graph which seems like a really basic way to deal with this issue. I may as well go back to the dark ages and use Excel for my reports or bloody draw them on paper.
    :) calming down now. Thanks for any input on this.

    Hi,
    I have reproduced the issue you posted as the following picture shows. The color of series group “AAA” in the legend is not as the same as the color as the third column.
    Based on my testing, it occurs when the chart meets the following conditions:
    1.   
    Use decision function to specify the Series colors.
    2.   
    The data value of the chart using the aggregate
    Count.
    3.   
    One series group is not contained in the first category column.
    It is my pleasure to help you reflect the issue to the proper department, and you can also submit it at
    https://connect.microsoft.com/SQLServer/ to get an official confirmation.
    If the issue is urgent to your business, it is recommended that you contact Microsoft Customer Support Services (CSS) via telephone so that a dedicated Support Professional can
    assist you in a more efficient manner. Please be advised that contacting phone support will be a charged call. However, it will be free if this is a product issue.
    To obtain the phone numbers for specific technology request please take a look at the web site listed below.
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS
    If you are outside the US please see
    http://support.microsoft.com for regional support phone numbers.
    Regards,
    Tony Chain
    Tony Chain [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Dummy category group for chart

    Hi,
    I'm creating a stacked column chart where I'm getting data from an MDX query that has three measures. I want to have a separate stacked column for each of the measures but I can't figure out how to do this. If I were able to get the measures on separate
    rows or something alike I would have no problem but from what I've found, this isn't possible with MDX. So I need some sort of dummy category group that has three different values by which I can split the column values. How can I do this?

    Solution courtesy of
    VHteghem_Ph at
    MDX numbered dummy set.
    WITH
    MEMBER [Dim].[Dim].[All].[1] AS [Dim].[Dim].[All]
    MEMBER [Dim].[Dim].[All].[2] AS [Dim].[Dim].[All]
    MEMBER [Dim].[Dim].[All].[3] AS [Dim].[Dim].[All]
    SET [Dummy] AS {[Dim].[Dim].[All].[1], [Dim].[Dim].[All].[2], [Dim].[Dim].[All].[3]}
    SELECT {[Measure1], [Measure2], [Measure3]} ON 0,
    NON EMPTY {([Dimension1], [Dimension2], [Dimension3]) * [Dummy]} ON 1
    FROM [Cube]

  • Group by multiple years

    I have an application where I need to sum a field by year PLUS the the previous 2 years. When I sum simply by year, it looks like this:
    select s.survey_year. sum(ac.plover_calculated_adult) AS totalCalcAdults
    from dms.adult_census ac,dms.sites s
    where ac.site_id = s.site_id
    group by s.survey_year
    How do I group by year plus the previous 2 years? I'm at a loss for how to write that.
    Thanks in advance!!
    JOhn

    Hi,
    It sounds like you want ot use RANGE BETWEEN in the analytic clause.
    I don't have versions of your tables, so I'll illustrate using scott.emp:
    SELECT       TRUNC (hiredate, 'YEAR')     AS hire_year
    ,       COUNT (*)                  AS cnt_1
    ,       SUM (COUNT (*)) OVER ( ORDER BY       TRUNC (hiredate, 'YEAR')
                                       RANGE BETWEEN     (2 * 366) PRECEDING
                               AND     CURRENT ROW
                          )        AS cnt_3
    ,       SUM (sal)               AS total_sal_1
    ,       SUM (SUM (sal)) OVER ( ORDER BY       TRUNC (hiredate, 'YEAR')
                                       RANGE BETWEEN     (2 * 366) PRECEDING
                               AND     CURRENT ROW
                          )        AS total_sal_3
    FROM       scott.emp
    GROUP BY  TRUNC (hiredate, 'YEAR')
    ORDER BY  hire_year
    ;Output:
    HIRE_YEAR      CNT_1      CNT_3 TOTAL_SAL_1 TOTAL_SAL_3
    01-JAN-80          1          1         800         800
    01-JAN-81         10         11       22825       23625
    01-JAN-82          1         12        1300       24925
    01-JAN-87          2          2        4100        4100As you can see, the cnt_3 and total_sal_3 columns are the totals of the cnt_1 and total_sal_1 columns for the last 3 years , which may mean the last 1, 2 or 3 rows , depending on what years are in the table.
    If survery_year is a NUMBER, then you'll probably want to use "RANGE BETWEEN 2 PRECEDING AND CURRENT ROW".
    I hope that answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements) and the resutls you want from that data.

  • Creating charts that represent current year in Months in order to show YTD performance by month

    I continue to struggle with what, to me, seem to be the simplest things in SSRS.  I have spent over two days trying desperately to get a chart to properly show the quantities of Manufacturing Orders that we have made each month, Year To Date. 
    Below is the closest I’ve been able to come and the axis is still off by one month and not in sync at all with my data. 
    Then when I run the report for other part numbers, that only have MO’s in say two months (Jan & Jun), they don’t even behave scalar and I get the following screwed up mess.  Notice the two columns have decided to fill most of the scale and they
    did not skip the four months between Jan and Jun and they also are completely out of sync with my scalar x-axis!
    My goal is to create a chart that can be run for any part number on any day and show how many times it has been built during the current calender year.  Chart should always show months of current year starting Jan on left and ending with Dec on
    right (even if I am running report in February for example).  Then for each month that we have data, it should show the QTY on the column chart and leave blank columns for months with no data.
    Can anyone help me with this? 
    Chris

    Hi Chirs,
    From your desription, you want to createa a chart to show all the months on the chart no matter it has data on that month or not, rigth? If in this case, we can create an other dataset to show all the month, and then use the lookup function to get the month
    QTY. The steps below are for you reference.
    Create an other dataset use the query below.
    DECLARE @TMP TABLE (Month nvarchar(20),QTY INT)
    INSERT @TMP SELECT 'Jan',0
    INSERT @TMP SELECT 'Feb',0
    INSERT @TMP SELECT 'Mar',0
    INSERT @TMP SELECT 'Apr',0
    INSERT @TMP SELECT 'Mat',0
    INSERT @TMP SELECT 'Jun',0
    INSERT @TMP SELECT 'Jul',0
    INSERT @TMP SELECT 'Aug',0
    INSERT @TMP SELECT 'Sep',0
    INSERT @TMP SELECT 'Oct',0
    INSERT @TMP SELECT 'Nov',0
    INSERT @TMP SELECT 'Dec',0
    SELECT * FROM @TMP
    Drag [Month] filed to Category Groups and drag [QTY] field to Values.
    Then change the of [QTY] to:
    =Lookup(Fields!Month.Value,Fields!Month.Value,Fields!QTY.Value,"DataSet1")
    The report looks liek below.
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • To display percentage value dynamically in SSRS chart

    Hi,
    I have got a requirement to show percentage values in Y AXIS.
    X axis is year. There is legend color. Below the result set of the query, on top of this i have to do report. (Data set query cant be changed as it already using for other report)
    Sample Data
    Year Color
    2012 Black
    2012 Black
    2012 Red
    2013 Black
    2013 Black
    2013 Red
    2013 Red
    My requirement is like  year 2012, for black 66% (2/3) and for red  33%(1/3).
    How can we achieve this without using extra dataset and lookup? 
    Your help is highly appreciated.
    Thanks!
    Shamsuddeen

    Hi Shamsuddeen,
    According to your description, you want to display the proportion for each color within each year.
    In your scenario, you can achieve your requirement follow steps below:
    1. Design a chart, specify the Category Groups with [Year] and [Color]. Then check the group name of the [Year].
    2. Specify the expression within Values panel like below:
    =Count(Fields!Color.Value)/Count(Fields!Color.Value,"Chart1_CategoryGroup")
    3. Right click the chart to open Seriese Label Properties, change the number formatting option as Percentage on Number page. Then preview the report.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Custom X Axis Labels When there are no Category groups

    SQL 2012; VS 2010 (SSRS)
    My underlying query is:
                SELECT  HourOfDay
                        ,COUNT_BIG(*) TotalCalls
                        ,sum([CallerRingTimeSeconds_00_10]) [CallerRingTimeSeconds_00_10]
                        ,sum([CallerRingTimeSeconds_11_30]) [CallerRingTimeSeconds_11_30]
                        ,sum([CallerRingTimeSeconds_31_60]) [CallerRingTimeSeconds_31_60]
                        ,sum([CallerRingTimeSeconds_61_120]) [CallerRingTimeSeconds_61_120]
                        ,sum([CallerRingTimeSeconds_GT_120]) [CallerRingTimeSeconds_GT_120]
                FROM  [dbo].[v
    The view being used looks like this:
        CASE  
            WHEN CallerRingTimeSeconds > -1 AND CallerRingTimeSeconds <= 10 THEN 1
            ELSE 0
        END AS CallerRingTimeSeconds_00_10,
        CASE  
            WHEN CallerRingTimeSeconds > 10 AND CallerRingTimeSeconds <= 30 THEN 1
            ELSE 0
        END AS CallerRingTimeSeconds_11_30,
        CASE  
                WHEN CallerRingTimeSeconds >30 AND CallerRingTimeSeconds <= 60 THEN 1
                ELSE 0
        END AS CallerRingTimeSeconds_31_60,
        CASE  
                WHEN CallerRingTimeSeconds >60 AND CallerRingTimeSeconds <= 120 THEN 1
                ELSE 0
        END AS CallerRingTimeSeconds_61_120,
        CASE  
            WHEN CallerRingTimeSeconds >120 THEN 1
            ELSE 0
        END AS CallerRingTimeSeconds_GT_120,
    There is no "Category Group".  I just want to display 5 bars with the height of each based on the number of calls in each item.  It works with two problems.
    First I cannot get labels on the X axis.  I want to put something like 0-10    11-30    31-60   ETC
    The second is that all five bars are alongside each other just like in design mode when I preview the report.
    Suggestions/solutions please.  (I tried to paste screen shots but it would not allow due to size) Thanks...  Carl
    Carl

    Hi HopkinsITM,
    According to your description, you used the query to retrieve data for the report, you want to display 5 bars in the chart, and labels on X axis like 0-10    11-30    31-60   ETC. If that is the case, please refer
    to the following steps:
      1. In design mode, right-click the dataset you used to retrieve data for the report and open Dataset Properties dialog box.
      2. In query text box, modify the query like below:
    SELECT HourOfDay, CallerRingTimeSeconds, num
    FROM
    select t1.HourOfDay
    ,COUNT_BIG(*) TotalCalls
    ,sum([CallerRingTimeSeconds_00_10]) [CallerRingTimeSeconds_00_10]
    ,sum([CallerRingTimeSeconds_11_30]) [CallerRingTimeSeconds_11_30]
    ,sum([CallerRingTimeSeconds_31_60]) [CallerRingTimeSeconds_31_60]
    ,sum([CallerRingTimeSeconds_61_120]) [CallerRingTimeSeconds_61_120]
    ,sum([CallerRingTimeSeconds_GT_120]) [CallerRingTimeSeconds_GT_120]
    from (select HourOfDay,
    CASE
    WHEN CallerRingTimeSeconds > -1 AND CallerRingTimeSeconds <= 10 THEN 1
    ELSE 0
    END AS CallerRingTimeSeconds_00_10,
    CASE
    WHEN CallerRingTimeSeconds > 10 AND CallerRingTimeSeconds <= 30 THEN 1
    ELSE 0
    END AS CallerRingTimeSeconds_11_30,
    CASE
    WHEN CallerRingTimeSeconds >30 AND CallerRingTimeSeconds <= 60 THEN 1
    ELSE 0
    END AS CallerRingTimeSeconds_31_60,
    CASE
    WHEN CallerRingTimeSeconds >60 AND CallerRingTimeSeconds <= 120 THEN 1
    ELSE 0
    END AS CallerRingTimeSeconds_61_120,
    CASE
    WHEN CallerRingTimeSeconds >120 THEN 1
    ELSE 0
    END AS CallerRingTimeSeconds_GT_120
    from #t) t1
    where t1.HourOfDay =1
    Group by t1.HourOfDay
    ) p
    UNPIVOT
    (num FOR CallerRingTimeSeconds IN
    (CallerRingTimeSeconds_00_10, CallerRingTimeSeconds_11_30, CallerRingTimeSeconds_31_60, CallerRingTimeSeconds_61_120, CallerRingTimeSeconds_GT_120)
    )AS unpvt;
      3. On the Insert tab, click Chart, and then click Insert Chart.
      4. Click on the design surface where you want the upper-left corner of the chart, and then drag to where you want the lower-right corner of the chart.
      5. Select the type of chart you want to add. Click OK.
      6. Click the chart to display the Chart Data pane.
      7. Add num to the Values area.
      8. Add CallerRingTimeSeconds to the Category Groups area.
      9. Right-click drop-down arrow next to CallerRingTimeSeconds, click Category Groups Properties dialog box.
      10. Click (fx) button next to Label, type the expression like below, then click OK.
    =Right(Fields!CallerRingTimeSeconds.Value,5)
    The following screenshot is for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • SSRS Chart does not show all data

    Hi,
    I have a report from a cube. I'm using filters to get data. I have filters by year and month, I have a chart that shows data initially from a month. My problem is when I filtered data of different years, for example:
    If I select Year 2014, Months: Jan 2014,Feb 2014, Mar 2014, May 2014, Apr 2014, Jun 2014. The information is displayed correctly.
    If I select Year 2014 and 2013, Months: Nov 2013, Dec 2013, Jan 2014,Feb 2014, Mar 2014, May 2014, Apr 2014, Jun 2014. Only displays information for year 2013 (Nov 2013, Dec 2013).
    Also I have a tablix, using the same dataset that chart, and in this tablix I have not this issue.
    ¿How can I do that chart displays the information I select in filters?
    Greetings

    Hi Pamela G,
    According to your description, you have issue on filtering data in your chart. When you select more than one year (2013 and 2014) in parameter, it only return the data for months of 2013. Right?
    In this scenario, since it shows all months for both years in the month parameter, it seems no issues on cascading parameter. So it may has issue in the filter. We are not sure you add the filter on dataset or chart based on your information. If you add
    the filter on dataset, you may need to check the chart design because the same dataset is working in a tablix. Please try to put the Year into Series or add a calculate field which combine the Year and Month in your dataset then put this field in
    Category. If you add the filter on chart, please check the Operator and Values in your filter. One possibility is, when we set expression for Values, if we double click the parameter, it will return "Parameter!Year.Value(0)" by default, we need to change it
    into "Parameter!Year.Value". If it's still not working, please post some more detail information or screenshots about the dataset and filters. This may help us reproduce your issue in our local environment.
    Best Regards,
    Simon Hou

  • Line Chart to Compare Current Year vs Last Year

    I am on BI 7 SP9. I need to create a line chart that shows 2 lines to compare  revenue for the current year against last year. The first line should show the revenue for the current year. The second line should show the revenue for last year. In my BEx query, I have the fiscal period values in the row and the revenue key figure in the column. Questions:
    1. How can I show 2 lines in the chart to compare revenue for the current year vs last year?
    2. There are 2 variables for the fiscal period - one for current year and one for last year. The user can enter any value range in the fiscal period variables at query runtime, but the fiscal periods for each of the 2 years must be the same. This means the number of fiscal periods that appear in the query result rows will vary (e.g.. 3 periods for a quarter or 12 periods for a full year). The user has to enter the same fiscal periods for the current year and last year variables. How can I determine the fiscal period values to plot in the line chart for the current year and then last year when the number of rows in the query results will fluctuate?
    The legend at the bottom of the chart should show JAN, FEB, MAR...DEC instead of the fiscal period values like 001/2007, 002/2007. Is there an exit I have to change to get this to work?
    Thanks for any help you can give!

    You can do it in multiple ways
    1.
    SELECT COALESCE(t1.Company,t2.Company) AS Company,
    COALESCE(t1.Sales2015,0) AS CurrentYearSales,
    COALESCE(t2.Sales2014,0) AS PriorYearSales
    FROM Sales2015 t1
    FULL JOIN Sales2014 t2
    On t2.Company = t1.Company
    2.
    SELECT Company,
    MAX(CASE WHEN YearVal = 2015 THEN Sales ELSE 0 END) AS CurrentYearSales,
    MAX(CASE WHEN YearVal = 2014 THEN Sales ELSE 0 END) AS PriorYearSales
    FROM
    SELECT Company,Sales2015 AS Sales,2015 AS YearVal
    FROM Sales2015
    UNION ALL
    SELECT Company,Sales2014 AS Sales,2014
    FROM Sales2014
    )t
    GROUP BY Company
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Split Column group heading to next row based on row group

    Hii all 
    I am developing a matrix by grouped departments on row and schemes are in columns
    but scheme group goes to end .. its not meeting my requirement 
    as per above image my report should looks like. 
    but report looks like below ..
    Dilip Patil..

    Hi Dilip Patil,
    According to your description, you want to create a matrix which display schemes of departments. Now you can't make the matrix looks like the first image above. Right?
    In this scenario, you should have a data field in your dataset which is for the schemes to group on. Otherwise the matrix can't dynamically generate those schemes into on row. If you don't have a column in your database to group the schemes,we suggest you
    use table the render your data and put the schemes into detail rows. We have tested in our local environment. Here are steps and screeenshots for your reference:
    1. We add a column(named Scheme) in database to define scheme group for schemes.
    2. Put Dept into row group and set it group on Govt. The design looks like below:
    3. Save and preview. It looks like below:
    Reference: 
    Exporting Reports (Report Builder and SSRS)
    Matrices (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Simon Hou

  • OrgChart 3.0 SP1 - Sub Category Groups configuration?

    According to the Admin Guide the Sub Category Groups configuration in Admin Console would allow me to group similar records within the same org chart box.  I assume the Sub Category Filter will define the criteria for sorting the records but there is no description / example/ guidance on what the syntax should be for this field. 2 different results I would like to achieve are:
    (1)  to list names of multiple incumbents for one position in a box, rather than simply showing the phrase "multiple incumbents".
    (2) to hide the whole group of multiple incumbents for a position, based on the Employee Group.
    Any assistance appreciated.
    Thanks,
    Clementine

    Hi Clementine,
    I would suggest that you apply a filter to the data element. You can do this in the AdminConsole via OrgChart > Positions > Data Connection (that is "Positions" directly under "Organization Structure"). Add a filter, such as:
    where EmpGrp != '9'
    You can also do this for the Employees hierarchy too ( OrgChart > Employees > Data Connection ).
    Please note that the field for exclusion must be a hierarchy field, i.e. it must exst in the list of Fields under OrgChart > Positions > Fields. You may have to change the data element configuration file in order to achieve this.
    Best regards,
    Luke

Maybe you are looking for