Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Min value over the aggregation

Hi All, I am trying to calculate the min value of the DPML (one of field) is greater than the or equal to the FRACTILE(DPML,0.75) value for that RPT_DAY.

I attached the qvw with sample data. Here below is looking for:

MIN(IF(DPML>=FRACTILE(DPML,0.95),DPML,FRACTILE(DPML,0.75)))

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try maybe something like

=min(aggr( if(DPML >= round(Fractile(total<RPT_DATE> DPML,.75),.01),DPML),RPT_DATE,DPML))

View solution in original post

2 Replies
swuehl
MVP
MVP

Try maybe something like

=min(aggr( if(DPML >= round(Fractile(total<RPT_DATE> DPML,.75),.01),DPML),RPT_DATE,DPML))

Not applicable
Author

Thanks swuehl.