Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
israrkhan
Specialist II
Specialist II

Creating Buckets (on size and selling price)

Hi Guys,

i have to create bucket for product sold, and product size,

i have a product table, product table is linked to Model Table, and Model table linked to Transaction table. in the transaction table i have my quantity and selling price.

i have defined the buckets range in the below excel file. the product column in the below excel is linked to my Product column in product table. i dont have product column in the transaction table, so how to do it.

kindly help me, how to achieve this, in the load script or front end.. idea please..

i would appreciate your help.

Bucket Table:

Prodcut:IndicatorMinimumMaximumLabel
TVSIZE02626" ↓
TVSIZE263232"
TVSIZE323837"
TVSIZE384340" - 42"
TVSIZE435246" - 50"
TVSIZE525855"
TVSIZE5899960"↑
MobilePrice075ULC (<$75)
MobilePrice75150Low ($75-$150)
MobilePrice150300Mid ($150-$300)
MobilePrice300500High($300-$500)
MobilePrice500600Super High($500-$600)
MobilePrice6009999Ultra High($600 and above)
TabletsPrice0100ULC (<$100)
TabletsPrice100200Low ($100-$200)
TabletsPrice200300Mid ($200-$300)
TabletsPrice300400High($300-$400)
TabletsPrice400500Super High($400-$500)
TabletsPrice5009999Ultra High($500 and above)
20 Replies
israrkhan
Specialist II
Specialist II
Author

yes it is...

because yesterday when i created,  it was being moderated, and moderator took 14 hours to approve the post. so at that time i tried to create another,

now i tried to delete the topic, but it says "unauthorized" even it is created by me..

so the qlik community in not working as it must me...

israrkhan
Specialist II
Specialist II
Author

Dear Jonathan,

if you could help me on the topic,

will appreciate it..

i will try to remove the duplicate post..sure..

but dont know, some time why they hold the post for the moderator, even with simple text...

Many Thanks

jonathandienst
Partner - Champion III
Partner - Champion III

No problem

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
kavita25
Partner - Specialist
Partner - Specialist

what is the calculation of %??

israrkhan
Specialist II
Specialist II
Author

if size is dimension, size is in Model Table..size bucket is in Bucket table..

% is sum(Price)/ sum(total price)..

jonathandienst
Partner - Champion III
Partner - Champion III

I see one data problem after looking at your Excel file. You have two bucket ranges for price - 1 for Mobile and another for Tablets. But there is no indication any of the other tabs of the Prodcut B (Product sp?) values, so I don't know which bucket range to use.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
israrkhan
Specialist II
Specialist II
Author

Dear Jonathan.

thank you..

please you can add new column into excel, as new indicator.

i have access to database, i will create same column in my database here...

jonathandienst
Partner - Champion III
Partner - Champion III

Post an updated Excel file when you are done.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Digvijay_Singh

Hi,

I am not seeing Product against some models used in transaction, tried to verify in excel as well. Can you revert why it is so?

Please see attached QVW, I was just trying to understand data better. Also Product Code and Product having different format, which one you wanted to use for analysis.

israrkhan
Specialist II
Specialist II
Author

if you look in to first sheet(Bucket) you can see Product B column, which will be linked to Product Column in Product sheet(second sheet).

please ignore the product column (first column) in Bucket Sheet..

Many Thanks