Problem with Page header width when column is hidded

Hi All,
am using SSRS-2008 R2 version.
i had an issue width Page header width when am hiding column. Please find the below screen shoot for reference.
Here , there is an audit parameter which contains a and b values respectively.
If Audit= a then i need to hide the State and City column . So, for that i have written following expression[ =Parameters!Audit.Label="a" ] and its working fine.
But, if see the screen shoot when columns are hiding then some space is coming in that column which is deviating from Page header width.
Is there any option to increase the remaining column width when these 2 columns are hidden or is there any way to reduce the page header width according to report columns width. Can you please guide me any one.
Thanks in advance.
bala krishna

Hi bala,
According to your description, you have a report with a textbox in its page header. You have set some column visibility in tablix based on the parameter selection. Your problem is, when you hide columns, the textbox remains top right in the page header.
Now you want to make it aligned with the tablix. Right?
In Reporting Service, we can’t reduce the page header width or increase those remaining columns width based on the parameter selection (or columns visibility). And we can’t keep the tablix always top right because we only have top and left to determine the
location of a tablix/textbox. For your requirement, it doesn’t have a complete solution to achieve either of your two options. However, we find a workaround for you. In this scenario, we can use two textboxes in page header. Put one in top right. Put the other
textbox at an appropriate position when columns are hidden. Then put conditional expression into textbox for text displaying based on parameter selection.
Ps: We don’t set the visibility of textbox because the space of textbox will be removed if it’s hidden, that may make one textbox float moving when the other is hidden.
We have tested this case with sample data in our local environment. Here are steps and screenshots for you reference:
1. In our sample report, we set Amt1 column hidden when selecting “a” in parameter. Put expression into textbox.
A: =IIF(Parameters!ReportParameter1.Value="a","header info","")
B: =IIF(Parameters!ReportParameter1.Value="b","header info","")
2. Save and preview. It looks like below:
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
  

Similar Messages

  • Problem with Excel user form when trying to hide the excel workbook

    My excel application has a userform which contains combo box and list box
    I am using the below code to make my excel file invisible when its open (i.e it directly shows the userform)
    Workbooks("Budget.xlsm").Windows(1).Visible = False
    for my excel file....But the problem now is that
    My values for combo box are in the Budget.xlsm file and since the
    Workbooks("Budget.xlsm").Windows(1).Visible = False
    is now invisible ...the combo box have no values in it.... Also I have some List boxes in my userforms which are linked to some range in the excel file even they are blank
    The values selected in the userform are also send back to the same excel file (Budget.xlsm)
    Could you please help me with this
    Regards, Hitesh

    Hi Hitesh,
    How do you specify combo box items value? Do you mean the items of combo box will be cleared when the workbook hidden?
    Base on my test, the combo box’s items won’t be clear when the workbook hidden.
    Simple code:
    Private Sub CommandButton1_Click()
    Workbooks("MyExcel3.xlsm").Windows(1).Visible = False
    End Sub
    Private Sub CommandButton2_Click()
    Workbooks("MyExcel3.xlsm").Windows(1).Visible = True
    End Sub
    Private Sub CommandButton3_Click()
    ComboBox1.List = Worksheets("Sheet3").Range("D1:D4").Value
    End Sub
    Please provide the detail information of your issue.
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server wher

    I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server where the PDFs open fine) I get an error 'There was an error processing a page. Invalid function resource' The other one just doesn't open at all. Can anyone help with this please?

    Hello,
    Are the pdf linked correctly in the website? Is this a public website? If yes, please post the link here.
    ~Deepak

  • Hello I have encounted a problem with Photoshop. Normally when you start a new documant, you are given the options to have A4, A3, ect page set ups. These inbuilt page set ups seem to have disapeared, does anyone please know how to fix this? Many thanks

    Hello I have encounted a problem with Photoshop. Normally when you start a new documant, you are given the options to have A4, A3, ect page set ups. These inbuilt page set ups seem to have disapeared, does anyone please know how to fix this? Many thanks Ben  [email protected]

    Hello Trevor
    Thanks for your message. You can custom set pages but there are no preset of page sizes like A4, A3, ect. I cannot click the size preference, nothing comes up
    Ben

  • Export problems with pages/ save as word document results in corrupted text

    This may be a new problem with Pages as I have not seen this happen with previous versions but, when I export a page made with a template, it ends up with merge problems - headers end up at the foot and invisible text regarding merge showing. When saved, a error box opens saying that merge fields are not save or similar, and I end up with a non friendly .doc file.

    morayshire wrote:
    This may be a new problem with Pages as I have not seen this happen with previous versions but, when I export a page made with a template, it ends up with merge problems - headers end up at the foot and invisible text regarding merge showing. When saved, a error box opens saying that merge fields are not save or similar, and I end up with a non friendly .doc file.
    Here are alert messages related to 'Word Exporter'
    /* Word Exporter */
    "Cells with unsupported number formatting were exported as text." = "Les cellules comportant un format numérique non pris en charge ont été exportées sous forme de texte.";
    /* Word Exporter */
    "Change tracking isn\\U2019t supported for cell image fills. Original cell image fills were removed." = "Le suivi des modifications n’est pas pris en charge dans les remplissages de cellule par image. Les remplissages de cellule par image d’origine ont été supprimés.";
    /* Word Exporter */
    "Change tracking isn\\U2019t supported for cell image fills. Tracked changes for cell image fills were accepted." = "Le suivi des modifications n’est pas pris en charge pour les remplissages de cellules par image. Les modifications effectuées pour ces remplissages ont été acceptées.";
    /* Word Exporter */
    "Change tracking on floating objects isn\\U2019t supported. Tracked changes were accepted." = "Le suivi des modifications sur les objets flottants n’est pas pris en charge. Les modifications ont été acceptées.";
    /* Word Exporter */
    "Comments on anything other than body text and inline objects aren\\U2019t supported and were removed." = "Les commentaires sur un autre élément que le corps de texte et les objets incorporés ne sont pas pris en charge et ont été supprimés.";
    /* Word Exporter */
    "Durations formatting isn\\U2019t supported and was exported as text." = "Le formatage des durées n’est pas pris en charge et a été exporté sous forme de texte.";
    /* Word Exporter */
    "Footer rows aren\\U2019t supported and were converted to regular rows." = "Les rangs de bas de tableau ne sont pas pris en charge et ont été convertis en rangs standard.";
    /* Word Exporter */
    "Formulas referencing cells with custom number formats aren\\U2019t supported and were replaced by the last calculated value." = "Les formules faisant référence à des cellules comportant des formats numériques personnalisés ne sont pas prises en charge et ont été remplacées par la dernière valeur calculée.";
    /* Word Exporter */
    "Formulas referencing durations aren\\U2019t supported and were replaced by the last calculated value." = "Les formules faisant référence à des durées ne sont pas prises en charge et ont été remplacées par la dernière valeur calculée.";
    /* Word Exporter */
    "Hidden footer content was removed." = "Le contenu du pied de page masqué a été supprimé.";
    /* Word Exporter */
    "Hidden header content was removed." = "Le contenu de l’en-tête masqué a été supprimé.";
    /* Word Exporter */
    "Hidden rows and columns were removed." = "Les colonnes ou rangs masqués ont été supprimés.";
    /* Word Exporter */
    "Japanese footnote or endnote numbering isn\\U2019t an exact match." = "La numérotation japonaise de note de bas de page ou de fin ne concorde pas exactement.";
    /* Word Exporter */
    "Links to external Pages documents aren\\U2019t supported and were removed." = "Les liens vers les documents Pages externes ne sont pas pris en charge et ont été supprimés.";
    _/* Word Exorter */_
    _"Merge fields were exported as regular text, not as merge fields." = "Les champs de fusion ont été exportés comme texte standard et non comme champs de fusion.";_
    /* Word Exporter */
    "One or more formulas aren\\U2019t supported in the chosen file format and were removed. The last calculated value was retained." = "Une ou plusieurs formules ne sont pas prises en charge dans le format de fichier sélectionné et ont été supprimées. La dernière valeur calculée a été retenue.";
    /* Word Exporter */
    "Some paragraph border rules couldn\\U2019t be exported." = "Certaines règles de bordures de paragraphe n’ont pas pu être exportées.";
    /* Word Exporter */
    "Table cell comments can\\U2019t be exported if there are any comments attached to the entire table. The table comments were exported, but cell comments were removed." = "Les commentaires de cellules de tableau ne peuvent pas être exportés si des commentaires sont associés au tableau entier. Les commentaires de tableaux ont été exportés mais ceux de cellules ont été supprimés.";
    /* Word Exporter */
    "Table cell fills other than solid colors aren\\U2019t supported and were removed." = "Les remplissages de cellules de tableau autres que par des couleurs unies ne sont pas pris en charge et ont été supprimés.";
    /* Word Exporter */
    "Table image fills aren\\U2019t supported and were removed." = "Les remplissages de tableau par image ne sont pas pris en charge et ont été supprimés.";
    /* Word Exporter */
    "Tables with more than 63 columns aren\\U2019t supported. Columns 64 and highger were removed." = "Les tableaux comportant plus de 63 colonnes ne sont pas pris en charge. Les colonnes 64 et au-delà ont été supprimées.";
    /* Word Exporter */
    "The page layout document was exported as a word processing document." = "Le document de mise en page a été exporté comme document de traitement de texte.";
    *_This gives us a simple way to convert a Page Layout document into a Word Processor one. Export it to Word, import the .doc file._*
    /* Word Exporter */
    "WECannotMapNumberFormat" = "Le format numérique non pris en charge a été remplacé par le format numérique par défaut (1, 2, 3…).";
    Yvan KOENIG (Vallauris, FRANCE vendredi 7 août 2009 21:18:06)

  • Problems with Pages 5 docs converting to Word docs

    It seems with the new upgrade on my MacBook Air, I have a glitch. Now when I convert a Pages doc to Word, the page breaks get removed and the doc turns into a sea. Also, I sent this new Word doc to my Kindle to upload into ebook form (never had a problem with Pages 09 previously, always came out beautifully) and now the doc turns into a digitally mangled mess. Any ideas?? Thank you.

    Usually when it does that it is because there is an XML table somewhere buried in there and either the table width or margin indents are forcing the text far left.
    Hard to pin down the problem with being able to examine the actual file contents.
    …and Pages 5 is buggy.
    So why don't you just use Pages '09? It works.
    Peter

  • Problem with Pages on the iPad 2.

    Hi all,
    I have been having a strange problem with Pages on the iPad that I hope someone can find a solution for.
    As a writer, I find that Pages on the iPad is a very good solution to my problem of needing something small and light to transport around, whilst still allowing me to do some serious writing.  I use the Apple 3 battery bluetooth keyboard, and this gives me a superb working solution.
    I started using the iPad 2 to do my second book and for the first 40,000 words everything was fine.  But as I started going back and forth with the cursor keys, editing passages in the book, I noticed that the cursor position did not match up with the I beam cursor on screen.  As it transitioned between pages it would loose it's corresponding position and the entry point for new text could be up to six characters in either direction.
    Now this is not a problem if you enter a new page, as there is nothing beyond it, but in the majority of cases it is a major problem when going back over your work and editing it.  I have to manually reset the start position of every new page so as to garantee the typing will go where I want it to.
    Now I thought at first this was something to do with Bluetooth keyboard, but after using the onscreen keyboard and the find and replace function, I have noticed that it loses it's position in the document in a similar way.  I have included a screen shot of it finding a problem I was searching for.  In this case it is ", and" to be replaced with "and," or "and".  Clearly in the image you can see that it is not happy and is not selecting the right things, if I replace it will replace exactly what is selected.
    Has anyone else seen this problem.  It seems to happen with large or small documents and I think that this is a fundamental problem with Pages on the iPad.  Seeing as I can't get Apple to acknowledge this I brought it here for everyone else to check out.  If we get enough voices on this, then we can make change happen.

    That's right Br Abdullah, I'm finding the same problem with my itune Arabic library that I synced to iBooks version 1.5! As you say the pages are not arranged correctly.
    The other problem that I'm finding is that the highlights & notes that i have made on the books on a previous version of ibooks, when synced with ibooks version 1.5, they are scattered everywhere, and sometimes in areas where there are no texts.
    I left a message on the report a bug section of iBooks on the app store, and I contacted them on their feedback of apple product issues. I don't know what else we can do. It seems that no one is listening to us. I'm Dissapointed that I upgraded my iBooks version to 1.5; I was really looking forward to reading on my new iPhone 4S (on iBooks)!
    What else can we do to get our concerns heared? Somebody? Anybody?

  • Problem with page numbering in Acrobat XI Pro

    Hello community,
    I got a problem with page numbering with certain documents in Acrobat XI Pro.
    The next error comes up:
    Translated in English:
    There is an error occured when getting up of page-content.
    This is occured with certain pdf-documents (i cannot uploading this file).
    Is someone have similar problem, or has someone hev a sollution for this?
    Greetings,
    Bart

    This usually means the file is corrupt, probably because it was not created
    using a standard application like Adobe Acrobat.

  • Hi, i have problem with my apple id when i want purchase app even free one, asked me for complete my card informations... but i don't want to use debit card because already i have gift card and charge it in my id... please help

    hi, i have problem with my apple id when i want purchase app even free one, asked me for complete my card informations... but i don't want to use debit card because already i have gift card and charge it in my id... please help me.
    when i unchek the card information it was show me an error!

    Though you are being asked for card details it doesn't necessarily mean that the card will be charged for the purchase (unless you want to gift content). Have you tried entering your card's details to confirm the account ? You should then be able to remove it.
    From http://support.apple.com/kb/HT5582 :
    When making purchases, content credits are used first, followed by Gift Certificate, iTunes Card, or Allowance Account credits; your credit card or PayPal account is then charged for any remaining balance
    Is it a new account ? If it is then unless a new account is created by following the instructions on this page (the instructions won't work with existing accounts) : http://support.apple.com/kb/HT2534
    then you will need to enter card details (debit cards are no longer accepted in all countries) before the account can be used to download any item from the store.

  • İ have a problem with my itunes accounts.when i want to buy in-app features i got an error

    İ have a problem with my itunes accounts.when i want to buy in-app features i got an error that;
    "Please comtact with itunnes support for completing this process"
    İ checked my device settings and tried my account with another ios device but result not changed.i still get same error.my credit card address info and my account address info same with each other.i tried my other credit cards but i got same error.
    Please check my account details for solving this issue.
    My account details :
    email: [email protected]

    These are user-to-user forums, you are not talking to Apple here.
    You can contact iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, the try selecting Purchases, Billing & Redemption

  • Problem with page preview : transodification of  ':' and '/'

    Hello
    we got a problem with page and iview preview on production system (7.01).
    The preview fail with a simple message "Erreur d'exécution portail / Exception lors du traitement de la requête, envoyez l'ID de l'exception à votre administrateur du portail" ("Portal execution error / exception during request treatment, send exception Id to your portal administrator").
    The user possess full admin role, as weel as autorisations onto the page. He can use the page when it's in the menu, but visualizing the page via preview fail.
    after comparing the preview URL from production system against the preview URL from development, we spotted a difference :
    on the dev portal, the URL is
    http://portal:port/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fcom.company.directory.SpecificApp!2fcom.company.directory.LeaveRequest!2fcom.company.directory.Employee!2fcom.company.page.MyRequests?sap-config-mode=true
    on the production portal, the preview URL is
    https://portal/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!253aportal_content!252fcom.company.directory.SpecificApp$!252fcom.company.directory.LeaveRequest!252fcom.company.directory.Employee!252fcom.company.page.MyRequests?sap-config-mode=true
    As you can see, the ":" are transcoded into !3a on dev, and !253a on prod (and the "/" are respectively transcoded into !2f and !252f)
    the other difference is the use of an alias (http://portalprod/irj against http://portal:port/irj), and the use of a secured connexion (https).
    does someone know where this problem could come from ?
    regards,
    Guillaume

    Hi Guillaume,
    Could it be possible that there would be a SAP Web Dispatcher on the Production Portal and not on the dev portal.
    You should use a tool like HTTPWATCH to see if you get HTTP redirects.
    Regards,
    Olivier

  • Satellite L30: Vista problems with pages minimising

    Hi,
    i have just bought the toshiba Satellite L30 laptop and i am am having problems with pages minimising whenever i click on the page. Most of the time this happens when i click on the scroll bar, but it also happens when i click on any part of the page and when im typing.
    It's getting very annoying. I have only had this laptop for about 2 weeks and the problem has been there since day one. Im runing Windows vista home basic.
    Does anyone know the cause and/or how to sort it out?

    Hi there,
    be more precisely with your error description, because its hard for anyone whos reading this to find out some problems without knowing which "pages" do you mean. What a kind of program do you use?? Word, Internet Explorer or what???
    Please, do us and yourself a favor and tell the problem with more details, that we can maybe help you. Or at least make some thoughts about your problem. :)
    Greetings ;)

  • When I turn my computer on I receive a message that Apple wants to make a change to the hardware. I click on yes but nothing happens. I think this has something to do with Apple "push". I had a problem with this in iTunes when I tried to sync my iPod Touc

    When I turn my computer on (Windows 7) I receive a message that Apple wants to make a change to the hardware. I click on yes but nothing happens. The change has something to do with Apple "push". I recently had a problem with"push" on iTunes when I tried to sync my iPod Touch. I have latest software for iTunes and iPod. Can anyone tell me what to do to get this change to install?

    ptford wrote:
    When I turn my computer on (Windows 7) I receive a message that Apple wants to make a change to the hardware
    Since hardware cannot be changed with software, perhaps you would be so kind as to post the exact wording of the message?

  • I have some problem with my computer because when i turn it up, the screen turns in a blue colour and the sound doesn't work and in this way i can't hear anything

    i have some problem with my computer because when i turn it up, the screen turns in a blue colour and the sound doesn't work and in this way i can't hear anything

    Will u help me or not?

  • I have Windows 7 and just recently experienced a problem with itunes freezing up when I clicked on the "apps" tab.  Everything else seems to work okay in itunes.  I have uninstalled it and reloaded it 4 or 5 times, but still freezes up.

    I have Windows 7 and just recently experienced a problem with itunes freezing up when I clicked on the "apps" tab which shows the apps that are loaded on my phone.  Everything else in the itunes software seems to be working okay.  The problem is in the part where you sync the newly purchased apps.  The apps will all be blank that are downloaded and that part of the software crashes itunes or freezes up.  I can get out of itunes okay after the freeze up, but it just stops me from syncing anything that I have newly added.  If anyone has had this problem before or knows someone that has, please let me know how I can fix it.  I have uninstalled and reloaded itunes 4 or 5 times, but the problem is still there.  I might add that I have been using itunes and purchasing apps for 2 to 3 years without any problems.  HELP.

    You would get better response from the iTunes community forum.
    Have a nice day!

Maybe you are looking for