Hi
In the attached sample, I have power query and I want to pass parameters from Column B and get relevant outpout in Column C. No of rows of data is only example and may increase or decrease
requesting help
Hi
In the attached sample, I have power query and I want to pass parameters from Column B and get relevant outpout in Column C. No of rows of data is only example and may increase or decrease
requesting help
Last edited by grcshekar; 06-04-2025 at 08:22 AM.
It is difficult to see what your "lookup table" looks like without the necessary credentials to access the web data. Assuming I can guess what the web data looks like when it is loaded into PQ, I would guess that a "merge" between the web data and your Excel table should do what you are trying to do. See if this tutorial (which uses two tables in Excel and merges them together) helps with what you are trying to do: https://excelchamps.com/power-query/vlookup/
Originally Posted by shg
This is not what i meant !
The power query has a value MON100
Now in excel I have Column B and Column C
I need parametraise the value MON100 to pass it from B5 and output appears in C5
Similarly I have parameters in B6 and B7 so the parameter should be passed to power query and result of which should appear in C6 and C7
Change your current query into a function - e.g.
and rename it as something like fGetPrice![]()
Please Login or Register to view this content.
then load your ticker data into Power Query and add a calculated column using =fGetPrice([Ticker])
Everyone who confuses correlation and causation ends up dead.
Unable to figure out attached excel
See attached. Everything is coming back as 0 but I don't know if that's an authentication error or something else.
I had overlooked that your original query returned a table so you'd need to alter the last line to make it just return the value you want, using:
![]()
Please Login or Register to view this content.
Hi
This is correct but if I add another row it does not work,
I use the code provided by romperstomper and added a couple of stocks and there are no issues. See the attached.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks