Day 05 - functions

Day 05 - functions

We are starting the second week of the #ThoughtSpotAdventCalendar. So far, there's been a bit of basics and a pinch of magic performed by ThoughtSpot . Today we're going to raise the bar a bit and add a lot of possibilities.

In the previous days, whenever we chose a measure we used the default aggregation function which is usually the sum. I think most business users will mainly use this, but it may happen that you want to use another function. In the example below I have used the average. Using it comes down to typing it function name and then specifying the measure on which to perform it.

Of course, you can add attributes and count the values in each group. Simply add the required attribute as before.

The average is not the only applicable function. Below is an example of the use of the max function and its combination with an added attribute and filter. In this way, I counted what was the maximum number of pizza pieces in one order depending on the size for the selected pizza category.

Another important function is the count, which allows values to be counted. Particularly important will be its variant unique count which counts only unique occurrences. As you can guess, I want to use it to count the number of unique orders, so I will combine it with the OrderNumber attribute.

By the way, you can see that it is not a problem to combine two measures in one analysis. Finally, I switched the result to a table presentation to see just the numbers.

There are many more functions you can use. Here I have concentrated on the most important and frequently used ones. You are getting further and further on your way to analysing #data with #SpeedOfThought. And there's another window to be unveiled tomorrow.

要查看或添加评论,请登录

Dawid Rasa?a的更多文章

  • Day 24 - liveboards

    Day 24 - liveboards

    Day 24: The grand finale of the #ThoughtSpotAdventCalendar. You are probably busy so it will be #SpeedOfThought and fun.

    1 条评论
  • Day 23 - KPI chart

    Day 23 - KPI chart

    Just today's door and tomorrow's. The #ThoughtSpotAdventCalendar flew by very quickly.

  • Day 22 - sankey diagram

    Day 22 - sankey diagram

    Door number 22 continues the theme of visualisation. Today you will find a sankey chart in the…

    1 条评论
  • Day 21 - waterfall chart

    Day 21 - waterfall chart

    As I promised yesterday from today just pure fun. We've finished the block I called advanced and we're going to play…

  • Day 20 - speed of thought

    Day 20 - speed of thought

    Today will be different from the previous days. No new commands or keywords.

  • Day 19 - subquery

    Day 19 - subquery

    We're slowly heading towards the end and starting the final week of the #ThoughtSpotAdventCalendar. We continue with…

  • Day 18 - own formulas

    Day 18 - own formulas

    I know that the word formula hidden in today's #ThoughtSpotAdventCalendar trees sounds scary and unfriendly. But I…

  • Day 17 - growth, part 02

    Day 17 - growth, part 02

    You already know how to use the growth function and we even made a cool visualisation of what growth looks like from…

  • Day 16 - growth

    Day 16 - growth

    We're coming to the end of the year so questions about year-over-year growth, month-over-month growth, etc. are…

  • Day 15 - answers flexibility

    Day 15 - answers flexibility

    In the previous days you learnt the basics of data analysis with #SpeedOfThought and also went to a slightly higher…

    1 条评论

社区洞察

其他会员也浏览了