Skip to content

Commit

Permalink
Release 08.05.2024
Browse files Browse the repository at this point in the history
* Added information on filtering charts by charts.
* Fixes and improvements.
* Translations updated.
  • Loading branch information
DataUI VCS Robot authored and dtikhonova committed May 8, 2024
1 parent bc7e73c commit a3d8321
Show file tree
Hide file tree
Showing 180 changed files with 1,885 additions and 786 deletions.
3 changes: 0 additions & 3 deletions en/_assets/console-icons/xmark.svg

This file was deleted.

6 changes: 6 additions & 0 deletions en/_assets/datalens/clear-filters.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed en/_assets/datalens/concepts/alias-date-1-int.png
Binary file not shown.
Binary file added en/_assets/datalens/concepts/alias-date-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed en/_assets/datalens/concepts/alias-date-2-int.png
Binary file not shown.
Binary file added en/_assets/datalens/concepts/alias-date-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions en/_assets/datalens/cross.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 7 additions & 13 deletions en/_includes/datalens/datalens-data-join-wrong-example.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
When creating a link between widgets on a dashboard, you may encounter a situation when the link does not work. This usually happens when you create a link between a selector and a chart built from different datasets. The cause is a link between widgets based on a field not used to pick values in the selector:
When creating a link between widgets on a dashboard, you may encounter a situation when the link does not work. This usually happens when you create a link between a selector and a chart built from different datasets. Such widgets end up being linked based on a field that is not used in the selector.

Let's consider this case as an example:

1\. There is a chart on the dashboard named `Sample: Sales trends` built from a dataset called `Sample CH Sales`.

Expand All @@ -18,21 +20,13 @@ There is a field in the dataset (chart) called `ShopID` which takes string value

4\. We will create a link between the selector and the `Sample: Sales trends` chart using an alias. It is not possible to create a link based on the store name since it is not included in the `Sample CH Sales` dataset used to build the chart.

![image](../../_assets/datalens/concepts/SampleSelectorShopName.png)

![image](../../_assets/datalens/concepts/SampleSelectorShopName-int.png)

Therefore, we will create the link using the `ShopID` field.

![image](../../_assets/datalens/concepts/SampleSelectorShopID-int.png)


As a result, the values picked by the selector do not have any effect on chart visualization because the widgets are linked through the `ShopID` field, and the selector picks its values from the `ShopName` field.

{% note warning %}
Therefore, we will create the link using the `ShopID` field.

At the same time, the values picked by the selector don't have any effect on chart visualization.
![image](../../_assets/datalens/concepts/SampleSelectorShopID.png)

{% endnote %}
As a result, the values you choose in the selector do not have any effect on chart visualization because the widgets are linked through the `ShopID` field, and the the selector picks its values from the `ShopName` field.


The link is illegal because you cannot use one field to pick values for a dataset-based selector and a different field as the target of a link between datasets. This link mechanism is not supported.
4 changes: 2 additions & 2 deletions en/_includes/datalens/datalens-limits.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ _Limits_ are technical limitations due to {{ datalens-short-name }} architectura


| Type of limit | Value |
| ----- | ----- |
----- | -----
| Maximum number of tables in a single dataset | 32 |
| Maximum number of fields in a single dataset | 1,200 |


#### Chart data limits {#datalens-chart-data-limits}

Charts in {{ datalens-short-name }} can only display a limited amount of data. If the number of rows (columns and cells for pivot tables) in a dataset exceeds the established limit, the chart will not be built. Therefore, to build a chart from data in a large dataset, select a part of the data to display based on the limits below using [filters](../../datalens/concepts/dataset/settings.md#default-setting):
Charts in {{ datalens-short-name }} can only display a limited amount of data. If the number of rows (columns and cells for pivot tables) in a dataset exceeds the established limit, the chart will not be built. Therefore, to build a chart from data in a large dataset, select a part of the data to display based on the limits below using the [filters](../../datalens/concepts/dataset/settings.md#default-setting):

| Chart type | Limit |
----- | -----
Expand Down
10 changes: 5 additions & 5 deletions en/_includes/datalens/datalens-sql-ch-example.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{% cut "Query example for a {{ CH }} database" %}
{% cut "Example database query {{ CH }}" %}

```sql
SELECT Category, Month, ROUND(SUM(Sales))
FROM samples.SampleLite
WHERE Category in not_var{{category}} -- a variable used in the selector
GROUP BY Category, Month -- grouping by category and month
ORDER BY Category, Month -- sorting by category and month
WHERE Category in not_var{{category}}: A variable used in the selector
GROUP BY Category, Month: Grouping by category and month
ORDER BY Category, Month: Sorting by category and month
```

{% endcut %}
{% endcut %}
7 changes: 3 additions & 4 deletions en/_includes/datalens/internal/datalens-yt-connection.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
To create a {{ ytsaurus-name }} CHYT connection:


1. Go to the [connections page](https://datalens.yandex.ru/connections).
1. Click **Create connection**.
1. Go to the [connections page]({{ link-datalens-main }}/connections).
1. Click **Create connection**.
1. Select **{{ ytsaurus-name }} CHYT** as the connection type.


Expand All @@ -17,7 +16,7 @@ To create a {{ ytsaurus-name }} CHYT connection:
* **HTTPS**: Enable the secure connection option if your server supports HTTPS.


1. Click **Create connection**.
1. Click **Create connection**.
1. Enter a name for the connection and click **Create**.

{% include [datalens-check-host](../../../_includes/datalens/operations/datalens-check-host.md) %}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% note warning %}

If you use a new {{ datalens-short-name }} object model with [workbooks and collections](../../../datalens/workbooks-collections/index.md):

1. Go to the {{ datalens-short-name }} [home page]({{ link-datalens-main }}). In the left-hand panel, select ![collections](../../../_assets/console-icons/rectangles-4.svg) **Collections and workbooks**.
1. Open the workbook, click **Create** in the top-right corner, and select the appropriate object.

Follow the guide from step 4.

{% endnote %}
4 changes: 2 additions & 2 deletions en/datalens/concepts/aggregation-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This section describes how data aggregation and grouping work in {{ datalens-short-name }}, how to correctly formulate expressions with aggregations, and also gives examples of SQL queries with aggregations for {{ CH }}.

The [Selling.csv](https://storage.yandexcloud.net/doc-files/Selling.csv) file will be used as the source of data on sales in cities.
As source data, we will use the [Selling.csv](https://storage.yandexcloud.net/doc-files/Selling.csv) file with the data on sales in cities.

## SQL basic concepts {#basic-sql}

Expand Down Expand Up @@ -32,7 +32,7 @@ There are two ways to use aggregate functions:

In this case, aggregate functions calculate and return a single resulting value for all rows that are combined into a single group.

For example, to get the sum of values in the `Sales` column from the table `Selling`, you need to run a query:
For example, to get the sum of values in the `Sales` column from the table `Selling`, you need to run the following query:

```sql
SELECT
Expand Down
Loading

0 comments on commit a3d8321

Please sign in to comment.