Share via

How to pass parameter dynamically?

Anonymous
2011-04-26T06:44:40+00:00

Hi,

I am using Powerpivot 2010 , a feature in Excel. I am getting a source from SQL query where i am using two parameters in that. I would like to pass the parameter in the Powerpivot table and chart dynamically. say for example i have a monthly table contains some data for that particular month. If i have a parameter say month in the query, I would like to pass that in the Powerpivot table dynamically like how we do in SSRS. Can some one help me in this regard.  Thanks!

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2011-04-26T07:36:45+00:00

You can create a parameterized query using an Excel worksheet cell as in

Query 4 -- A parameterized query to list of customers in a zip code that is specified dynamically

http://www.tushar-mehta.com/excel/newsgroups/rdbms_in_excel/build_query_4.html

I don't know if you can use a PowerPivot grid cell in place of the worksheet cell.

Was this answer helpful?

0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2013-03-16T19:55:49+00:00

    Did it work?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-04-26T15:54:07+00:00

    Thanks for your reply, I ll try this option and let you know whether it works for me..

    Was this answer helpful?

    0 comments No comments