Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Aggr with something like above in dimension?

Hi,

i m trying to visualise fractiles from data like this:

IDScoreValue
110
210
310
410
510
621
720
820
920
1020
1131
1231
1330
1430
1530
1641
1741
1841
1940
2040
2151
2251
2351
2450
2550
2661
2761
2860
2961
3061

I want to get an graph like

or

It's easy to get something like

ScorecountAvg
150
250,2
350,4
450,6
550,6
650,8

but i ve no idea how to calculated the data to get something like

Scorecount2count2_2Avg2
1517%0,0
21033%0,1
31550%0,2
42067%0,3
52583%0,4
630100%0,4

and to use the count2 or count2_2 as a dimension.

Any ideas?

Thanks a lot,

Gert

6 Replies
Not applicable
Author

FOR COUNT2, WRITE EXPRESSION

rangesum(Above(sum(count),0,rowno()))

Not applicable
Author

Hi,

thanks for your answers, but:

the "problem" isn't the calcuation in a straigth table, the problem is to use the data in an graph like this:

(sorry, the graphs weren't shown)

21.05.jpg

so I need the values in an calculated dimension...

Gert

Gysbert_Wassenaar

See attached qvw


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks a lot 🙂

Not applicable
Author

Hi,

sorry, clicked to fast 😉

num(...) in the dimension doesn't calculate the "correct" (or better "wished";-)) value:

count2  is calculated and represents the x - value,

avg2 the y - value.

see example2.xlsx...

21.05.jpg

any ideas?

Greets

Gert

Not applicable
Author

Hi,

no one with another idea?

Gert