I have a tablix that has data for one day, and I need to have the same data at the bottom but in 3 different lines. I'd like to copy the main day table 3 times at the bottom, and then use different datasets for each one.
I tried copying the tablix and pasting it into the Body
beneath the tablix, but I get the following error:
Report Builder was unable to paste successfully.
How can I accomplish the copy and paste? Or if that isn't possible, is there another way to do what I am trying to accomplish?
Here's an animated screenshot:
You are likely getting the error message Report Builder was unable to paste successfully
because somewhere in the grid there is a cell that uses Custom Code From the Report
i.e. you cannot copy a textbox with this custom code: “Code.MyCustomeCode()”
- Report Builder was unable to paste successfully
This has been a reported bug since SSRS 2008:
When using Visual Studio 2008 to create new reports, we cannot copy and paste multiple textboxes in a tablix, and receive a popup error stating "Report Builder was unable to paste successfully"
- Unable to copy and paste textboxes in SSRS reports with Custom Code after 2008 R2 SP2 upgrade
Workaround:
Code.
blocks. Ctrl + F your way through the document looking for Code.
. The goal is to preserve the code in some way, while temporarily commenting out the line. Depending on your actual code, this might be different, but I here's what I like to do:
=Code.
='Code.
='Code.
=Code.
You should be all set!
Note: You cannot just copy the
<tablix>
block in the XML view after step 1 because it will create elements with the same exactname
property
Alternatively, you can just add a comment AFTER your code like so:
'custom code comment
Then you can copy and paste it as normal, without having to remove your comment afterwards or comment out your code beforehand.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With