Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
corumba
Contributor
Contributor

Histogram/Bar chart - calculate conditions in dimension or expression

Hello,

I'm trying to create a histogram or bar chart from values in a table similar to that one:

1.JPG

Then what I need as answer for the histogram or bar chart is a table like the following table, in which shows the frequencies of the longest time of each ID.

2.JPG

3.JPG

I used an expression like that for the longest time as a value:

IF(TIME = max(aggr(nodistinct MAX({<some set analysis>} TIME),ID)),max(aggr(nodistinct MAX({<some set analysis>}  TIME),ID)) )

However I've some difficulties to recalculate that in a bar chart or histogram to insert the comparison of time to longest time.

Can anyone help with this case please?

0 Replies