Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
vipingarg23
Creator
Creator

Eqivalent of partition in Qlikview

Hi All,

I need Qlikview UI  equivalent of below sql code ::

MAX(Sum(Week))

        OVER(

            PARTITION BY

                "Item",

                "RU",

                "Week"

        )

I need to implement it in UI part not in script part. Is it possible?

16 Replies
Anil_Babu_Samineni

Try this?

Table:

Load Item, RU, Week from Table;

Left Join (Table)

Load Item, RU, Week, Sum(Week) as Week_All Resident Table Group By Item, RU, Week;

Left Join (Table)

Load Item, RU, Week, Week_All, Max(Week_All) as Max_Week_All Resident Table Group By Item, RU, Week;

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
vipingarg23
Creator
Creator
Author

Thanks Anil,

But I need to implement the same on UI part. For this I have to change the script.

Anil_Babu_Samineni

Is there any difficult to change in script, Because UI restrict some functionality like Max(Sum(Measure))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
vipingarg23
Creator
Creator
Author

Yes Anil, I can't change the code right now. No problem..Thanks for your help.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

What for? Straight table? Pivot table? Text box? The search object? The QlikView UI is composed exclusively of visualization objects, not queries. It would be good to know where you plan to use your analogue.

vipingarg23
Creator
Creator
Author

It is for Straight Table

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Fields Item, RU and Week are Dimensions in your Straight table?

antoniotiman
Master III
Master III

May be like this (QV 12)

Aggr(RowNo(),(Product,(Numeric,Asc)),(Date,(Numeric,Asc)))

vipingarg23
Creator
Creator
Author

Yes..All are dimensions in my straight table.