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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
mohamed_ahid
Partner - Specialist
Partner - Specialist

getting the value of colunm related to 80% of counts

Hi

see in the attached  sample file , i have loaded an inline table  in which i'm trying to get the value of periode for what the (accumulated count of id agregated by type and month) / (count of id agregated by months and type ) =80% .

the results must be aggregated by months and type .

for exemple 

a  01/01/2015  period 27 because the count if id =5 and  the total count = 6

a 01/02/2015  period 5    because the count if id =6 and  the total count = 7

any idea ?

                                                                                                                                                                                                                                                                                                                                                                                          

a01/01/201516464cat1
a01/01/201520648cat20
a01/01/20152596864cat25
a01/01/2015264566cat26
a01/01/2015276896cat27
a01/01/201530469cat30
a01/02/2015478689cat4
a01/02/201525996cat25
a01/02/2015266894cat26
a01/02/20152786987cat27
a01/02/20154856896cat485
a01/02/201556745cat5
a01/02/2015993289cat9
a01/03/2015989cat9
a01/03/20156363cat63
a01/03/2015638896cat6
a01/03/20159896cat9
a01/03/201569398cat69
a01/03/2015698936cat69
b01/01/201516464cat17
b01/01/201520648cat2
b01/01/20152596864cat258
b01/01/2015264566cat261
b01/01/2015276896cat27
b01/01/201530469cat308
b01/02/2015478689cat46
b01/02/201525996cat20
b01/02/2015266894cat264
b01/02/20152786987cat276
b01/02/20154856896cat48
b01/02/201556745cat57
b01/02/2015993289cat96
b01/03/2015989cat95
b01/03/20156363cat635
b01/03/2015638896cat63
b01/03/20159896cat93
b01/03/201569398cat693
b01/03/2015698936cat693

                                                                                                                                                                                                                                                                                                                                                                                                    

TypeDateperiodIDcat_type
a01/01/201516464cat1
a01/01/201520648cat20
a01/01/20152596864cat25
a01/01/2015264566cat26
a01/01/2015276896cat27
a01/01/201530469cat30
a01/02/2015478689cat4
a01/02/201525996cat25
a01/02/2015266894cat26
a01/02/20152786987cat27
a01/02/20154856896cat485
a01/02/201556745cat5
a01/02/2015993289cat9
a01/03/2015989cat9
a01/03/20156363cat63
a01/03/2015638896cat6
a01/03/20159896cat9
a01/03/201569398cat69
a01/03/2015698936cat69
b01/01/201516464cat17
b01/01/201520648cat2
b01/01/20152596864cat258
b01/01/2015264566cat261
b01/01/2015276896cat27
b01/01/201530469cat308
b01/02/2015478689cat46
b01/02/201525996cat20
b01/02/2015266894cat264
b01/02/20152786987cat276
b01/02/20154856896cat48
b01/02/201556745cat57
b01/02/2015993289cat96
b01/03/2015989cat95
b01/03/20156363cat635
b01/03/2015638896cat63
b01/03/20159896cat93
b01/03/201569398cat693
b01/03/2015698936cat693
0 Replies