Transformations: Leave first time field out of sort for organize fields (#106862)
* Fix docs * Remove first time field from sorting for consistent indexing, add margin to radio * integrate in with sort * find first * Move lonely test to proper block, add test for logic change, refine logic * bonus points
This commit is contained in:
@@ -201,7 +201,7 @@ Use this transformation to add a new field calculated from two other fields. Eac
|
||||
- **All number fields** - Set the left side of a **Binary operation** to apply the calculation to all number fields.
|
||||
- **As percentile** - If you select **Row index** mode, then the **As percentile** switch appears. This switch allows you to transform the row index as a percentage of the total number of rows.
|
||||
- **Alias** - (Optional) Enter the name of your new field. If you leave this blank, then the field will be named to match the calculation.
|
||||
> **Note:** If a variable will be used in this transformation, the default alias will be interpolated with the value of the variable. Please explicitly define an alias if you would like the alias to not be affected by variable changes.
|
||||
> **Note:** If a variable is used in this transformation, the default alias will be interpolated with the value of the variable. If you want an alias to be unaffected by variable changes, explicitly define the alias.
|
||||
- **Replace all fields** - (Optional) Select this option if you want to hide all other fields and display only your calculated field in the visualization.
|
||||
|
||||
In the example below, we added two fields together and named them Sum.
|
||||
@@ -1131,7 +1131,7 @@ Use this transformation to provide the flexibility to rename, reorder, or hide f
|
||||
|
||||
Grafana displays a list of fields returned by the query, allowing you to perform the following actions:
|
||||
|
||||
- **Set field order mode** - If the mode is **Manual**, you can change the field order by hovering the cursor over a field and dragging the field to its new position. If it's **Auto**, use the **OFF**, **ASC**, and **DESC** options to order by any labels on the field or by the field name. You can then drag the labels and the field name to set the priority of the sorting.
|
||||
- **Set field order mode** - If the mode is **Manual**, you can change the field order by hovering the cursor over a field and dragging the field to its new position. If it's **Auto**, use the **OFF**, **ASC**, and **DESC** options to order by any labels on the field or by the field name. For any field that is sorted **ASC** or **DESC**, you can drag the option to set the priority of the sorting.
|
||||
- **Change field order** - Hover over a field, and when your cursor turns into a hand, drag the field to its new position.
|
||||
- **Hide or show a field** - Use the eye icon next to the field name to toggle the visibility of a specific field.
|
||||
- **Rename fields** - Type a new name in the "Rename <field>" box to customize field names.
|
||||
|
||||
Reference in New Issue
Block a user