+ Reply to Thread
Results 1 to 5 of 5

Power Query connect to source only once

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Power Query connect to source only once

    Hi Guys,

    i have CSVs which i want to use as source data.

    And it is ok.
    The issue is that i do not want to allow user to refresh data because user wil get error (CSVs are in not accessible server).

    There is possibility to do this somehow? Or build PQ syntax in VBA to join to source data, refresh tables, unjoin?

    Best,
    Jacek

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,321

    Re: Power Query connect to source only once

    You can set a query's properties so that it does not refresh - there are tick boxes. Right-click and edit the properties.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Power Query connect to source only once

    thank you Ali!

    And this means that refresh all button from ribbon will not work also?

    Jacek

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,321

    Re: Power Query connect to source only once

    If you deselect the option to "Refresh this connection on Refresh All", then it will not refresh when you click on Refresh All. Just have a play with the options - test it for yourself.

  5. #5
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Power Query connect to source only once

    thanks!

    Jacek

+ 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. Code to change Power Query source and refresh
    By kersplash in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-23-2021, 07:35 AM
  2. [SOLVED] Power Query - how to keep order of the source table
    By afgi in forum Excel Charting & Pivots
    Replies: 9
    Last Post: 02-26-2020, 02:59 AM
  3. Power Query SQL (Source) run with manual table parameter?
    By Steveapa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2019, 09:03 PM
  4. Power Query: Using a Parameter to specify a source table name.
    By learning new things in forum Excel General
    Replies: 0
    Last Post: 11-06-2018, 04:21 PM
  5. Power Query Source vs Different PCs
    By flpneves in forum Excel General
    Replies: 1
    Last Post: 12-05-2017, 01:07 PM
  6. [SOLVED] Power Query Not loading all Rows from Source File
    By jdriscol in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-21-2017, 04:03 PM
  7. Dropbox Data Host/Source for Power Query
    By mielkew27 in forum Excel General
    Replies: 0
    Last Post: 04-09-2017, 11:49 PM

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