XL97: PivotTable Report Unavailable with Parameter Query

Last reviewed: January 15, 1998
Article ID: Q161540
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

If you are returning data to Microsoft Excel from an external data source, PivotTable Report may be dimmed in the "Returning External Data to Microsoft Excel" dialog box.

CAUSE

This behavior occurs when you return data that is based on a parameter query.

RESOLUTION

If you want to create a PivotTable report from external data, do not use a parameter query.

STATUS

This behavior is by design of Microsoft Excel.

MORE INFORMATION

A parameter query is a type of query that, when run, prompts you for criteria that is used for the result set. For example, a query that returns information about employee salaries may use a parameter for the employee's name. Based on the name you provide, a different result set is returned.

To create a parameter query, in the Microsoft Query Criteria pane, type a text string that is surrounded by square brackets [] in the Value field for the field to which you want to apply the parameter.

NOTE: Do not type the exact name of the field inside the square brackets.

A parameter (the text you type inside the square brackets) can be up to 255 characters and may contain any characters other than control characters or square brackets. You can use a parameter in expressions, and you can use more than one parameter in a single expression. For example, you can type the following parameter in the Date field:

   >=[Start Date] AND <=[End Date]

REFERENCES

For more information about parameter queries, click the Index tab in Microsoft Excel Help, type the following text

   parameter queries

and then double-click the selected text to go to the "Create a query that prompts for criteria" topic.


Additional query words: 97 grey greyed dimmed
Keywords : xlpivot xlquery kbtool kbualink97
Version : WINDOWS:97
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 15, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.