1.How can I add hour to a date hierarchy?
You should create custom columns for Year, Month, Day, Hour and then drag and drop them into a hierarchy.
From your data example, it seems the column “time” is a text or number field. To have a date hierarchy, first you can covert it to a date type column.
I test with the following formula which can convert a column from text to date type.
date = DATE(LEFT([time],4),MID([time],5,2),RIGHT([time],2))
hour = HOUR([date])
As the original field doesn’t contain any time, so the output above shows the same time.
Then add these two calculated columns to Axis field.
2.How can we get the percentage. Calculated for each drill down category like year day source job name?
To better answer this question, please let me know what’s the rule for calculating the percentage column.
This is to say which columns you would like to use and what’s meaning this calculated column will indicate.
Additionally, I am confused by what you said.
“I want to plot the trends of success and failure in a line chart with percent age as the axis”
“How can we get the percentage. Calculated for each drill down category like year day source job name”
These two statements seem to be conflict.
As I can make out, we need add percentage column to Values Field and add category like year day source job name columns to Axis Field in the line chart, so that the percentage can be drilling down by those categories.
Best Regards
Maggie