Announcing changes to calculations in Explore

Return to top

35 Comments

  • Larry Click

    This will affect a ton of my reports. I use "top 10" and fixed calculations. Unfortunately "Updates required" does not appear under my reports. How can I get that to show up.

    0
  • Larry Click

    Secondly, I use a fixed number for goals displayed on charts.  I don't see how to do that, although I get an error on those Standard calculated metrics.  What is a formula that will display a goal metric, say 1000 for tickets in the backlog?

    0
  • Eugene Orman
    Zendesk Product Manager

    Hi Larry, 

    I have created a ticket for you to investigate the issues you mentioned and to find a way to fix the formulas that are affected.

    0
  • Martin Cubitt

    How do I replace constant metrics, used for OKR targets? It is unclear from the confusing ATTRIBUTE_FIX syntax.

     

     

    1
  • Eugene Orman
    Zendesk Product Manager

    Martin Cubitt, if you simply need a constant then the best to use the Trad line > Constant

    If you are using a Table or another visualization where the trend line feature is not available you can use the Result metric calculation:

    2
  • André

    Hey! Thanks for the post. 

    Can you help me with my CSAT calculation? We have a field called "CSAT" in our Zendesk which we've connected with an API to another Survey tool, so the field fills in when a Survey is completed.

     

    But now with the new changes, it says I "Can't use [CSAT] as text and 1 as number."

     



    How would I rewrite this formula?

    0
  • Eugene Orman
    Zendesk Product Manager

    André, ideally you need to store your CSAT in a numeric custom field not in a text field. Then it will appear in Explore as a metric. See how custom fields are mapped to Explore in Reporting with custom fields. If you will go with this approach then your formulas will look like this:

    IF VALUE(CSAT)>=1 THEN [Ticket ID] ENDIF
    It will probably take time to reconfigure your system in a proper way so for now you can transform your text custom field into a numeric field by using the NUMBER function. In this case, your formula will look like this:
    IF NUMBER([CSAT])>=1 THEN [Ticket ID] ENDIF
    1
  • Richard B

    I'm getting a very generic error on some of my reports that was on the "Updates Required" and there are no errors on the formulas that I do have within it (they are regex formulas to parse data that has a bunch of extra characters) and the formula continues to work fine today.

    REGEXP_EXTRACT(REGEXP_REPLACE([Data Source],"\\"","\""),"data_column\\":\s*\\"?([^,]+?)\\"")

    Is this function going away as well as it is not mentioned in this article?

    0
  • Guruprasad Satyanarayana
    HI team,
     Please find the background of the issue
    I came across the change which is happening on explore that
    Will not be working from July 10th, However i wanted to update all the reports which gonna be affected by this change now. Unfortunately i'm not able to see the section "updates required" so that i can change the reports accordingly. So is this a bug or they are not impacted.

    0
  • Larry Click

    "Update Required" doesn't show on my account either. 

    0
  • Jahn Bronilla
    Community Moderator

    Hi Eugene Orman -  in relation to this statement "On the same day, incorrectly configured standard calculated metrics and attributes will no longer work and will need to be reconfigured by users."

    How do you define incorrectly configured standard calculated metrics? Just wondering given I created a couple and it's been accepted by Zendesk and there's an actual value and result. 

    1
  • Eugene Orman
    Zendesk Product Manager

    Larry Click & Guruprasad Satyanarayana

    If the Updates required section is not displayed in the report library it means that you don't have any reports impacted. This section is shown only if you have at least one report flagged as being impacted. So, it is a good thing that you don't have the Updates required section.

    0
  • Eugene Orman
    Zendesk Product Manager

    Jahn Bronilla if some of the calculations can not be executed in the database reports that use them will stop returning results and will return an error instead. 

    If such reports were opened/loaded in your account in the past two months they were flagged and placed in the Updates required section of the reports library.

    1
  • Larry Click

    Eugene Orman That isn't true. I keep running across reports with the warning at the bottom that they are affected.  They've stopped returning results. I have to go through all the Dashboards I have to find ones not returning results?  

    1
  • Ulises Soto

    Hi Eugene Orman

    I am experiencing issues just like Larry. I am not able to see an "Updates required" section, but a lot of my reports are not working and give me error messages.

     

     

    0
  • Bryan Haeussler

    What a brutal update. Reporting is so time consuming to put together and the out-of-the-box doesn't cut it for anyone working at the Enterprise level.  Fields now intermittently give the 'incorrect formula' error, but sometimes load without issue. Explore performance is severely degraded for the last several days... I assume that is somehow related to the inconsistent way in which the system reports an 'outdated' calculation.

    Is there documentation on this stuff yet? I understand it is supposed to simplify but in some cases it is more confusing. For example, we apparently cannot use VALUE() anymore in calculated metrics?  But the relevant documentation still says we can? (https://support.zendesk.com/hc/en-us/articles/4408846897178-Choosing-metric-aggregators)

    There seems to be something off with the function validator as well? I have a super simple report. A single metric is returned and it filters on two standard fields. Reports a 'calculation issue' -- you drill down into the one metric. Green check-marks for the whole thing. What is wrong? Who knows.

    4
  • Jacqui Tildesley

    I'm having issues where I have written a function in line with the documentation, the validator says a function is fine, but when trying to load the report an error says it's incorrectly formatted.

    If the way formula functions work has been updated why has the documentation not been updated to reflect these changes? How are we supposed to troubleshoot the problem if both documentation and validator says it's correct?

    1
  • Ilia Kosenko

    Our use case is simple and straightforward - we need a trend line for the top 90% and top 93% (as well as the top 85% in some cases) 
    How can we accomplish this with this design? 

    As we must create several "fixed metrics" the "trend line" solution will not work for us.

    How can we configure multiple "fixed attributes" using ATTRIBUTE_FIX so that I could have several "trend lines" as we could do with the fixed attribute? 
    Is there an alternative, or should we stop using these reports? 

    I just want to point out that we have dozens of reports that are now broken, I assume that the figure of 0.003% of reports using these features is correct, but I would love to know how many customers are impacted - as I would suspect that some customers (such as us) will be severely impacted. 

    Update - I just noticed that all our "KPI" type reports are also broken as they relied on the "fixed metric" to define the upwards or downwards value of the KPI value - so in effect, we can't use several full pages from our dashboards. 

    0
  • Martin Cubitt

    We're using a fixed attribute to provide monthly values for comparing the number of new tickets against.

    The metric is like:

    if ([Ticket created - Year]=2023 and [Ticket created - Month]="January") then 500
    elif ([Ticket created - Year]=2023 and [Ticket created - Month]="February") then 550
    elif ([Ticket created - Year]=2023 and [Ticket created - Month]="March") then 540
    elif ([Ticket created - Year]=2023 and [Ticket created - Month]="April") then 540
    elif ([Ticket created - Year]=2023 and [Ticket created - Month]="May") then 555
    elif ([Ticket created - Year]=2023 and [Ticket created - Month]="June") then 560
    elif ([Ticket created - Year]=2023 and [Ticket created - Month]="July") then 558
    endif

    I really cannot understand how to change this to use the ATTRIBUTE_FIX function.

     

     

     

     

     

     

    0
  • Kai Schmitte

    I have a similar issue to Ilia Kosenko

    I need a constant KPI goal line in reports. 
    Something that usually shows up on the secondary axis. 

    All solutions only work on the primary axis...

    @Zendesk: maybe you check how functionalities are used before changing them? 

    1
  • Eugene Orman
    Zendesk Product Manager

    Hi everyone, 

    My apologies for the belated reply. Thank you for asking good questions. I will not be able to answer all of the questions in great detail because the majority of them are about the individual set-up of your reports and the solutions need to be validated on your account. So, if you will need further advice please reach out to our customer support team.


    Larry Click & Ulises Soto, we were flagging the affected reports and placing them into the Updates required folder for two months but this process stopped on July 10. As I mentioned in the announcement we were checking reports that were accessed/loaded during this period of time. If a report wasn't loaded during this time it will not appear in the Updates required section. Unfortunately, we only can identify the misconfigured reports when they are executed on the database side.

    Bryan Haeussler, you raised a few points.

    • The performance issues shouldn't be related to this update. 
    • VALUE aggregator can still be used with the database-level metrics and it is not allowed to be used with the calculated metrics, which was always the case as explained in the article you mentioned. See Troubleshooting errors in Explore formulas we have listed a few different ways to avoid the syntax error with the VALUE aggregator. 
    • The formula checker identifies the syntax errors and enforces the correct data types. In the majority of cases, this ensures the calculation will be successful, however, some cases can not be captured before the report is executed in the database.

    Jacqui, your question is answered in the last bullet point above. 

    Ilia Kosenko & Kai Schmitte, if you are referring to the constant metrics then the best approach is to use the result metric calculations. Here is an example. However, if you need to use it as a secondary axis or apply some other configuration that is not compatible with the result metric calculations then you can create a standard calculated metric and apply it with the MIN or MAX aggregator. Here is an example.

    Martin Cubitt, you can follow the same approach as in the last example above. Create a standard calculated metric with the same formula you mentioned and use the MIN or MAX aggregator in the report.

    0
  • Bryan Haeussler

    Thank you for taking the time to reply-- the troubleshooting page is helpful. I see your point on VALUE as well. I do think that information is something that belongs in the reference table, vs. buried in a sentence amidst examples, but that's my mistake. 

    0
  • Kai Schmitte

    Hi Eugene Orman,

    thanks for the answer. 

    Unfortunately not helpful - the example with the calculated metric doesn't work regardless of the aggregator: 

    0
  • Eugene Orman
    Zendesk Product Manager

    Kai Schmitte, in the screenshot you shared the metric type you have used, is still the Fixed metric. You need to use the Standard calculated metric instead: 

    0
  • Shivam Garg

    i was using the following sytax to get the date when the implementation status was closed , 

    although the format is being accepted but still i am not able to see any results in the dashboard.

     

    the new calculation reforms are preventing us from returning the date values.

     

    IF ([Changes - Field name]= "Implementation Status"
    AND [Changes - New value]= "imp_closed"
    AND DATE_LAST_FIX([Update - Timestamp],[Update ticket ID],[Changes - Field name],[Changes - New value])=[Update - Timestamp])
    THEN [Update - Date] 
    ENDIF

    0
  • Eugene Orman
    Zendesk Product Manager

    Shivam Garg, The formula's syntax looks good to me. Please contact our Customer support team so they can investigate this.

    0
  • Erin O'Callaghan
    Zendesk Documentation Team

    Bryan Haeussler This is a great point! I've added more information to the VALUE description in the Choosing metric aggregators article.

    1
  • Kai Schmitte

    Thanks Eugene Orman

    Realized that the screenshot was from my first test. 

    And that the last issues have been with the general setup of the report -> I needed to set up the full axis to be % and align with the CSAT % secondary axis. 
    After spending a lot of time on the configuration of this, everything works as expected. 

    This setup of a constant value to allow visualization of production data to a constant value (KPI Goal) should be more simple.

    0
  • Mark Nino Valencia

    Hello, I am trying to create a group but it seems that it is not working for our use case. I created a group based on Ticket. Why is this giving me an error? Created - hour

    1
  • Holly

    I'm also having the same issue as above (although not with groups)

    0

Please sign in to leave a comment.

Powered by Zendesk