Solved

Excel Power Query Allow User to Input any Number on Parameter

Posted on 2016-11-16
2
61 Views
Last Modified: 2016-11-17
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
Comment
Question by:Michael Graham
2 Comments
 
LVL 65

Accepted Solution

by:
Jim Horn earned 500 total points
ID: 41891647
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
 

Author Closing Comment

by:Michael Graham
ID: 41892266
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question