Solved

Excel Power Query Allow User to Input any Number on Parameter

Posted on 2016-11-16
2
53 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

831 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