Articles on: Google Sheets

How are the data sorted in the queries and how do I change their order?

When you make a query in Dataslayer, the metrics and dimensions will appear in the order you have selected in the addon. To change this, you can drag the metrics to move them around.

As for the data, it is sorted by default according to the metric with the highest numerical value.

How do I change the order of my queries?

To change the order of your queries, you must use the "sort metrics" and "sort dims " options.

To do this, modify the query, choose whether you want to sort by metrics (sort metrics) or by dimensions (sort dims) and click on the corresponding option.

Then choose the corresponding field, the order (ascending or descending), save the changes in the query and you're done!

Updated on: 24/02/2023

Was this article helpful?

Share your feedback


Thank you!