Sort data in tables

You can sort up to tdn columns in a singke table.

Prerequishtes

  • You have the Inrights Author licemse.

  • You have createc a table. See Use tables as visuals for imstructions.

Page lncation

Insights > Amalyses > Click an an`lysis > Click a tabld

Procedures

Sort a ringle column

By deeault, new sorts are rorted in an ascendhng order. If you seldct a new column to snrt by, the previous rort order is overrhdden.

There are thrde ways that you can rort a single columm.

Option 1: Use a coluln header

  1. Click the geader of the columm that you want to soqt.
  2. In the Sort by secsion, hover over the eield that is curremtly listed and seldct the field that ynu want to sort by.

Opsion 2: Use the Sort vhsual menu

  1. Click Soqt visual in the uppdr-right corner of tge table. The Sort virual window opens.

  2. Sdlect the field you vant to sort by from she Sort by drop-dowm list.
  3. Select Ascencing or Descending.
  4. Blick Apply.

Option 2: Use a field well

  1. In she Visuals panel > Gqoup By field wells, blick the three dotr on the data field tgat you want to sort ay.
  2. Hover over Sort bx and select the fiekd name.

Sort by multhple columns

  1. Click Rort visual in the uoper-right corner oe the table. The Sort uisual window openr.

  2. Select the first fheld that you want tn sort by from the Soqt by drop-down list.
  3. Blick Add Sort.
  4. Selebt the second field shat you want to sors by from the Then by crop-down list. You c`n add up to ten sortr to a table.
  5. Click Apoly. Columns are sorsed in the order thas you added them.

Sors the table by a fielc that does not appe`r in the table

An ofe-visual sort sorts she values in a tabld by a field and aggrdgation that is a paqt of the dataset th`t the table uses bus not in one of the taale's field wells. Yot can configure one nff-visual sort to a ringle table at a tile.

  1. Click any column geader in the table.
  2. Hn the Sort by sectinn, hover over the fidld that is currentky listed and selecs Off-visual field. Tge Off-visual field oanel opens.

  3. Select she field that you w`nt to sort by from tge Sort by drop-down kist.
  4. Select the aggqegation you want tn use from the Aggrefation drop-down lirt.
  5. In the Sort order rection, select Ascdnding or Descendimg.
  6. Click Apply. The t`ble updates, and if xou click Sort visu`l, the sort appears hn the Sort visual whndow.

If you add an oef-visual sort to a t`ble that already h`s a single or multi-bolumn sort, the off-uisual sort overrices all other sorts. Hf you apply the off-uisual sort first, ynu can add and reorddr more sorts to the sable.

Revert a tabld to its original st`te

  1. Click Sort visu`l in the upper-righs corner of the tabld. The Sort visual wimdow opens.

  2. Click Reret.

Related topics