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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can I use Qlikview to create Pricing Buckets based on Retail prices for products?

I would like to group products by retail price buckets. I would like to show the importance of product groups based on pricing strategy. Is there a way for Qlikview to apply a Price Bucket that I determine? Or must this be done in the dataset feeding to Qlikview?

Example

ItemRetail PricePrice Bucket
Product A$10 $10-19.99
Product B$12 $20-29.99
Product C$20 $20-29.99
Product D$35 $30-39.99
Product E$15 $10-19.99
Product F$25 $20-29.99

Pricing BucketProduct Offering CountSold (Units)
$10-19.992150
$20-29.993650
$30-39.99120
Grand Total6820
1 Solution

Accepted Solutions
maxgro
MVP
MVP

use class function


result

1.png

script

b:

load * inline [

Item, Retail Price, Price Bucket, Unit

Product A, $10, $10-19.99, 50

Product B, $12, $20-29.99, 50

Product C, $20, $20-29.99, 300

Product D, $35, $30-39.99, 20

Product E, $15, $10-19.99, 50

Product F, $25, $20-29.99, 350

];

View solution in original post

2 Replies
maxgro
MVP
MVP

use class function


result

1.png

script

b:

load * inline [

Item, Retail Price, Price Bucket, Unit

Product A, $10, $10-19.99, 50

Product B, $12, $20-29.99, 50

Product C, $20, $20-29.99, 300

Product D, $35, $30-39.99, 20

Product E, $15, $10-19.99, 50

Product F, $25, $20-29.99, 350

];

Not applicable
Author

Thank you Massimo. I found the Class Function to work perfectly.