Reporting Services: Tablix RepeatColumnHeaders doesn't work on some reports

前端 未结 7 1869
伪装坚强ぢ
伪装坚强ぢ 2021-01-30 12:59

So I\'ve got various reports that consist of a DataSet rendered in a Tablix... pretty garden variety stuff. There is a property for the Tablix control named RepeatColumnHead

相关标签:
7条回答
  • 2021-01-30 13:30

    Your post is still being used ;) Thank you all. I built upon what you provided to come up with a solution to restore repeating header rows. I did not have to use the Advanced mode, just some insight... I had two title rows outside all row groups with no column groups. Here is what I did to get the two title rows into the tablix header:

    1. Right click on one title row and "Add Group (Column Group)", Parent Group
    2. Group by '1' (this group will later be deleted so it doesn't matter what you put there
    3. Click OK and the a Header row is added.
    4. Merge all columns in the new header row
    5. In the column group pane, right click on group just created and "Delete Group", select box for "group only" important
    6. Now you have header row you can insert row above or below to add more header lines.
    7. Move your title rows into the new header rows and delete your old title rows.
    8. Last... make sure you check the Tablix property to "Repeat Column Headers on each page"

    It worked well and easily repeatable (I had many tablixes).

    Sincerely, Alan

    0 讨论(0)
  • 2021-01-30 13:42

    It's a bit wonky from what I've managed to dig up. In your grouping pane, select advanced mode, then select your outermost static row. You should then see the "RepeatOnNewPage" property.

    Update: finding Advanced Mode:
    The comment by @HCL links to the other answer by @user359904, that has the info on how to find and enter Advanced Mode:

    1. Select the tablix
    2. Below the report are "Row Groups" and "Column Groups", all the way to the right of "Column Groups" is a small downward arrow.
    3. Click the arrow, choose Advanced Mode.
    0 讨论(0)
  • 2021-01-30 13:47

    It's now the year 2014 and I'm running 2012 version and I used your post to solve my problem - one that experienced SSRS developer in our shop didn't know how to solve (I'm just a newbie). Thanks so much for contributing your solution - it seems to be a timeless issue.

    0 讨论(0)
  • 2021-01-30 13:49

    In your reports where the header doesn't repeat, did you delete the default header row in the tablix at any point? Once I did that, no matter what setting I tried, the header in the tablix wouldn't repeat. I had to re-create the tablix to get it to work.

    0 讨论(0)
  • 2021-01-30 13:51

    I found a solution that works for me. Vinny's answer led me to it.

    Thankfully, I didn't have to recreate my tablix. I had three rows that made up my tablix header. I added three rows outside of the highest level group. These rows are not bound to any group. I modified the rows so that they exactly duplicated the header rows I had in my highest level group. I set the KeepWithGroup property to "After" and the "RepeatOnNewPage" property to true for each of these header rows. I tested the report. The header appeared at the top of every page but due to the duplication of the header rows both inside the highest level group and above the highest level group, the header repeated twice at the top of the first page and at every section break. I deleted the header rows in the topmost section and the duplication went away. Headers repeat correctly at the each break of the highest level group and at the top of each page. There are no header rows in the highest level group.

    To set KeepWithGroup and RepeatOnNewPage: Select the tablix. In the group box below the design pane, click on the down arrow to the right of the text that reads "Column Groups" and make sure "Advanced Mode" is checked. Click the first static row and set the KeepWithGroup property to "After" and "RepeatOnNewPage" to true. Do that for each of the rows that comprise your header.

    0 讨论(0)
  • 2021-01-30 13:52

    I am adding some screenshots from my SSRS 2012 server..

    enter image description here

    Now, click on the "(Static)" under "Row Groups" and presss F4.

    enter image description here

    Also read TechNet - SSRS: How to Repeat Headers on Each Page

    0 讨论(0)
提交回复
热议问题