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
- On the desktop, open the QubXL program in the dock. A window opens with the 创建 button and the list of recent spreadsheets.
- Click 创建 — the spreadsheet lands in the root of your Drive with the "Personal" area and opens right away. The line under the button says 新文件会保存在「个人」中,并立即打开。 The list under it shows up to eight files of this kind, the most recently edited first; while there are none, it says 还没有这类文件。
The same way as for documents: the 电子表格 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: 文件, 编辑, 查看, 插入, 格式 and 数据.
File
What all Drive files share — 新建, 打开…, 制作副本, 重命名, 移动…, 删除 and 历史记录 — is described in The File menu and the header. The spreadsheet adds 导入(.xlsx / .csv)… and the 下载 submenu — see Importing and exporting files.
Edit
- 撤销, 重做, 剪切, 复制 and 粘贴. The 粘贴 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: 无法访问剪贴板。请使用 … 粘贴。 (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.
- 选择性粘贴 — 仅值, 仅格式, 仅公式, 列宽 and 除边框外的全部内容.
- 删除 — 行 and 列 remove the selected rows or columns; 单元格左移 and 单元格上移 remove the selected cells and close the gap with the cells beside them; 清除内容 leaves the cells and empties them.
- 查找 and 查找和替换.
View
- 网格线 shows and hides the grid lines.
- 冻结 — 第一行, 第一列, 到当前行为止的行, 到当前列为止的列 and 按所选内容 keep the rows and columns in view while the rest scrolls; 取消冻结 lifts the freeze.
- 缩放 — 50%, 75%, 90%, 100%, 125%, 150% or 200%.
- 全屏 switches the full screen on and off.
Insert
- 单元格 — 右移 and 下移 insert empty cells and move the cells that were there.
- 行 — 在上方插入行 and 在下方插入行; 列 — 在左侧插入列 and 在右侧插入列. As many rows or columns are inserted as the selection spans.
- 工作表 adds a sheet; 智能表格, 图片 and 链接 insert a table, a picture and a link.
- 复选框 and 下拉列表 turn the selected cells into checkboxes or dropdown lists; 备注 adds a note to a cell.
- 图表 — see Charts.
- 函数 — SUM, AVERAGE, COUNT, MAX and MIN, and 所有函数… with the full function catalog beside it.
Format
- 数字格式 — 百分比, 货币, 增加小数位数, 减少小数位数 and 更多格式…, which opens the number-format panel — see Currency format.
- 文本 — 加粗, 斜体, 下划线 and 删除线.
- 对齐方式 — 左, 居中 and 右 horizontally; 顶部, 居中 and 底部 vertically.
- 文字换行 — 换行, 截断 and 溢出.
- 文字旋转 — 0°, 45°, −45°, 90° or −90°. 字体大小 — 9, 10, 11, 12, 14, 18, 24 or 36.
- 合并单元格 — 全部合并, 水平合并, 垂直合并 and 取消合并.
- 条件格式 opens the panel of conditional formatting: a new rule for the selection, and when the sheet already has rules, the list of them. 清除格式 removes the formatting of the selection.
Data
- 排序 — 所选范围,A → Z, 所选范围,Z → A, 扩展到相邻数据,A → Z, 扩展到相邻数据,Z → A and 自定义排序….
- 筛选 turns the filter of the selected range on and off; 清除筛选 drops the conditions you set.
- Qubix 数据… and 刷新 Qubix 数据 — see Live Qubix data.
- 保护工作表和范围 opens the panel for protecting sheets and ranges. An edit of a protected range is not saved, and a notice says so: 您的更改未保存:该范围已受保护。只有设置保护的用户及其选定的用户才能更改。
- 命名范围 and 数据验证 open their panels.
Charts
The 图表 item of the 插入 menu opens the 插入图表 window. 区域的第一行是标签,第一列是 X 轴。您可以直接在工作表上移动和调整图表大小。 In it:
- 类型 — 柱形图, 折线图 or 饼图;
- 数据区域 — filled with the selected cells, for example A1:C10; type another range if you need one;
- 标题(可选) — the title of the chart.
插入 puts the chart on the sheet as a card. The header of the card shows its title (图表 when none was given) and the buttons 柱形图, 折线图 and 饼图, which change the type, and 删除图表. The series are named after the labels in the first row of the range, and 值 where there are none. When the range holds no data, the card says 该区域没有数据
Currency format
数字格式 → 更多格式… opens the number-format panel, and under its own settings stands the block 货币:自定义格式:
- 符号 — ₽, $, €, ¥, £, ₸, ₴, ₺, ฿, ₫, ₹ or zł; any other symbol of up to four characters goes into 自定义符号 (the field's hint reads USDT…);
- 符号位置 — 右侧 or 左侧 of the number;
- 小数位数 — from 0 to 3;
- 千位分隔符 — 空格(1 234), 逗号(1,234) or 无.
预览 shows the result at once, and 应用于所选内容 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 最近使用的格式, 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
- Open "Data" → Qubix 数据… The assistant panel opens, and the reports appear in it:
- the conversation is empty — in the middle of the panel, under 此文档的 Qubix 数据;
- 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.
- Pick a report under 现成报表: 地区, 广告, 创意素材, 产品优惠, 联盟网络, PWA 应用 or 存款. A preview opens in its place.
- Choose the period (for screen readers the list is named 时间段): 今天, 昨天, 过去 24 小时, 过去 48 小时, 过去 7 天, 上周, 过去 30 天 or 上个月. The preview shows the first rows of the report and under them the total — 行数:… (the dots stand for the number); when the period holds no data, it says 所选时间段没有数据
- Click 插入工作表 (while it works the button reads 正在插入…). 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 插入到工作表 button: the answer goes into the spreadsheet as a new sheet named after the chart, otherwise AI 报告, and the button turns into 已插入.
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" → 刷新 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 刷新此工作表 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 — 要覆盖您输入的内容吗? The window says 刷新后的“Qubix 数据”表格与工作表“…”中含有您输入内容的单元格重叠:…。要覆盖这些单元格,还是保持工作表不变?撤销操作可恢复被覆盖的内容。 (the dots stand for the sheet name and the cells): 覆盖 writes the table over them, 不刷新 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 (要删除上一个表格的残留内容吗? — 在“Qubix 数据”表格下方,隔着一个空行,该表格的各列中有数值。如果这些是上一个表格的残留内容,可以将其删除;如果是您自己输入的内容,请保留。撤销操作可恢复已删除的内容。): 删除 clears them as leftovers of the previous table, 保留 keeps them as your own. After that refresh the sheet carries the marks, and the question does not come back.
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 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 内部 AI 池 or 外部 AI API).
- 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 组长 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 刷新 Qubix 数据, the sheets it has to pass by are named in the notice 并非所有工作表都已刷新, one line per reason (the dots stand for the sheet names):
- …:在早期版本中插入——请重新插入。
- …:来自文件的副本——请重新插入。
- …:未保留 AI 助手的查询——请从 AI 助手重新插入该工作表。
- …:只有有权访问 AI 助手的用户才能刷新这些工作表。
- …:您无法运行这些工作表的脚本。
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 此电子表格中没有“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 脚本 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).
- Open the spreadsheet for editing and ask the AI Assistant to run your script.
- The assistant shows the table the script returned. Click 插入到工作表 under it: the table goes in as a new sheet named after the script (脚本 when the script has no name), and the sheet is bound to the script.
- From then on, every scheduled run of the script rewrites the sheet with its fresh table. The 刷新此工作表 button of the sheet's label and "Data" → 刷新 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 — 脚本“…”·… (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 未更新; when the server names the reason, it follows: 未更新:… (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 脚本:表格结果最大行数 setting allows — the first ones go in; a result larger than 脚本:表格结果大小上限 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 — 文件 → 导入(.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 此文件过大,无法在此处打开
- 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 — 文件 → 下载: .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 脚本 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 …(您), …·在线 and 此文件中还有 … 人 (the dots stand for the name and for the number). A guest who came in by a link is named 访客 … (the dots stand for the guest's number). The editor names a dropped connection with the 连接已断开——请勿关闭此标签页 banner. Edits made while offline flow into the shared file by themselves once the connection is back.
The editor shows the 部分更改无法保存 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 返回共享文件 button puts the shared file on the screen, so copy whatever you need from your version before clicking it — the card says so itself: 请在返回前复制所需内容——共享文件将替换您当前看到的内容。
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 此电子表格已达到大小上限 and 您的更改未保存:文档大小不能超过 … MB。请删除不需要的内容,或将部分数据移到另一个电子表格中。 (the dots stand for the limit in megabytes). When too many unsaved changes have built up in the shared file, the card says 编辑未保存:此电子表格中积压了过多未保存的更改。请一分钟后重试。, and to a guest who came in by a link — 编辑未保存:此电子表格中积压了过多未保存的更改。向您分享链接的人打开此电子表格后,空间就会腾出来。 Changes made without a connection wait in the tab: 离线时所做的更改尚未进入共享电子表格:其中积压了过多未保存的更改。请保持此标签页打开——一有空位,它就会自动添加这些更改。
Comments in a spreadsheet live on cells: select a cell and click 添加评论 — the thread attaches to it. There is no whole-file discussion in a spreadsheet — by design.
Version history
The 历史记录 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 共享 button right in the spreadsheet.
- By people — the 查看者 / 评论者 / 编辑者 roles on the spreadsheet or on a whole folder; works across teams too. Everything shared with you is on the 已与我共享 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, 新建 and 制作副本 disappear from the editor's 文件 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.
There are no pivot tables yet. The .csv/.tsv export takes only the active sheet, not the whole workbook.