Calculation Question? Try out our Generative BI capability for creating calculations (currently in public preview)!

We see many questions per day on calculations. While we provide support in this community, you might be able to get unstuck even faster using our new Generative BI features that are in public preview.

The following are two areas we often see calculation questions on the community as well as example prompts for each case to help you understand what you could try out in your own data. There is always the community to turn back to if you still aren’t able to get the calculation you are looking for.

1) Data cleaning calculations
Community questions with example prompts below:

  1. If the ticket is duplicated, take the lower of the two.
  2. If the ticket is not duplicated but has more than 12 hours, then convert that number to 5 hours.
  3. If the ticket is not duplicated and does not have more than 12 hours using the hours reported.”

2) Date calculations
Community questions with example prompts below:

  • Calculated
    • “find the date using arrival timestamp that is closest to today’s date”
  • Last event/ date calculations — break down into multiple steps
    • You might need to break down into multiple steps.
      • “Get the current date” then name something like current-date
      • “Get the latest date of event date” then name something like last-event-date
      • “Get the number of days between current-date and last-event-date”
  • YoY Change up to current month
    • “create a calculated field that outputs if the past data is more than a year from the current month using arrival_timestamp”
  • How to arrive trailing 4 weeks data
    • “for each sales person what is the trailing 4 week revenue”
7 Likes

Awesome post, @lillie!

cc to some of our Experts: @Sanjeeb2022 @David_Wong @sagmukhe @neelay @Biswajit_1993 @Naveed @darcoli @thomask @MKuhns01 @rbrady @DylanM @duncan @Max @todd.hoffman @cgreenacre

2 Likes