Hi Sam – thanks for writing. One of the great features (/s) of Excel is its limitation on characters in a formula.
By default, the add-in calculates that 255 character limit, splits it with a “,” (or more, as needed) at that point and wraps the query in CONCATENATE(). If you look at your query you can see this (the “,” is right after the field ‘period.fiscal-period’.
If you edit the query in the cell, you’ll need to move the “,” that is splitting the query to accommodate your changes, although it doesn’t need to be exactly at the 255 character mark … just so that it splits before that.
A better approach might be using one cell for the query, and a separate cell for the formula that displays the results: =XBRL.showData(A1, “”, “”, “1”) would work for the following query if it was in cell A1 –
https://api.xbrl.us/api/v1/fact/search?entity.cik=0001799332&period.fiscal-year=2021,2020&period.fiscal-period=1Q,2Q,3QCUM,Y&concept.local-name=NetCashProvidedByUsedInOperatingActivities&fact.has-dimensions=false&fields=concept.local-name,fact.value,period.fiscal-period,period.fiscal-year,fact.limit(),fact.offset()
If you’re building queries in the task pane, you can use the radio button for ‘query’ just above the Get button – it won’t be concatenated.
FYI, there are no 2Q values in that query, according to the results – let me know if this is incorrect compared with EDGAR and I’ll be sure we research and resolve.