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: 
Anil_Babu_Samineni

Percent Problem

Hello,

PFA of my image. Here i want to see percentage. If syntax looking like bad then use the Variable, Please

My Expression is

LET Variable = Avg({$<[2014 rep] = , [2014 name] -= {'Key Message Delivery','Sales Objective Category'}>} [2014 Score]);

Avg({$<[2014 rep] = , [2014 name] -= {'Key Message Delivery','Sales Objective Category'}>} [2014 Score])

/

(Avg(total {$<[2014 rep] = , [2014 name] -= {'Key Message Delivery','Sales Objective Category'}>} [2014 Score])/100)*100

- Anil

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
1 Solution

Accepted Solutions
Anil_Babu_Samineni
Author

Hello,

I got the solution. Can you please let me know how to use that variable into expression.

Might be you all will help me about second task.

LET 2014_Variable = Avg({$<[2014 rep] = , [2014 name] -= {'Key Message Delivery','Sales Objective Category'}>} [2014 Score]);

I am expecting something like below.

$(2014_Variable)

/

(Avg(total {$<[2014 rep] = , [2014 name] -= {'Key Message Delivery','Sales Objective Category'}>} [2014 Score])/100)*100

- Anil

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

View solution in original post

6 Replies
Not applicable

Hi Anil could you please share your data ?

Anonymous
Not applicable

Hi Anil,

Are <50, 50-70, >70 values of your dimension.

Share sample data.

Anil_Babu_Samineni
Author

PFA

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

try this one

chart properties ->expression tab->click the check box relative

Anil_Babu_Samineni
Author

Hari,

The problem is expression, if we check that it will showing different.

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
Anil_Babu_Samineni
Author

Hello,

I got the solution. Can you please let me know how to use that variable into expression.

Might be you all will help me about second task.

LET 2014_Variable = Avg({$<[2014 rep] = , [2014 name] -= {'Key Message Delivery','Sales Objective Category'}>} [2014 Score]);

I am expecting something like below.

$(2014_Variable)

/

(Avg(total {$<[2014 rep] = , [2014 name] -= {'Key Message Delivery','Sales Objective Category'}>} [2014 Score])/100)*100

- Anil

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