Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Template In qlikview

Hello Everyone.

I want to know how to create template in qlikview like below.

14 Replies
Anil_Babu_Samineni

Every thing is possible?

=If(GetFieldSelections(Year) >0, FirstSortedValue(Category, Aggr(Sum(Sales), Category),1) & ' had sold ' & Avg(Sales) & ' more than last year', '')

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
Anonymous
Not applicable
Author

i want show different template for different selection. then what should i do

Anil_Babu_Samineni

Why not using this?

Different Temp1

=If(GetFieldSelections(Year) >0, FirstSortedValue(Category, Aggr(Sum(Sales), Category),2) & ' had sold ' & Sum(Sales) & ' more than last year', '')


Different Temp2

=If(GetFieldSelections(Year) >0, FirstSortedValue(Category, Aggr(Sum(Sales), Category),3) & ' had sold ' & Count(Sales) & ' more than last year', '')


Different Temp3

=If(GetFieldSelections(Year) >0, FirstSortedValue(Category, Aggr(Sum(Sales), Category),4) & ' had sold ' & Fractile(Sales, 0.09) & ' more than last year', '')


And so on...

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
Anonymous
Not applicable
Author

in a single object?

Anil_Babu_Samineni

I don't know where you are presenting. I am just replying for below one. That means, Obviously different objects only.

i want show different template for different selection. then what should i do

But, To present in single you just use Chr(10) to break into next line the same

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