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

Need logic help for leading sales brand

I attached data I want to see only Region, State_Name, District, Taluka wise leading  sales Brand Name with sales Amount.

Expected result.

 

RegionState_NameDistrictTalukaBrandSales
EASTBIHARARARIAARARIADAL2,250.59
EASTBIHARARARIABAISIDAL110.00
EASTBIHARPURNIABAISIDAL188.00
1 Solution

Accepted Solutions
bhaskar_sm
Partner - Creator III
Partner - Creator III

Hi,

please find attached the solution Qvw. hope this help.

if you found this helpful please mark as helpful or correct.

Regards,

Bhasker

View solution in original post

7 Replies
vishweshwarisun
Partner - Creator
Partner - Creator

Hi,

can you please elaborate more on what exactly you want

rubenmarin

Hi Lalit, I'm not sure if you are looking for this expression:

Sum({<Brand={"=Rank(Sum(Sales))=1"}>} Sales)

vishweshwarisun
Partner - Creator
Partner - Creator

hiCapture.PNG

bhaskar_sm
Partner - Creator III
Partner - Creator III

Hi,

please find attached the solution Qvw. hope this help.

if you found this helpful please mark as helpful or correct.

Regards,

Bhasker

lalitkgehlot89
Creator II
Creator II
Author

Hi Vishweshwari,

Output was just example. I don't want to restrict the data only for DAL.

Brand Could be different also.

lalitkgehlot89
Creator II
Creator II
Author

Here I want to see only  Leading Sales brand name with sales in a single column in respect to region, State_Name, District & Taluka.

Taluka is the last level. 

In Taluka Multiple Brand sales. Only leading brand should be show with Sales Value in a single.

lalitkgehlot89
Creator II
Creator II
Author

Here I want to see only  Leading Sales brand name with sales in a single column in respect to region, State_Name, District & Taluka.

Taluka is the last level.

In Taluka Multiple Brand sales. Only leading brand should be show with Sales Value in a single Column.