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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Sxbbb
Creator III
Creator III

I want all values ​​to be displayed in the table by CodePart

Sxbbb_0-1678864208133.png

I want Max=15 value of CodePart='A3030#1' from every cell in the table.

and Other CodePart also display the Max value. every line in the table

like this

Sxbbb_0-1678864821126.pngSxbbb_1-1678864837185.png

I'm currently trying this code :

Aggr(Max( (Aggr( Sum( Aggr(if(CycleTime_Sec > 0 ,CycleTime_Sec,'0'),Number,WSGroup)/((sum(INPUT) + Sum([INTERNAL])) - sum(Aggr(DISTINCT xWorkOrder, CodePart,Part,Number)) + Sum([TEST])),CodePart,Part))),CodePart)

 

1 Solution

Accepted Solutions
MayilVahanan

Hi

Might be, try like this

Max(Total<CodePart> (Aggr( Sum( Aggr(if(CycleTime_Sec > 0 ,CycleTime_Sec,'0'),Number,WSGroup)/((sum(INPUT) + Sum([INTERNAL])) - sum(Aggr(DISTINCT xWorkOrder, CodePart,Part,Number)) + Sum([TEST])),CodePart,Part)))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

2 Replies
MayilVahanan

Hi

Might be, try like this

Max(Total<CodePart> (Aggr( Sum( Aggr(if(CycleTime_Sec > 0 ,CycleTime_Sec,'0'),Number,WSGroup)/((sum(INPUT) + Sum([INTERNAL])) - sum(Aggr(DISTINCT xWorkOrder, CodePart,Part,Number)) + Sum([TEST])),CodePart,Part)))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Sxbbb
Creator III
Creator III
Author

Thank you very much, I can do what I want.