Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How does Expression work ?

Hi All,

As shown in the graph below is it possible for me to get the count(individual record) * 100 / sum (total record)  in the same graph?

1 Solution

Accepted Solutions
amit_saini
Master III
Master III

Sai,

As Chauhan suggested it should work.

Thanks,
As

View solution in original post

6 Replies
SunilChauhan
Champion II
Champion II

(count(distinct record) * 100) / sum (total record) 

Sunil Chauhan
amit_saini
Master III
Master III

Sai,

As Chauhan suggested it should work.

Thanks,
As

Not applicable
Author

Sum(dimension) does not return me any value when I use it in expression. I have only one dimension to it. To be more clear.. this is how the data looks.

Sales person          Sales

A                              2

B                              12

C                              11

..                                 ..

when I plot the graph against sales person Vs sales and I try to get the expression % sold with count ( A) * 100 / sum (A+B+C). I do not get any value. I do not get any value when I try to get only the Sum(Sales). Is it wrong with the data ?

amit_saini
Master III
Master III

Sai ,

Like this???

Thanks,

AS

Not applicable
Author

Thanks All. It was my mistake.

amit_saini
Master III
Master III

Good