I have a pretty big spotfire page (or "dashboard"). I have been asked to now include it as a page into another spotfire document. Do I have to re-do everything or is there a way to copy paste pages across spotfire files (all files involved have the same underlying data/variables)
Since your data sets are the same, you can simply right click on your page's tab (or any single visualization) and select Copy Active Page / Visualization, then use Edit > Paste on your new DXP to paste it in. Be sure to manage marking and Filter Scheme conflicts accordingly.
Related
I have requirement in my project to copy a table from web page to excel. Here the table appears on web page only when we mouse overs a word.
How can I copy the specific table required to an excel using VBA. Is it possible to copy from source code?
You mean the table is not visible unless the mouse hovers a specific part of the page? Then yes, you should be able to use VBA to extract it from the page's source, as it is most probably embedded in it. You can verify it by Inspecting that text or looking at the source.
We have a report which contains 6 pages (I have used page breaks). Each page has few sub-reports and few charts. We are exporting it as Excel.
When we are trying to print one sheet the page is breaking into multiple pages dividing the sub-reports and charts in middle. Is there some best way or thumb rule to follow in order to make reports print friendly.
On the Ribbon (I have Excel 2007) go to View tab, then select Page Break Preview and drag page borders as you desire. These settings are saved together with the workbook, so on the next reopen page breaks will remain as set.
Finally found the answer.
Posting here in case somebody is struck with same issue
Need to set these properties in report
net.sf.jasperreports.export.xls.fit.width =1 and
net.sf.jasperreports.export.xls.fit.height=1.
Thanks
I have two tables in my ssrs report, I want to export those two tables in single sheet of excel but with page break so that if I do print preview, two different tables should be displyed in two different pages, even if first page has enough space to display the second table. How can I achieve this?
Alas, this is not possible with the default renderers. Either there is a page break between the two tables, or there isn't, the report itself has no knowledge of how it will be rendered. Excel will always generate a new tab for a page break, afaik.
See the corresponding msdn documentation for more info on (amongst other things) page breaks.
If your two data sets have the same structure, you might be able to accomplish this by doing a union of both queries. Just add a column to identify each data set, then page-break on the new column.
Yes. You can make it. Select the table you set pagebreak. Then press F4 to see its properties. Then you can find "Disabled" under PageBreak tag. Use expression:
=Iif(Globals!RenderFormat.Name = "EXCELOPENXML" Or Globals!RenderFormat.Name = "EXCEL", True, False)
Then export it in Excel and it won't be separated into 2 pages.
I am using TableLayout, and when I am placing a button, I want to specify which column the button should be placed in. For example, column 4. The dirty way to go around this is to place 3 empty views before I place the button.
But, is there a better way? I was told to use android:layout_column="4" in the code, but it made the application crash.
The solution that I found is by using the view its basically an empty view that just takes up space in the view its placed in. Alternatively a can be used, will be able to do what I wanted to do before BUT unfortunately the columns and rows aren't distributed evenly or automatically which is a drawback.
I have a column, B, that is calculated based on another column, A. At the top of the list, I'd like to display the sum of B. When I look in the Totals section in the Create/Modify a Column screen, I only see column A (actually, I only see all the non-calculated columns), so I can't choose to sum column B.
Is there a way to display a total for column B?
I found something that feels like a hack, but it works:
Using a web browser, edit your
desired list to use “Totals” on at
least one column in your list.
Open
your desired SharePoint site in
SharePoint Designer.
In the Folder
List view, find your desired list in
the Lists folder.
Open
AllItems.aspx (or whatever view you
want to edit).
In the Web Parts
inspector, Web Parts tab, click the
"Username Gallery" and the Web Part
List below that will display a list
that includes a Content Editor Web
Part (CEWP).
Drag the CEWP into the
AllItems.aspx (or whatever) view you
have open.
Save the aspx file.
Go
to this JQuery web page and copy
whichever script you're interested
in to the clipboard.
Go to your
SharePoint list using a web browser.
You'll see a line of text there now,
where you put the CEWP: "To add
content, open the tool pane and then
click Rich Text Editor." Click on
the "open the tool pane" link.
Click the Source Editor button on the right.
Paste the
script in the clipboard into the
Source Editor window.
Change the
"var col = 4; //which column to sum"
line so that the column number is
the one you want to sum.
Click the
Save button and then the OK button in
the bottom right.
Voila!
Unfortunately, this solution is very brittle. If you make any changes to the page in SharePoint Designer and save the aspx file again, the script code that you put in the CEWP is lost and you have to re-paste it back in again. To make it less brittle, you can just reference the code in a separate file. To do this, remove the code from the CEWP's Source Editor, save the code as a ".js" file in another SharePoint list (e.g., create a new one called "Resources"), copy the URL of that file, and paste the URL into the text box under "To link to a text file, type a URL".
If you are using a SharePoint data view you can display the count of a column using XSL
< xsl:value-of select="sum(/dsQueryResponse/Rows/Row/#ColumnName)" />
In your case the code will have Column B eg:
< xsl:value-of select="sum(/dsQueryResponse/Rows/Row/#column B)" />