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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How To Create Custom Bucketing

Hello,

I have this report that has too many buckets 1 to 30 buckets (see attached image). 

Is there a way to customize it in my chart? 

For example, bucket 1-5 as FirstVisit, bucket 5-10 as SecondVisit, bucket 10+ as RepeatVisit.

Each custom bucket can show either Total or % of Total.

BTW, the dimension is called RepeatBucket. 

Any help is appreciated!

3 Replies
Not applicable
Author

Hi,

maybe u can try "class" function to aggregate....

or u can use "aggr" function to create calculated dimension

C u,

Stefano

Not applicable
Author

Did you find the solution for your question.

nagaiank
Specialist III
Specialist III

You may try the following:

If(bucket <= 5,'FirstVisit', If(bucket <= 10,'SecondVisit','RepeatVisit')) as RepeatBucket