Writing Explore formulas

Have more questions? Submit a request

10 Comments

  • Quentin
    Comment actions Permalink

    How do you use Attribute values?

    For example I want to filter a certain value of an attribute (filter out deleted tickets), in GoodData it looked like this: "Ticket Status <> Deleted"

    0
  • Molly
    Comment actions Permalink

    Hey Quentin!

    Deleted tickets are already excluded from the Support Tickets dataset so any metrics you make there do not need any additional modifications. If you use the Ticket Updates dataset, deletion events will be included there.

    0
  • Quentin
    Comment actions Permalink

    Thanks Molly for the explanation.

    But how do you filter by status for example? If I want to see only open tickets in my metric? Something like [Ticket Status]=Open?

     

    0
  • Rob Stack
    Comment actions Permalink

    Hi Quentin, there are two options.

    1. Without a custom metric. Add the Ticket Status attribute to a panel and then click it. You can include, or exclude the values you want. In your case, you’d select only Open.

    2. Use a custom attribute. You are correct, in your suggestion, but you do need quotes, for example:

    [Ticket Status]="Open"

     

    Hope this helps!

    1
  • Quentin
    Comment actions Permalink

    Perfect Rob!

    Thanks for the tip :)

    0
  • Celia Johnson
    Comment actions Permalink

    This article is linked to from here: https://explore.zendesk.com/hc/en-us/articles/235948948-Creating-standard-calculated-metrics-and-attributes as a reference for all available functions, but there's no list here of those functions? 

    1
  • Dan Kondzela
    Comment actions Permalink

    Hi @Celia Johnson,

    It seems you're correct. I assume you are referring to the link called Formula Writing Resources? I selected that and see what you mean, there is no explicit list. After following the link to Formula Writing Resources I noticed the same, no list of functions. 

    To assist in clarity of communication I have flagged these articles to check the hierarchy is set up as expected and to clarify where needed. For the time being I do think the formula writing resources will be helpful.

    Thanks for raising this!

    0
  • Rob Stack
    Comment actions Permalink

    Hi Celia, I wanted to provide an update to your post above. We now link to a new article called "Explore functions reference" which does indeed provide a list of all available functions and help using them.

    I do hope this helps and thanks for the valuable feedback.

    0
  • Paul Stolz
    Comment actions Permalink

    How can I create a formula to show the end-user phone number in a Query? Currently, there is a row value for End-user email, but not for end-user phone number. 

    0
  • Graeme Carmichael
    Comment actions Permalink

    Paul

    Unfortunately the user's phone number is not part of the dataset so you cannot report on it using Explore.

    In Support, you would have to copy the phone number into a custom user field and then use the custom field in Explore.

    0

Please sign in to leave a comment.

Powered by Zendesk