• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • Last Modified:

Excel Power Query Allow User to Input any Number on Parameter

I am trying to build a Power Query Parameter in Excel.  I have already pulled my data from a SQL database and selected 4 Columns to Use in that table:

ID| Description| Description_2| Description_3|

An Example of 2 rows would be

123| Advil| Advil 20| MG|
352| Tylenol| Tylenol XR| Caps|


The ID can be thousands of values (numbers only all the same length and type).  The other fields are all text fields.  I want the end user to be able to enter any single ID and get the 4 columns returned to them.

Any help would be greatly appreciated,

Mike
0
Michael Graham
Asked:
Michael Graham
1 Solution
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Give this article a whirl > Microsoft Excel & SQL Server:  Self service BI to give users the data they want

How to hotwire Excel to a SQL Server Stored procedure, with user-selectable combo boxes fed into parameters.   Requires some VBA coding.
0
 
Michael GrahamData AnalystAuthor Commented:
Thank You Jim.  This article really helps and seems to be the only way to accomplish this now.  With the research I have done (because this is a relatively new feature) it seems Microsoft may make it simpler to do this in future releases but for now it is more time consuming.

I hope all is well,

Mike
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Tackle projects and never again get stuck behind a technical roadblock.
Join Now