Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
shahafei2
Creator
Creator

Fractile(aggr()) Statement in Script

Hi all,

 

Can I use Fractile(aggr()) function as part of the load script?

 

I would like to have the following

Fractile(aggr(sum(Qty),Date),0.9)

When the sales table is grouped by the Item

 

The purpose is to understand the sales per item in 90% of the days in the data 

 

1 Solution

Accepted Solutions
techvarun
Specialist II
Specialist II

You can use Group by and Fractile combination 

View solution in original post

4 Replies
techvarun
Specialist II
Specialist II

You can use Group by and Fractile combination 

shahafei2
Creator
Creator
Author

how?

sunny_talwar

Provide some sample data and the output you expect to see from it within the script

shahafei2
Creator
Creator
Author

Thank you I succeded to do it by using a grouped table and then resident table