Below is the pic of an Machine Activity Table, Start Time and End Time are stored here, based on this StartTime and EndTime, need to calculate the hourly avg count of another field.
Hi there,
I want to create a similar analytics that in the x shows bars per hour and in the y show average of an integer value exists in the same records,
I tried to put this expression in the X : format_date_tz(date_trunc_tz(@tbl_collect_multivac_data Current_time , âhourâ, âJerusalem/Asiaâ), âHHâ, âJerusalem/Asiaâ)
But didnât get any result, can anyone help me with the correct expression ?
just to help understand the root cause, what is the error message youâre seeing??
if you didnât get bars, it could be that there arenât any Records or Completions for the specified time. have you tried expanding Date Range to All Time (or a period of time that contains Completions/Records)??
just to help understand the root cause, what is the error message youâre seeing??
if you didnât get bars, it could be that there arenât any Records or Completions for the specified time. have you tried expanding Date Range to All Time (or a period of time that contains Completions/Records)??
yes, it should be displaying the HH if there is data in the range. as you can see here, your formula seems to be correct (this is a machine Analysis, but works for Completion data and Table):
Hi @gio ,
Thank you for your help, the problem was with the 3rd parameter of the function, time zone, I tried to write EST like in your formula and got the data, than I tried to write mine and nothing, I wrote it oposite, instead of Asia/Jerusalem I wrote Jerusalem/Asia, that was the only problem.
Bellow the bars there is the word âexpressionâ because the source of data came from an expression, how can I change this description to something that the users will understand ?
How can I center the title of analytics ? How can I translate the meaning of Y axis ?
great to hear you found the root cause!! here are some answers to your questions:
this canât be done if youâre using customized Time format, you could use Hour of Day instead of Expression if you donât need to format the display of Hour groupings.
this unfortunately cannot be done currently, feel free to share in Product suggestions - Tulip Community if youâd like. I will mention that if you embed the Analysis in an App, you can overlay text to display more detailed contextual information.
if you navigate to Y Axis, you can define the Label and Save the update: