Pular para o conteúdo principal

QubXL — spreadsheets

QubXL is the Qubix Excel-style spreadsheet: bundle economics, per-network and per-wallet bookkeeping, the team's summary calculations — right in the browser, on your server. The key difference from other spreadsheets: real product data goes into the sheet — spend, deposits, campaigns — and refreshes by the same query, with no manual exports.

How to create a spreadsheet​

  1. On the desktop, open the QubXL program in the dock. A window opens with the Criar button and the list of recent spreadsheets.
  2. Click Criar — the spreadsheet lands in the root of your Drive with the "Personal" area and opens right away. The line under the button says O novo arquivo é salvo em «Pessoal» e abre imediatamente. The list under it shows up to eight files of this kind, the most recently edited first; while there are none, it says Ainda não há arquivos deste tipo.

The same way as for documents: the Planilha item in the right-click menu on empty space in a Drive folder. Everything saves itself as you work.

What the spreadsheet can do​

The menu bar: Arquivo, Editar, Ver, Inserir, Formatar and Dados.

File​

What all Drive files share — Novo, Abrir…, Fazer uma cópia, Renomear, Mover…, Excluir and Histórico — is described in The File menu and the header. The spreadsheet adds Importar (.xlsx / .csv)… and the Baixar submenu — see Importing and exporting files.

Edit​

  • Desfazer, Refazer, Recortar, Copiar and Colar. The Colar item pastes what you copied. When the browser gives the page no access to the clipboard and nothing was copied inside the editor, the item pastes nothing and a notice appears instead: Sem acesso à área de transferência. Cole com …. (the dots stand for the shortcut: ⌘V on a Mac, Ctrl+V elsewhere). On a phone-sized window, where shortcuts are not shown, the notice reads No access to the clipboard.
  • Colar especial — Somente valores, Somente formatação, Somente fórmula, Larguras de coluna and Tudo, exceto bordas.
  • Excluir — Linhas and Colunas remove the selected rows or columns; Células, deslocar para a esquerda and Células, deslocar para cima remove the selected cells and close the gap with the cells beside them; Limpar conteúdo leaves the cells and empties them.
  • Localizar and Localizar e substituir.

View​

  • Linhas de grade shows and hides the grid lines.
  • Congelar — Primeira linha, Primeira coluna, Linhas até a atual, Colunas até a atual and Na seleção keep the rows and columns in view while the rest scrolls; Descongelar lifts the freeze.
  • Zoom — 50%, 75%, 90%, 100%, 125%, 150% or 200%.
  • Tela cheia switches the full screen on and off.

Insert​

  • Células — Deslocar para a direita and Deslocar para baixo insert empty cells and move the cells that were there.
  • Linhas — Linha acima and Linha abaixo; Colunas — Coluna à esquerda and Coluna à direita. As many rows or columns are inserted as the selection spans.
  • Planilha adds a sheet; Tabela inteligente, Imagem and Link insert a table, a picture and a link.
  • Caixa de seleção and Lista suspensa turn the selected cells into checkboxes or dropdown lists; Nota adds a note to a cell.
  • Gráfico — see Charts.
  • Função — SUM, AVERAGE, COUNT, MAX and MIN, and Todas as funções… with the full function catalog beside it.

Format​

  • Formato numérico — Porcentagem, Moeda, Aumentar casas decimais, Diminuir casas decimais and Mais formatos…, which opens the number-format panel — see Currency format.
  • Texto — Negrito, Itálico, Sublinhado and Tachado.
  • Alinhamento — Esquerda, Centro and Direita horizontally; Superior, Meio and Inferior vertically.
  • Ajuste de texto — Ajustar, Cortar and Estourar.
  • Rotação de texto — 0°, 45°, −45°, 90° or −90°. Tamanho da fonte — 9, 10, 11, 12, 14, 18, 24 or 36.
  • Mesclar células — Mesclar tudo, Mesclar horizontalmente, Mesclar verticalmente and Desmesclar.
  • Formatação condicional opens the panel of conditional formatting: a new rule for the selection, and when the sheet already has rules, the list of them. Limpar formatação removes the formatting of the selection.

Data​

  • Classificar — Seleção, A → Z, Seleção, Z → A, Estender aos dados adjacentes, A → Z, Estender aos dados adjacentes, Z → A and Classificação personalizada….
  • Filtro turns the filter of the selected range on and off; Limpar filtros drops the conditions you set.
  • Dados do Qubix… and Atualizar dados do Qubix — see Live Qubix data.
  • Proteger planilhas e intervalos opens the panel for protecting sheets and ranges. An edit of a protected range is not saved, and a notice says so: Sua alteração não foi salva: o intervalo está protegido. Somente a pessoa que o protegeu e as pessoas escolhidas por ela podem alterá-lo.
  • Intervalos nomeados and Validação de dados open their panels.

Charts​

The Gráfico item of the Inserir menu opens the Inserir gráfico window. A primeira linha do intervalo contém os rótulos, a primeira coluna é o eixo X. Você pode mover e redimensionar o gráfico diretamente na planilha. In it:

  • Tipo — Barras, Linha or Pizza;
  • Intervalo de dados — filled with the selected cells, for example A1:C10; type another range if you need one;
  • Título (opcional) — the title of the chart.

Inserir puts the chart on the sheet as a card. The header of the card shows its title (Gráfico when none was given) and the buttons Barras, Linha and Pizza, which change the type, and Excluir gráfico. The series are named after the labels in the first row of the range, and Valores where there are none. When the range holds no data, the card says Não há dados no intervalo

Currency format​

Formato numérico → Mais formatos… opens the number-format panel, and under its own settings stands the block Moeda: formato personalizado:

  • Símbolo — ₽, $, €, ¥, £, ₸, ₴, ₺, ฿, ₫, ₹ or zł; any other symbol of up to four characters goes into Símbolo personalizado (the field's hint reads USDT…);
  • Posição do símbolo — Direita or Esquerda of the number;
  • Casas decimais — from 0 to 3;
  • Separador de milhares — Espaço (1 234), Vírgula (1,234) or Nenhum.

Pré-visualização shows the result at once, and Aplicar à seleção sets the format on the selected cells. The number-format list of the toolbar has four ready-made rows with the symbol on the right (1 234.50 ₽, 1 234 ₽, 1,234.50 ₽ and 1,234.50 $) and, under Formatos recentes, the last five formats you applied; that list is kept in this browser.

Live Qubix data​

Qubix numbers get into a spreadsheet as a ready-made report, as the AI Assistant's answer to your question or as the table of your own script (A sheet filled by a script). In every case the sheet remembers where its numbers come from and refreshes in place.

Inserting a ready-made report​

  1. Open "Data" → Dados do Qubix… The assistant panel opens, and the reports appear in it:
    • the conversation is empty — in the middle of the panel, under Dados do Qubix para este documento;
    • a conversation is going — as a card at the end of that conversation; the card stays while the same document is open;
    • the assistant is still printing an answer — only the panel opens; choose the item again once the answer is finished.
  2. Pick a report under Relatórios prontos: Geo, Anúncios, Criativos, Ofertas, Redes de afiliados, Apps PWA or Depósitos. A preview opens in its place.
  3. Choose the period (for screen readers the list is named Período): Hoje, Ontem, Últimas 24 horas, Últimas 48 horas, Últimos 7 dias, Semana anterior, Últimos 30 dias or Mês anterior. The preview shows the first rows of the report and under them the total — Linhas: … (the dots stand for the number); when the period holds no data, it says Não há dados para o período selecionado
  4. Click Inserir na planilha (while it works the button reads Inserindo…). The whole report — every row, not only the ones in the preview — goes into the spreadsheet as a new sheet named after the report, with a database icon on its tab. The column titles are the ones the panel's tables use; money columns get "$" in the title and the money format.

Inserting an assistant's answer​

Ask the assistant about your Qubix data in your own words. An answer that comes with a table or a chart has an Inserir na planilha button: the answer goes into the spreadsheet as a new sheet named after the chart, otherwise Relatório AI, and the button turns into Inserido.

The button is shown while a spreadsheet is open for editing. On the desktop it also shows in the assistant of a window that holds no spreadsheet — then the answer goes into the spreadsheet opened for editing most recently.

Refreshing the numbers​

  • "Data" → Atualizar dados do Qubix refreshes every Qubix sheet of the spreadsheet at once.
  • On a Qubix sheet, the label at the right end of the menu bar names the report and its period (an assistant's sheet — just its name). Its Atualizar esta planilha button refreshes only this sheet.

The period is counted anew at every refresh: "yesterday" from the current day in the time zone of the profile of whoever inserted the sheet, "last 24 hours" from the current moment. An assistant's sheet repeats the same query — if the answer was built by a query to the Qubix data; otherwise the sheet has no refresh.

A refresh leaves the sheet where it is and under the same name and rewrites its report table — the header row and the rows under it, in the report's columns — with fresh numbers. Formulas on other sheets that refer to it count the fresh numbers; the filters over it stay and follow the fresh rows. A chart stays in place and redraws from the cells it was built over — rows the table grows beyond them are not in it. Every cell the table writes keeps a mark: a refresh clears the previous table's cells wherever sorting, moving or deleting cells has taken them, and leaves what you typed in the sheet alone — even right under the table. If the fresh table needs cells that hold your entries, the refresh asks first — Sobrescrever os dados que você inseriu? The window says A tabela "Dados do Qubix" atualizada na planilha "…" se sobrepõe a células com dados inseridos por você: …. Sobrescrever essas células ou deixar a planilha como está? O comando "Desfazer" restaura o conteúdo sobrescrito. (the dots stand for the sheet name and the cells): Sobrescrever writes the table over them, Não atualizar leaves this sheet as it was. A value typed over a cell of the table is overwritten without a question once the fresh table reaches it. One Ctrl+Z undoes the refresh of a sheet as a whole.

On a sheet inserted by an earlier version, the first refresh may ask about values in the report's columns past an empty row under the table (Excluir o que sobrou da tabela anterior? — Abaixo da tabela "Dados do Qubix", depois de uma linha vazia, há valores nas colunas da tabela. Se forem restos da tabela anterior, você pode excluí-los; se forem dados que você mesmo inseriu, mantenha-os. O comando "Desfazer" restaura o conteúdo excluído.): Excluir clears them as leftovers of the previous table, Manter keeps them as your own. After that refresh the sheet carries the marks, and the question does not come back.

Tip

Keep your own calculations on another sheet or to the right of the report table, separated by an empty column: a refresh rewrites the table, and the table can grow down.

Who can do this​

  • The Dados do Qubix… item is shown to those who have both the assistant permission and the right to edit the spreadsheet, and only while a model is connected to Qubix (in Pool interno de AI or APIs de AI externas).
  • Refreshing needs the right to edit; an assistant's sheet needs the assistant permission as well.
  • The numbers are fetched with the rights of whoever inserted the sheet — only what their role may see; once in the sheet they are visible to everyone the file is open to.
  • Such a sheet can be refreshed by whoever inserted it and by those whose role lets them edit that person's scripts: an administrator, the líder de equipe of their team. While the person who inserted it cannot edit this spreadsheet, the sheet is not refreshed.
  • A sheet inserted before this rule, and a sheet in a copy of the file, has no refresh: insert it again to get one.

When you press Atualizar dados do Qubix, the sheets it has to pass by are named in the notice Nem todas as planilhas foram atualizadas, one line per reason (the dots stand for the sheet names):

  • …: inseridas em uma versão anterior — insira-as novamente.
  • …: vêm de uma cópia do arquivo — insira-as novamente.
  • …: a consulta do Assistente de AI não foi salva — insira a planilha novamente a partir do Assistente de AI.
  • …: somente quem tem acesso ao Assistente de AI pode atualizá-las.
  • …: você não tem permissão para executar o script destas planilhas.

A sheet whose refresh the server refused gets the line …: … — the sheet name and the reason. When the spreadsheet has no Qubix sheets at all, the notice says Este arquivo não tem planilhas de Dados do Qubix.

In the deposits report, the time of the deposit, the click and the registration is written in the time zone of the profile of whoever inserted the sheet — the same way the panel's event tables show it. If no time zone is set in the profile, the time is in UTC.

A sheet filled by a script​

A script of the Scripts section can keep a sheet of the spreadsheet up to date by itself — with the table its main() returns (what such a table is — What main() returns).

  1. Open the spreadsheet for editing and ask the AI Assistant to run your script.
  2. The assistant shows the table the script returned. Click Inserir na planilha under it: the table goes in as a new sheet named after the script (Script when the script has no name), and the sheet is bound to the script.
  3. From then on, every scheduled run of the script rewrites the sheet with its fresh table. The Atualizar esta planilha button of the sheet's label and "Data" → Atualizar dados do Qubix run the script right away and put its answer into the sheet.

The first row of the sheet holds the column names in bold, and every object of the result is a row under it. A refresh clears the cells the previous result took and writes the fresh table from the top-left cell, without a question; the sheet keeps its place and its name, and the column widths are set anew. Keep your own calculations to the right of the table or on another sheet: a table that grows down or to the right with the data writes its values over what lies in their cells.

The label at the right end of the menu bar names the script and the time of the data — Script "…" · … (the dots stand for the name and the time). If a run failed or did not return an array of objects, the sheet stays as it was, and the label says Não atualizado; when the server names the reason, it follows: Não atualizado: … (the dots stand for the reason). The reason is either the error text of the script itself or one that Qubix names: the script is switched off, the script is already running, the maximum number of scripts is already running, the script returned no array of objects, the result is over the limit, the person the sheet refreshes as can no longer run the script or edit the spreadsheet, the spreadsheet is open and cannot take new data now — then the next run after it is closed updates the sheet. A sheet takes no more rows than the Scripts: máx. linhas de resultado para uma planilha setting allows — the first ones go in; a result larger than Scripts: tamanho máx. do resultado para uma planilha leaves the sheet as it was, and the label names both sizes. Both settings are on the JavaScript tab (see System).

Inserting needs the right to edit the spreadsheet and the right to run the script. The sheet keeps updating while the person who inserted it — or who last refreshed it — has both rights. Deleting the script or the sheet ends the binding.

Importing and exporting files​

Import — Arquivo → Importar (.xlsx / .csv)…, for those who may edit the spreadsheet. Every sheet of the file becomes a new tab of the spreadsheet; a .csv file gives one tab. A file that is too large to open is refused with Este arquivo é grande demais para ser aberto aqui

  • Only values come over: numbers, text, TRUE/FALSE and dates. A formula comes as its result, an error cell as its text (for example #DIV/0!). Fonts, colours and number formats are not carried, except that a date from an .xlsx stays a date in the file's own format; the standard short date shows as YYYY-MM-DD.
  • A .csv file is read in its own encoding — UTF-8 with or without the BOM mark, UTF-16 with a mark, or the Windows code page for Cyrillic or for Western European languages — and with its own separator: comma, semicolon, tab or vertical bar.
  • A value from a .csv becomes a number only when it reads as a number in exactly one way. The decimal separator — point or comma — is taken from the file's own numbers. Codes with leading zeros, phone numbers with a plus, long identifiers, dates and percentages stay text exactly as in the file — apart from the apostrophe of the next point.
  • An apostrophe in front of a value that a spreadsheet would read as a formula (one starting with =, +, - or @, for example) is taken off. Some exports — the .csv/.tsv download of QubXL among them — put it there so that the value does not open as a formula, so the apostrophe does not stay in a file downloaded from QubXL and imported back.

Export — Arquivo → Baixar: .xlsx takes the whole workbook with values and number formats, .csv/.tsv takes the active sheet. In .csv/.tsv a text value that a spreadsheet would read as a formula (one starting with =, +, - or @, for example) is written with an apostrophe in front so that it opens as text and not as a formula; a date, a time and TRUE/FALSE are written as the cell shows them, other numbers as they are. With downloading closed in the access settings the submenu is hidden.

Scripts​

The Scripts section runs your own JavaScript programs on a schedule or at the click of a button: they read Qubix data with read-only queries and reach external services. How scripts are built — Scripts. A script can also fill a sheet of this spreadsheet — see A sheet filled by a script. To send your statistics out of Qubix into another service's table on a schedule — Exporting statistics to an external table.

Working together and comments​

A spreadsheet is edited together: you see who else is in the file — co-editors' cursors and avatars. The avatars sit in a pill at the top right of the sheet: yours first, then the others, up to four in all; the rest are gathered in one circle with a plus and the number. The tooltips read … (você), … · online and mais … neste arquivo (the dots stand for the name and for the number). A guest who came in by a link is named Convidado … (the dots stand for the guest's number). The editor names a dropped connection with the Conexão perdida — não feche esta aba banner. Edits made while offline flow into the shared file by themselves once the connection is back.

The editor shows the Não foi possível salvar algumas alterações card only if the edits could not be merged without a clash: for example, someone else changed the same cell in the meantime, or you changed something that co-editing does not carry over — a chart, sheet protection. By then the uncontested cells are already in the shared file. The Voltar ao arquivo compartilhado button puts the shared file on the screen, so copy whatever you need from your version before clicking it — the card says so itself: Copie o que precisar antes de voltar — o arquivo compartilhado substituirá o que você vê na tela.

A spreadsheet has a size limit. A change that would go over it is not saved, and a card at the bottom of the editor says Esta planilha atingiu o limite de tamanho and Sua alteração não foi salva: um documento não pode ser maior que … MB. Exclua o que não for necessário ou mova parte dos dados para outra planilha. (the dots stand for the limit in megabytes). When too many unsaved changes have built up in the shared file, the card says A edição não foi salva: acumularam-se alterações não salvas demais nesta planilha. Tente novamente em um minuto., and to a guest who came in by a link — A edição não foi salva: acumularam-se alterações não salvas demais nesta planilha. O espaço será liberado quando a pessoa que compartilhou o link com você abri-la. Changes made without a connection wait in the tab: As alterações feitas offline ainda não estão na planilha compartilhada: nela se acumularam alterações não salvas demais. Mantenha esta aba aberta — ela as adicionará sozinha assim que houver espaço.

Comments in a spreadsheet live on cells: select a cell and click Adicionar comentário — the thread attaches to it. There is no whole-file discussion in a spreadsheet — by design.

Version history​

The Histórico tab keeps the spreadsheet's previous states with a safe return: the current state is first written into the same history.

Access and protection​

A spreadsheet is shared as flexibly as in the big office suites — and more strictly in places. The access window is the Compartilhar button right in the spreadsheet.

  • By people — the Leitor / Comentarista / Editor roles on the spreadsheet or on a whole folder; works across teams too. Everything shared with you is on the Compartilhado comigo shelf.
  • By link — a person without a Qubix account opens the spreadsheet; an editor via a link edits alongside the team, a commenter discusses cells live.
  • A password on the link — entered once; changing it instantly cuts off everyone on the old one — even those sitting in the open spreadsheet.
  • Revoking access — a link that is turned off or a role that is removed also cuts off from co-editing anyone who already has the spreadsheet open: within half a minute at most.
  • A link expiry — a day, a week, a month or your own date: access closes by itself.
  • A ban on downloading, copying and printing — two switches: one for editors, one for viewers with commenters. With the editors' switch off, the .xlsx/.csv export, Novo and Fazer uma cópia disappear from the editor's Arquivo menu. For a guest via a link the ban follows their role; there is no way around it.
  • Inheritance and transfer — a spreadsheet created in a shared folder inherits its access; ownership transfers in one action.

Every point with steps — Sharing.

What QubXL does not have

There are no pivot tables yet. The .csv/.tsv export takes only the active sheet, not the whole workbook.

What's next​