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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
igorgois_
Partner - Creator
Partner - Creator

Pareto with 2 expressions

I have the following model:

FACT:

LOAD * inline [

Employee,KPI,Value

1,A,0.2

1,B,0.3

1,C,0.15

2,A,0.5

2,B,0.1

2,C,0.1

2,D,0.3

3,A,0.8

3,D,0.1

4,B,0.3

4,C,0.3

];

Lets call "final kpi" as the sum of each kpi value. Its range is from 0 to 100% per each employee

I would like a pareto chart where:

X axis (the final kpi range): 0, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90% and 100%

Y axis: accumulated number of emploees that have the "final kpi" between these ranges

I tried multiples aggr and auxiliar dimensions, but without success.

Ps: I cant use the script to group the final kpi

Thanks in advance

1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Maybe use a calculated dimension like

=Aggr( Floor(Sum(Value),.1) , Employee)

and a single expression

=Count(DISTINCT Employee)

View solution in original post

2 Replies
swuehl
Champion III
Champion III

Maybe use a calculated dimension like

=Aggr( Floor(Sum(Value),.1) , Employee)

and a single expression

=Count(DISTINCT Employee)

igorgois_
Partner - Creator
Partner - Creator
Author

that worked llike a charm

you are a god and lifesaver!!

thank you very much!!