Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Excel Pivot Table Template with varying ranges

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Excel Pivot Table Template with varying ranges
 Login/Join
 
Platinum Member
posted
Hey all, I've scoured the forum and can't locate a solution.

I've created an Excel template that contains a pivot table. When creating the template I ran the query and dropped the data into an Excel file (145k rows). I then created the pivot table and saved it as a template. Before loading the template to the server I highlighted the data rows and deleted the data leaving only the headers on one worksheet and empty pivot table on the other. I then uploaded the template.

The template works fine if I have 145k rows; however, if I deviate from that number then I have blanks present when the number falls below 145k OR I don't capture the data in the pivot table for the rows that exceed the 145k.

Is there a way for my pivot table template to adjust to the number of rows created when I run my fex?

Thanks for any info you can offer.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 116 | Location: Birmingham, Al | Registered: July 23, 2015Report This Post
Master
posted Hide Post
Pondod, you ask "Is there a way"

Sure there is, you need a macro enabled template. You'll use the macro to build your pivot table. In the macro, you can get the number of rows and column in your data.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Platinum Member
posted Hide Post
jgelona,

I know we saved it as an .xltm file before loading it, however, since I didn't create the pivot table I'm not sure if it's macro induced or not. I know we set the option to Refresh when opened. I'll check it out. Thanks for the direction.

Tony


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 116 | Location: Birmingham, Al | Registered: July 23, 2015Report This Post
Platinum Member
posted Hide Post
Resolved:

1. Make sure your worksheet is exactly how you want it in the template BEFORE saving it as a template
2. In your pivot table options remember to set the PivotTable Options/Data/"Refresh data when opening the file" checkbox.
3. If your range is dynamic remember to use the command:
  =OFFSET(Sheet!$A$1,0,0(COUNTA(Sheet!$A:$A)),column#)  

4. In your fex include the following lines at the beginning:
SET EXCELSERVURL=''
-RUN  


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 116 | Location: Birmingham, Al | Registered: July 23, 2015Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Excel Pivot Table Template with varying ranges

Copyright © 1996-2020 Information Builders