Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Filter rows in straight table / chart by aggregated value

Hi,

I am trying to filter out rows with a particular row-id, row-id itself is produced via aggr formula:

AGGR(nodistinct min({<[Comment number]  = {">1"}> } [comment-id] ),[Ticket number])

A bit about columns

[comment-id] - unique identifier of the row

,[Ticket number]) - object I am working with, it can be considered invoice number with [comment number] being items

[Comment number]  - sequence number of a comment within [Ticket number], each ticket has its comments numbered 1 to n, I have to exclude the first and find the lowest second value. I might not be 2 as rows might be filtered out by other filters.



1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I ended up using calculated Dimension + similar filters when calculating fractile / sums:

if

  (

  AGGR(nodistinct min({<[Comment number]  = {">1"}> } [comment-id] ),[Ticket number])=[comment-id]

   

View solution in original post

2 Replies
Anonymous
Not applicable
Author

PS. Hiding rows will not do it as average / count / fractile will be off.

Anonymous
Not applicable
Author

I ended up using calculated Dimension + similar filters when calculating fractile / sums:

if

  (

  AGGR(nodistinct min({<[Comment number]  = {">1"}> } [comment-id] ),[Ticket number])=[comment-id]