Traditional SQL queries can be cumbersome for quick, ad-hoc analysis of small datasets, and professional business intelligence (BI) tools can be overly complex. DataWorks DataAnalysis offers an online spreadsheet feature that provides an Excel-like experience, allowing you to organize, calculate, and visualize data. You can enter and edit data directly or easily import local files into a spreadsheet.
Version limits
Visualization chart limits: The Basic Edition is limited to seven chart types. To access more chart types, you can upgrade to DataWorks Standard Edition or a higher edition.
Spreadsheet sharing limits: The maximum number of editors and viewers that you can specify varies by edition.
Feature/Edition
Basic Edition
Standard Edition
Professional Edition
Enterprise Edition
Maximum number of editors
0
3
5
10
Maximum number of viewers
0
10
20
30
Go to Spreadsheet
On the DataAnalysis page, click Go To DataAnalysis. In the menu bar on the left, click the
or
icon to open the Spreadsheet page.
Create a spreadsheet
Before you analyze data, you must create a spreadsheet to hold the target data.
New DataAnalysis
On the Spreadsheet page, click the
icon in the upper-right corner of the directory tree on the left to open the spreadsheet editing page.On the spreadsheet editing page, after analyzing the data, click Save in the upper-right corner.
In the Save File dialog box, enter a File Name and click OK.
Legacy DataAnalysis
On the Spreadsheet page, under New spreadsheet, click the
icon to open the spreadsheet editor.After you finish analyzing the data on the spreadsheet editing page, click Save in the upper-right corner.
In the Save File dialog box, enter a File Name and click OK.
Import data into a spreadsheet
Spreadsheet support direct data entry and importing data from local files for data analysis.
On the spreadsheet editing page, click the Import button in the upper-right corner. You can import Spreadsheet, Local CSV Files, or Local Excel Files.
Import a spreadsheet
In the Import dialog box, click spreadsheet and configure the parameters.
Parameter | Description |
Spreadsheet | From the Spreadsheet drop-down list, select the name of the spreadsheet to import. |
Sheet | From the Sheet drop-down list, select the sheet to import from the spreadsheet. |
Data Preview | Preview the data to be imported. |
Import Start Row | Import data starting from the specified row. The default value is 1. |
Placement Location | Includes Current Worksheet and New Worksheet. |
Placement Method | Includes Append, Overwrite, and Active Cell. |
Import a local CSV file
In the Import dialog box, click Local CSV File and configure the parameters.
Parameter | Description |
File | Click Select File, select the local CSV file to import, and click Open. |
Original Character Set | Includes UTF-8 and GBK. If garbled text appears, switch the character set. |
Separator | Includes rows and columns:
If the data is not correctly separated into cells, switch the separator. |
Data Preview | Preview the data to be imported. |
Import Start Row | Import data starting from the specified row. The default value is 1. |
Placement Location | Current Worksheet: The worksheet in the current view. New Worksheet: A new worksheet. |
Placement Method | Includes Append, Overwrite, and Active Cell. |
Import a local Excel file
In the Import dialog box, click Local Excel File and configure the parameters.
Parameter | Description |
File | Click Select File, select the local Excel file to import, and click Open. |
Sheet | From the Sheet drop-down list, select the sheet to import. |
Data Preview | Preview the data to be imported. |
Import Start Row | Import data starting from the specified row. The default value is 1. |
Placement Location | Includes Current Worksheet and New Worksheet. |
Placement Method | Includes Append, Overwrite, and Active Cell. |
Analyze data
Spreadsheet provide a rich set of data analysis operations similar to those in Microsoft Office Excel. On the spreadsheet editing page, you can set the font, alignment, number format, rows and columns, conditional formatting, and styles. You can also profile the data in the spreadsheet.
For more information about the operations of each button, see Appendix: Button details.
Formatting and styles

In the top toolbar, you can adjust the font, alignment, number format (such as currency or percentage), and conditional formatting of cells in the spreadsheet to make the data easier to read.
Use formulas and functions

Similar to Excel, you can enter = in a cell to start writing a formula. Common functions such as SUM and AVERAGE are supported.
Create visualization charts

Select the data range to analyze.
In the top menu bar, select Chart, and then choose a chart type such as Column Chart, Line Chart, or Pie Chart.
The system automatically detects the data type and generates a chart.
ImportantIf the chart does not appear as expected, right-click the target field and select Convert this column to numeric.
Use data profiling
The data profiling feature analyzes the quality, structure, distribution, and statistics information of the current data. This feature helps you preview, profile, process, analyze, and visualize your data.
Basic data profile mode: Select data and click Data Profile in the toolbar. The system automatically analyzes column metrics, such as Type, Distribution, Null Values, and Duplicate Values, providing a quick overview of the data quality.
Data Profiling Verbose Mode: In simple profiling mode, click Detailed Mode in the upper-right corner to view profiling details for each column, such as Field Name, Field Type, Chinese Field Name, Field Description, and Security Level.

Data Type | Basic Mode Description | Verbose Mode Description |
String / Date | Displays as rich text: | Displays detailed information across multiple dimensions: |
Numeric type | A binned column chart displays the range and distribution of the data. | Displays detailed information across multiple dimensions: |
Boolean | A pie chart shows the percentage of true and false data. | Displays detailed information across multiple dimensions: String values true and false, and numeric values 0 and 1 are recognized as the BOOLEAN type. |
Mixed | A pie chart displays the percentage of each data type in the column and indicates the presence of dirty data. If the dirty data is cleansed, the value distribution is displayed based on the three preceding scenarios. | Not applicable. In Verbose mode, analysis is performed based on the predefined type of the field. |
Null | The percentage of | Displayed as the percentage of null values metric in the basic information for each data type. |
View and manage spreadsheet
On the spreadsheet editing page, click Spreadsheet in the upper-left corner or the
icon in the left menu bar to navigate to the spreadsheet list page.On the Spreadsheet page, in the All Spreadsheets area, you can view the spreadsheet in the I Created and Share it with me lists.
On the list page, you can manage spreadsheet as follows:
Rename: Click the
icon next to the file. In the Rename dialog box, enter a new name in the File Name field and click OK.Change Owner: Click the
icon next to the file. In the Change Owner dialog box, enter and select the new owner, and then click OK.Clone: Click the
icon next to the file. A new file with the _copy suffix is created.Delete: Click the
icon next to a file. In the Delete dialog box, click OK.
Click a File Name to reopen the spreadsheet's editing page.
Export, share, and download spreadsheet
After you process and analyze data in an online spreadsheet, you can export, download, or share the data with specified users.

Export data to a MaxCompute table
Spreadsheet support the quick generation of MaxCompute table creation statements based on the processed data. After you copy the statements, you can go to Data Studio to export the data to a MaxCompute table. A maximum of 100 rows of data can be exported.
In the upper-right corner of the spreadsheet editing page, choose .
Configure the parameters in the Export As MaxCompute Table dialog box.

Insert Mode
Parameter
Description
Insert Data Into MaxCompute Table (insert Overwrite)
Workspace
Select the target workspace.
Table
Enter and select the name of the table into which you want to insert data.
Create MaxCompute Table and Insert Data
Workspace
Select the target workspace.
Table Name
Enter a name for the new table. The table name must be unique. Click Check For Duplicates to verify.
Click Copy SQL Statement and then click Close.
ImportantOnly non-partitioned tables are supported. You can copy a maximum of 100 lines of code.
In the upper-left corner of the page, click the
icon, and then choose .Use a MaxCompute SQL node to insert the data into an existing table or create a new MaxCompute table and insert the data.
For information about operations in the new Data Studio, see MaxCompute SQL node.
For information about operations in the legacy DataStudio, see Develop an ODPS SQL task.
Click Submit To Development Environment or Submit To Production Environment.
If you use a workspace in basic mode, click Submit To Production Environment.
Share a spreadsheet
The following are common scenarios for sharing a spreadsheet:
Multi-user collaboration: Share the spreadsheet and grant edit permissions to other users. For example, you can use this feature to collect personal information from team members or manage event registrations.
Sharing for viewing: Share the spreadsheet and grant read permissions to other users.
If a permission issue occurs, contact a tenant administrator to go to and enable Allow Sharing and Allow Downloads for Spreadsheet. For more information, see Data Query and Analysis Control.
On the spreadsheet editing page, click Share in the upper-right corner to configure the sharing method.
Link: Specify which members can edit or view the spreadsheet, or make it visible to everyone. Then, click Copy Link and send the link to the intended recipients.
If you enable Access Code, a link protected by an extraction code is generated.
Users with Edit Access: To grant edit permissions to specific users, select . In the dialog box, enter and select the members to add, and then click OK.
Visible To All: Turn on the Visible To All switch to make the current spreadsheet accessible to everyone.
Users with Read Access: To grant read permissions to specific users, turn off Visible To All and select . In the dialog box that appears, select the members to add, and then click OK.

After the spreadsheet is shared, you can send the link to the intended users. They can then access the spreadsheet using the link.
The View Records section in the upper-right corner of the spreadsheet editing page shows which users have viewed the shared spreadsheet.
In the Spreadsheet list, you can view the spreadsheet under Share.
Download a spreadsheet
On the spreadsheet editing page, click the Download button in the upper-right corner to download the spreadsheet locally.
Appendix: Button details
On the spreadsheet editing page, you can configure the following items:
Font

Ordinal Number
Feature
Description
①
Font
Select the font type.
②
Font Size
Select the font size.
③
Bold
Make the text bold.
④
Italic
Italicize the text.
⑤
Underline
Add an underline to the text.
⑥
Strikethrough
Add a strikethrough to the text.
⑦
Border
Add a border to the text.
⑧
Background Fill
Fill the background color of the text.
⑨
Text Fill
Change the color of the text.
Alignment

Ordinal Number
Feature
Description
①
Top Align
Align text to the top.
②
Middle Align
Align text to be centered between the top and bottom of the cell.
③
Bottom Align
Align text to the bottom.
④
Auto Wrap
Display long text on multiple lines to make it all visible.
⑤
Align Left
Align text to the left.
⑥
Center
Center text horizontally.
⑦
Align Right
Align text to the right.
⑧
Merge and Center
Combine the selected cells into one larger cell and center the content in the new cell.
Number

Ordinal Number
Feature
Description
①
Data Type
Select the cell format, such as Number, Currency, Short Date, Long Date, Time, Percentage, Fraction, Scientific, and Text.
②
Percentage
Set the data type of the cell to percentage.
③
Two Decimal Places
Format the data in the cell to two decimal places.
④
1000 Separator
Separate thousands in the cell's data with a comma, for example, 1,005.
⑤
Currency
Set the data type of the cell to currency, such as CNY, USD, GBP, EUR, and CHF.
Rows and Columns

Ordinal Number
Feature
Description
①
Insert Row
Add a new row of cells to the spreadsheet.
②
Insert Column
Add a new column of cells to the spreadsheet.
③
Delete Row
Delete the selected row of cells from the spreadsheet.
④
Delete Column
Delete the selected column of cells from the spreadsheet.
⑤
Lock Row
Freeze all rows above the selected row in the spreadsheet.
⑥
Lock Column
Freeze all columns to the left of the selected column in the spreadsheet.
⑦
Hide Row
Hide the selected row in the spreadsheet.
⑧
Hide Column
Hide the selected column in the spreadsheet.
Conditional Formatting

Ordinal Number
Feature
Description
①
Filter-based Conditional Formatting
Includes rules in Highlight Cells Rules and Top/Bottom Rules.
②
Color Fill Conditional Formatting
Includes styles in Gradient Fill, Solid Fill, and Color Scales.
③
Icon Fill Conditional Formatting
Includes Directional, Shapes, Indicators, and Ratings icons.
④
Clear Conditional Formatting Effects
Includes Clear Rules From Selected Cells and Clear Rules From Entire Sheet.
Style

Ordinal Number
Feature
Description
①
Apply Table Style
Select and apply a table style.
②
Delete
Remove the applied table style.
③
Cell Style
Set the style of the cell.
④
Clear
Includes Clear All, Clear Contents, and Clear Formats.
Edit

Ordinal Number
Feature
Description
①
AutoSum
Supports five types: Sum, Average, Count Numbers, Max, and Min.
②
Search
Click Search directly, or use the keyboard shortcut Ctrl+F to open the input box.
③
Sort and Filter
Filter data and sort it in ascending or descending order.
④
Clear
Directly delete the selected content.
Charts

Ordinal Number
Feature
Description
①
Column Chart
For more information, see Column chart.
②
Line Chart
For more information, see Line chart.
③
Pie Chart
For more information, see Pie chart.
④
More
Click More to select charts such as:
Stock chart
Plugins: This section provides the Type Conversion feature. Click the
icon to apply Convert To Numeric or Convert To String to the selected data.Keyboard Shortcut List: Click the
icon to view the shortcuts for each feature.