PQ functions not showing in Connections

macfuller

Active Member
Joined
Apr 30, 2014
Messages
305
Office Version
  1. 365
Platform
  1. Windows
Office 365/Excel 2016 I've started to see odd behavior in functions I add to Power Query. They work OK but are not showing up in ActiveWorkbook.Connections enumerations.

Here is a simple function.

Code:
(PO_Code as text) => 
let
    values = {
    {"BLKT", "Blanket"},
    {"L", "Lease"},
    {"PF", "Physical Facilities"},
    {"RENT", "Rental"},
    {"REP", "Repair"},
    {"SINV", "Summ Invoice"},
    {PO_Code, "Other"}
     },
     Result = List.First(List.Select(values, each _{0}=PO_Code)){1}
in
    Result

This loads and works, but when I hover over it in the Queries and Connections pane it says "The Workbook connection couldn't be created" and I don't have a Load To option under the Edit button. Is this new behavior or (ugh) do I need to uninstall and reinstall Excel?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

nikio8

Board Regular
Joined
Oct 20, 2017
Messages
128
Works fine for me. Did you try close and open ? hehe
Sometimes you need to fully close excel. i had many times one sheet open causing touble
 

macfuller

Active Member
Joined
Apr 30, 2014
Messages
305
Office Version
  1. 365
Platform
  1. Windows
I closed and rebooted several times. On spreadsheets created before this mid-July change the existing functions show a connection, but new ones that I add give the error. And there's no frown to send the message to MSFT!
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,116
Messages
5,768,211
Members
425,459
Latest member
Danniey

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top