+ Reply to Thread
Results 1 to 1 of 1

How to concatenate cell reference and text in Power Query?

  1. #1
    Registered User
    Join Date
    08-07-2018
    Location
    Florida
    MS-Off Ver
    Microsoft Office 365 Business
    Posts
    2

    Question How to concatenate cell reference and text in Power Query?

    Please bear with me as I'm an excel/power query/VBA noob. I'm setting up a project that requires "relative" links because there will be different layers of users and copies in different locations and the references that I use will have to work no matter where the workbook is located.

    I set up this formula in a worksheet that fetches the current workbook's folder location. The location of the workbooks will vary, but the other workbooks that this workbook references will always be in the same folder as this workbook.

    This "Location Fetch" formula fetches the folder location of the workbooks. It's found in Sheet2 B2:
    Please Login or Register  to view this content.
    I then need to Get Data from the other workbooks by fetching the results of the above and appending the file name of the workbook that I want.

    In Power Query Advanced Editor, I have the following:

    Please Login or Register  to view this content.
    What I need to figure out is what to put in place of "O:\New Timesheet & Daily\Manager Name\Employee John Doe\Approved Hours\Monday.xlsx" in the above. I need to concatenate the location and the workbook name Something like this, but I'm unsure of correct syntax:
    Please Login or Register  to view this content.
    The LocationFetch formula is located in worksheet on the workbook that I'm fetching data to. So I'm unsure how to reference it in Power Query. "Monday" is text I'm trying to append.

    tldr; I need to put the "folder location" results from a worksheet in my workbook into power query and append additional text for a file name.

    Thank you for any and all help!
    Last edited by basispoints; 03-06-2019 at 11:30 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Power Query: Check if Field contains text from list
    By learning new things in forum Excel General
    Replies: 0
    Last Post: 11-07-2018, 03:33 PM
  2. [SOLVED] Power Query: Reading a text or csv file that is publicly available on the Web?
    By learning new things in forum Excel General
    Replies: 6
    Last Post: 10-31-2018, 03:12 PM
  3. Power Query - Replace If Text is Found
    By brent_milne in forum Excel General
    Replies: 1
    Last Post: 10-25-2018, 11:00 AM
  4. Sub-Forum for Excel Power Tools (Power Query, Power Pivot & Power BI)
    By chullan88 in forum Suggestions for Improvement
    Replies: 10
    Last Post: 06-28-2018, 02:25 PM
  5. New to Power Query Need to refence a cell for SQL query
    By BSWhipp in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-10-2018, 09:00 AM
  6. [SOLVED] Power Query / Get & Transform filtering on text
    By SHI.NL in forum Excel General
    Replies: 5
    Last Post: 04-28-2018, 11:50 AM
  7. Use Cell reference inside sql query command text - how?
    By azhanurul in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-29-2012, 05:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1