Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GROUPBY missing form Excel Labs/AFE? #28

Closed
0scarius opened this issue May 8, 2024 · 9 comments
Closed

GROUPBY missing form Excel Labs/AFE? #28

0scarius opened this issue May 8, 2024 · 9 comments

Comments

@0scarius
Copy link

0scarius commented May 8, 2024

Today was trying to refactor the multiple usage of a dynamic array formula using GROUPBY() into a dynamic function in the Excel Labs/AFE environment. However, the parser does not seem to recognize the GROUPBY statement. Is this not yet implemented in AFE?
image

@NWilson
Copy link

NWilson commented May 13, 2024

@0scarius Thank you for reporting this. These functions are not yet implemented in AFE, which has not had a release since the announcement of these functions.

We do not have any timeline for adding support for these functions to the AFE debugger; however we will provide correct syntax highlighting for these in a future release of AFE.

@0scarius
Copy link
Author

Hi Nicholas,

Thanks for the reply. Addition to the debugger would not be my priority However, adding the functions to the AFE with correct syntax highlighting would be highly appreciated, as at this point, the syntax highlighter marks these functions as errors in my modules, meaning I can't save the code in that form. As a result, I have to build the code outside the AFE, which I find not desirable. Hoping for an expedient fix.

@NWilson
Copy link

NWilson commented May 17, 2024

@0scarius We will do a release shortly with this fix. However, I wouldn't expect that the (incorrect) red squiggly underline prevents saving correctly.

I have just typed in your formula from the screenshot above, into the Modules tab, using the current release version of AFE in the store. It saves correctly.

I did have to guess what the characters were under the "Unknown identifier" popup. It looks like you have a LET variable called "source" and a LAMBDA variable called "source", which looks suspicious.

@NWilson
Copy link

NWilson commented May 21, 2024

The fix has been released.

I would welcome further details though @0scarius if you do have a formula which is valid, but can't be saved by Excel Labs (even with red squigglies, which are purely visual and don't block saving).

@NWilson NWilson closed this as completed May 21, 2024
@0scarius
Copy link
Author

0scarius commented May 21, 2024 via email

@0scarius
Copy link
Author

0scarius commented May 21, 2024 via email

@NWilson
Copy link

NWilson commented May 21, 2024

Thanks for the heads up. I currently have v1.3, although I see that v1.4 is already available and I already ma on the bet-channel. I have tried to uninstall v1.3 and then re-install from the add-in store, but then 1.3 installs again. How can I get ahold of this new release?

@0scarius That's an unusual problem, the latest update is normally available to everyone immediately, independent of Excel's own release channel.

I'm sorry this has been a problem for you.

Two thoughts:

  • Test for version 1.4 in a fresh workbook
  • Try clearing the web add-ins cache. This is bit complicated... File → Options → Trust Center (bottom left) → Trust Center Settings, then in the new dialog, Trusted Add-in catalogs → "Next time Office starts, clear all previously-started web add-ins cache". This is documented (a little bit) here

@0scarius
Copy link
Author

0scarius commented May 22, 2024 via email

@NWilson
Copy link

NWilson commented May 22, 2024

@0scarius

Oh dear, I'm sorry it is still isn't working. I'm really guessing now, I don't have a strong idea.

You can remove and re-add an add-in using this Excel dialog:

image

Secondly, we can verify which version of the Store manifest your version of Excel is using.

If you right-click on the Excel Labs taskpane, you should be able to select the "Inspect" option

image

In the titlebar of the Inspect window, you'll see the URL that's being loaded:

image

The current add-in's URL is https://advancedformulaenvironment.officeapps.live.com/taskpane.03.html.

If we see the same URL in your version of Excel, then we have an issue with a stale cache for the taskpane resources. If we see a different URL in your version of Excel, then we have an issue with a stale cache (or older version) of the Office Store app manifest. This experiment could narrow down the cause of the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants